[Python-Dev] Fixing the GIL (with a BFS scheduler) (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Mon May 17 14:14:55 CEST 2010
- Previous message: [Python-Dev] Fixing the GIL (with a BFS scheduler)
- Next message: [Python-Dev] Fixing the GIL (with a BFS scheduler)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 16 May 2010 15:13:44 PDT Bill Janssen <janssen at parc.com> wrote:
So the patch to the threading code would presumably, for those OSs where the capability exists, try to put all created threads in the same affinity set.
This is not really a good idea. There's some code which releases the GIL, precisely so that you can run several threads (computations) at once.
If you aren't too concerned with interactivity, you can increase sys.setcheckinterval() to alleviate the problem on 2.x.
Regards
Antoine.
- Previous message: [Python-Dev] Fixing the GIL (with a BFS scheduler)
- Next message: [Python-Dev] Fixing the GIL (with a BFS scheduler)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]