Skip to content

Commit

Permalink
Ability to Dynamically Set CPU Affinities for Benchmarking
Browse files Browse the repository at this point in the history
	• 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
piyush286 committed Jul 25, 2020
1 parent 6056e15 commit 3db1e34
Show file tree
Hide file tree
Showing 4 changed files with 1,588 additions and 12 deletions.
Loading

0 comments on commit 3db1e34

Please sign in to comment.