Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds initial cugraph-service client scaling benchmark, refactorings, performance config updates #3087

Conversation

rlratzel
Copy link
Contributor

@rlratzel rlratzel commented Dec 16, 2022

closes #3109

  • Adds additional benchmarks for sampling performance as the number of concurrent cutraph-service client's increases
  • Refactors and adds various benchmarks utilities
  • Updates various dask configurations for improved performance

…est to use specific set of input param combinations.
…fo(), added tests to verify new meta-data is correct.
… with the server, added tests which use/test the new builtin test extensions.
…s (via rapids-pytest-benchmark plugin) easier to read, changes to allow RemoteGraph to use either a server-side Graph or PropertyGraph.
…r LocalCUDACluster for MG service, re-wrote start list generation to work with both SG and MG, added server extension for generating start list, changed scale from 24 to 23 to prevent OOM, added separate function for creating MG graphs, added debug print to show result sizes, fixes to cugraph MG Graph for incorrect column names, added util to cugraph for starting and stopping dask client.
… can be more easily shared, bug fix in benchmark extension testing util.
…arkers to pytest.ini, added pythonpath and test paths to pytest.ini, gave benchmark files unique names so pytest can collect them across different bench dirs.
…ception handler for loading extensions, run server from a temp dir to avoid collisions with 'cugraph' namespace package in benchmarks dir.
…efactored utils to include function to conditionally start server if one is not running, added new markers for number of clients.
…event warmup from hiding time waiting for server, dask-realted perf improvements (from VibhuJawa)
@rlratzel rlratzel marked this pull request as ready for review December 30, 2022 20:32
@rlratzel rlratzel requested a review from a team as a code owner December 30, 2022 20:32
Copy link
Member

@alexbarghi-nv alexbarghi-nv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok, just a couple comments.

…e those may fail in CI environments (need a separate PR to fix), changes the technique to get the start vertex list to get n random samples from the src vertex list.
python/cugraph/cugraph/testing/mg_utils.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/testing/mg_utils.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/testing/mg_utils.py Outdated Show resolved Hide resolved
python/cugraph/cugraph/testing/mg_utils.py Outdated Show resolved Hide resolved
Copy link
Member

@alexbarghi-nv alexbarghi-nv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@VibhuJawa VibhuJawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexbarghi-nv
Copy link
Member

/merge

@BradReesWork
Copy link
Member

rerun tests

1 similar comment
@BradReesWork
Copy link
Member

rerun tests

@VibhuJawa
Copy link
Member

Current Failures are from following:

pytest --capture=no --verbose -m "managedmem_on and poolallocator_on and tiny" --benchmark-disable cugraph/pytest-based/bench_algos.py
FAILED: 1 or more tests in cugraph benchmarks
FAILED: 1 or more tests in cugraph-pyg
ci/test_python.sh: line 81:  1199 Segmentation fault      (core dumped) pytest --ignore=tests/mg --cache-clear --junitxml="${RAPIDS_TESTS_DIR}/junit-cugraph.xml" --cov-config=../../.coveragerc --cov=cugraph --cov-report=xml:"${RAPIDS_COVERAGE_DIR}/cugraph-coverage.xml" --cov-report=term tests
FAILED: 1 or more tests in cugraph

@BradReesWork
Copy link
Member

rerun tests

@rapids-bot rapids-bot bot merged commit c98da66 into rapidsai:branch-23.02 Jan 12, 2023
@rlratzel rlratzel deleted the branch-23.02-cgs_client_scaling_benchmarks branch September 28, 2023 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add cugraph-service client scaling benchmarks
6 participants