Message259464
Hi all,
This is Florin Papa from the Dynamic Scripting Languages Optimizations Team from Intel Corporation.
The patch submitted adds an affinity feature to the Grand Unified Python Benchmarks suite to allow running benchmarks on a given CPU/set of CPUs. It is implemented for Linux and uses the taskset command to bond a command to the CPUs specified. This minimizes run to run variation, as we can get considerable differences in measured performance from running a benchmark on different cores. The taskset command receives a CPU mask that specifies which cores in the system will be used for the command.
Example:
python perf.py –-affinity=0x1
will use processor #0
python perf.py –-affinity=0x3
will use processors #0 and #1
Thank you,
Florin |
|
Date |
User |
Action |
Args |
2016-02-03 09:36:08 | florin.papa | set | recipients:
+ florin.papa, brett.cannon, pitrou |
2016-02-03 09:36:08 | florin.papa | set | messageid: <1454492168.34.0.115069633072.issue26274@psf.upfronthosting.co.za> |
2016-02-03 09:36:08 | florin.papa | link | issue26274 messages |
2016-02-03 09:36:08 | florin.papa | create | |
|