Chm: Add auto-scaled benchmark and set num_threads to 64 #252
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.
1, Add auto-scaled benchmark for chm.
By default, the thread count for the CHM benchmark is set to 80, which does not scale with the number of threads per socket across different platforms. This patch introduces an auto-scaled benchmark configuration that sets the thread count dynamically based on the number of logical threads available on a single socket, enabling fair performance comparison across different platforms at the single-socket level.
2, Set num_threads to 64.
Different server has different cpus on single socket, some are less than 80, one of our server has 72 cpus. Also there are some threads are used for management and control purposes. To enable performance comparison under the same core count, set num_threads to 64.