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 neologix
Recipients amaury.forgeotdarc, benjamin.peterson, neologix, pitrou, rosslagerwall
Date 2011-07-30.08:37:39
SpamBayes Score 5.7109486e-05
Marked as misclassified No
Message-id <CAH_1eM0TMVODcCB71F1Waq69iCz7id=BY1RKEsSHWtN0tdj+Mg@mail.gmail.com>
In-reply-to <1311982226.99.0.0202064195754.issue12655@psf.upfronthosting.co.za>
Content
> I actually implemented this because I wanted to confine a Python process to a cpu to prevent keep it from being tossed from core to core. It made sense to bring the other scheduling functions along for the ride.

Why didn't you use something like:

$ taskset <cpu mask> python myscript.py

By the way, binding a multi-threaded Python process to a single core
is often a simple way to improve performance, because with the GIL the
threads are actually serialized, so you have almost no contention, and
your threads get hot cache.
History
Date User Action Args
2011-07-30 08:37:40neologixsetrecipients: + neologix, amaury.forgeotdarc, pitrou, benjamin.peterson, rosslagerwall
2011-07-30 08:37:40neologixlinkissue12655 messages
2011-07-30 08:37:39neologixcreate