This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author florin.papa
Recipients brett.cannon, florin.papa, pitrou
Date 2016-02-03.09:36:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454492168.34.0.115069633072.issue26274@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2016-02-03 09:36:08florin.papasetrecipients: + florin.papa, brett.cannon, pitrou
2016-02-03 09:36:08florin.papasetmessageid: <1454492168.34.0.115069633072.issue26274@psf.upfronthosting.co.za>
2016-02-03 09:36:08florin.papalinkissue26274 messages
2016-02-03 09:36:08florin.papacreate