-
Notifications
You must be signed in to change notification settings - Fork 33
Add a new concurrent hashmap benchmark to AI benchmark suite in DCPerf. #147
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
Open
Kaiweitu
wants to merge
1
commit into
facebookresearch:v2-beta
Choose a base branch
from
Kaiweitu:export-D77214563-to-v2-beta
base: v2-beta
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add a new concurrent hashmap benchmark to AI benchmark suite in DCPerf. #147
Kaiweitu
wants to merge
1
commit into
facebookresearch:v2-beta
from
Kaiweitu:export-D77214563-to-v2-beta
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This pull request was exported from Phabricator. Differential Revision: D77214563 |
Kaiweitu
pushed a commit
to Kaiweitu/DCPerf
that referenced
this pull request
Jun 24, 2025
…f. (facebookresearch#147) Summary: This update introduces a new benchmark type, CHM, to the AI benchmark suite. The CHM benchmark simulates the usage pattern of a concurrent hash map in machine learning workloads, where certain key-value pairs are hashed in an in-memory key-value store for retrieval. #### HOW TO RUN THE NEW BENCHMARK To install and run the rebatch benchmark, use the following commands: ``` ./benchpress_cli.py -b ai install chm_a // Install the chm workload representing workload A ./benchpress_cli.py -b ai install chm_b // Install the chm workload representing workload B ./benchpress_cli.py -b ai run chm_a // Run the chm workload representing workload A ./benchpress_cli.py -b ai run chm_b // Run the chm workload representing workload B ``` #### FILES ADDED AND MODIFIED ``` - benchpress - configs - benchmarks_ai.yml // Added the new chm benchmark. - jobs_ai.yml // Added two new chm benchmark jobs. - plugins - parsers.py - chm.py // Added a new parser for the chm benchmark. - __init__.py // Registered the new parser. - packages - chm - install_chm.sh // Added a new installation script for chm benchmark. - cleanup_chm.sh // Added a new cleanup script for chm benchmark. - ChmBenchmark.cpp // Added a benchmark simuates the concurrent hash map workload. - CMakeLists.txt // CMake file to compile the benchmark. - ConcurrentHashMap.h // A sharded concurrent hash map implementation - model_a.dist // Key distribution file for workload A. - model_b.dist // Key distribution file for workload B. - BUCK // Updated to include the new benchmark components. ... ``` Differential Revision: D77214563
ea9ae5d
to
82c9cde
Compare
This pull request was exported from Phabricator. Differential Revision: D77214563 |
Kaiweitu
pushed a commit
to Kaiweitu/DCPerf
that referenced
this pull request
Jun 24, 2025
…f. (facebookresearch#147) Summary: Pull Request resolved: facebookresearch#147 This update introduces a new benchmark type, CHM, to the AI benchmark suite. The CHM benchmark simulates the usage pattern of a concurrent hash map in machine learning workloads, where certain key-value pairs are hashed in an in-memory key-value store for retrieval. #### HOW TO RUN THE NEW BENCHMARK To install and run the rebatch benchmark, use the following commands: ``` ./benchpress_cli.py -b ai install chm_a // Install the chm workload representing workload A ./benchpress_cli.py -b ai install chm_b // Install the chm workload representing workload B ./benchpress_cli.py -b ai run chm_a // Run the chm workload representing workload A ./benchpress_cli.py -b ai run chm_b // Run the chm workload representing workload B ``` #### FILES ADDED AND MODIFIED ``` - benchpress - configs - benchmarks_ai.yml // Added the new chm benchmark. - jobs_ai.yml // Added two new chm benchmark jobs. - plugins - parsers.py - chm.py // Added a new parser for the chm benchmark. - __init__.py // Registered the new parser. - packages - chm - install_chm.sh // Added a new installation script for chm benchmark. - cleanup_chm.sh // Added a new cleanup script for chm benchmark. - ChmBenchmark.cpp // Added a benchmark simuates the concurrent hash map workload. - CMakeLists.txt // CMake file to compile the benchmark. - ConcurrentHashMap.h // A sharded concurrent hash map implementation - model_a.dist // Key distribution file for workload A. - model_b.dist // Key distribution file for workload B. - BUCK // Updated to include the new benchmark components. ... ``` Differential Revision: D77214563
82c9cde
to
a43c311
Compare
Kaiweitu
pushed a commit
to Kaiweitu/DCPerf
that referenced
this pull request
Jun 25, 2025
…f. (facebookresearch#147) Summary: This update introduces a new benchmark type, CHM, to the AI benchmark suite. The CHM benchmark simulates the usage pattern of a concurrent hash map in machine learning workloads, where certain key-value pairs are hashed in an in-memory key-value store for retrieval. #### HOW TO RUN THE NEW BENCHMARK To install and run the rebatch benchmark, use the following commands: ``` ./benchpress_cli.py -b ai install chm_a // Install the chm workload representing workload A ./benchpress_cli.py -b ai install chm_b // Install the chm workload representing workload B ./benchpress_cli.py -b ai run chm_a // Run the chm workload representing workload A ./benchpress_cli.py -b ai run chm_b // Run the chm workload representing workload B ``` #### FILES ADDED AND MODIFIED ``` - benchpress - configs - benchmarks_ai.yml // Added the new chm benchmark. - jobs_ai.yml // Added two new chm benchmark jobs. - plugins - parsers.py - chm.py // Added a new parser for the chm benchmark. - __init__.py // Registered the new parser. - packages - chm - install_chm.sh // Added a new installation script for chm benchmark. - cleanup_chm.sh // Added a new cleanup script for chm benchmark. - ChmBenchmark.cpp // Added a benchmark simuates the concurrent hash map workload. - CMakeLists.txt // CMake file to compile the benchmark. - ConcurrentHashMap.h // A sharded concurrent hash map implementation - model_a.dist // Key distribution file for workload A. - model_b.dist // Key distribution file for workload B. - BUCK // Updated to include the new benchmark components. ... ``` Differential Revision: D77214563
a43c311
to
7f830dc
Compare
…f. (facebookresearch#147) Summary: Pull Request resolved: facebookresearch#147 This update introduces a new benchmark type, CHM, to the AI benchmark suite. The CHM benchmark simulates the usage pattern of a concurrent hash map in machine learning workloads, where certain key-value pairs are hashed in an in-memory key-value store for retrieval. #### HOW TO RUN THE NEW BENCHMARK To install and run the rebatch benchmark, use the following commands: ``` ./benchpress_cli.py -b ai install chm_a // Install the chm workload representing workload A ./benchpress_cli.py -b ai install chm_b // Install the chm workload representing workload B ./benchpress_cli.py -b ai run chm_a // Run the chm workload representing workload A ./benchpress_cli.py -b ai run chm_b // Run the chm workload representing workload B ``` #### FILES ADDED AND MODIFIED ``` - benchpress - configs - benchmarks_ai.yml // Added the new chm benchmark. - jobs_ai.yml // Added two new chm benchmark jobs. - plugins - parsers.py - chm.py // Added a new parser for the chm benchmark. - __init__.py // Registered the new parser. - packages - chm - install_chm.sh // Added a new installation script for chm benchmark. - cleanup_chm.sh // Added a new cleanup script for chm benchmark. - ChmBenchmark.cpp // Added a benchmark simuates the concurrent hash map workload. - CMakeLists.txt // CMake file to compile the benchmark. - ConcurrentHashMap.h // A sharded concurrent hash map implementation - model_a.dist // Key distribution file for workload A. - model_b.dist // Key distribution file for workload B. - BUCK // Updated to include the new benchmark components. ... ``` Differential Revision: D77214563
This pull request was exported from Phabricator. Differential Revision: D77214563 |
7f830dc
to
3042723
Compare
facebook-github-bot
pushed a commit
that referenced
this pull request
Jun 25, 2025
…f. (#147) Summary: Pull Request resolved: #147 This update introduces a new benchmark type, CHM, to the AI benchmark suite. The CHM benchmark simulates the usage pattern of a concurrent hash map in the critical machine learning workloads, where certain key-value pairs are cached in an in-memory key-value concurrent hashmap for retrieval. #### HOW TO RUN THE NEW BENCHMARK To install and run the rebatch benchmark, use the following commands: ``` ./benchpress_cli.py -b ai install chm_a // Install the chm workload representing workload A ./benchpress_cli.py -b ai install chm_b // Install the chm workload representing workload B ./benchpress_cli.py -b ai run chm_a // Run the chm workload representing workload A ./benchpress_cli.py -b ai run chm_b // Run the chm workload representing workload B ``` #### FILES ADDED AND MODIFIED ``` - benchpress - configs - benchmarks_ai.yml // Added the new chm benchmark. - jobs_ai.yml // Added two new chm benchmark jobs. - plugins - parsers.py - chm.py // Added a new parser for the chm benchmark. - __init__.py // Registered the new parser. - packages - chm - install_chm.sh // Added a new installation script for chm benchmark. - cleanup_chm.sh // Added a new cleanup script for chm benchmark. - ChmBenchmark.cpp // Added a benchmark simuates the concurrent hash map workload. - CMakeLists.txt // CMake file to compile the benchmark. - ConcurrentHashMap.h // A sharded concurrent hash map implementation - model_a.dist // Key distribution file for workload A. - model_b.dist // Key distribution file for workload B. - BUCK // Updated to include the new benchmark components. ... ``` Reviewed By: excelle08 Differential Revision: D77214563 fbshipit-source-id: 569b9b623bd3450920e99b004094bab00fd8d57d
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
fb-exported
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
This update introduces a new benchmark type, CHM, to the AI benchmark suite. The CHM benchmark simulates the usage pattern of a concurrent hash map in machine learning workloads, where certain key-value pairs are hashed in an in-memory key-value store for retrieval.
HOW TO RUN THE NEW BENCHMARK
To install and run the rebatch benchmark, use the following commands:
FILES ADDED AND MODIFIED
Differential Revision: D77214563