Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ability to Dynamically Set CPU Affinities for Benchmarking
• Added an affinity script that can dynamically set CPU affinities according to the platform and machine HW ○ This script is well-documented. It lists basic usage info, sample commands, common and platform specific dependencies, ○ If some machine doesn't have the affinity tool, this script gracefully handles it. We just output a warning and then continue without using affinity. • Added another script that acts like a wrapper between playlist.xml and affinity script and redirects output of affinity script to /dev/null. ○ It uses 2 physical CPUs with SMT as default, which might be the most common perf testing use case. Hence, we can avoid passing those in the playlist.xml file for every test. In case, we do want to run some test with different HW config, then we can specify them only for that test. Also, if you want to run all tests with different affinity than the default, you can easily change this file for one-off testing. • Used affinity command for just one benchmark to begin with • Added a check to avoid downloading the Renaissance benchmark binary if it already exists Issues: #1587 adoptium/TKG#34 Signed-off-by: Piyush Gupta <piyush286@gmail.com>
- Loading branch information