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 kristjan.jonsson
Recipients beazley, dabeaz, flox, kristjan.jonsson, loewis, pitrou, techtonik, torsten
Date 2010-04-11.12:21:16
SpamBayes Score 0.0046777306
Marked as misclassified No
Message-id <1270988478.36.0.584274975502.issue8299@psf.upfronthosting.co.za>
In-reply-to
Content
Fyi, here is the output using the unmodified Windows GIL, i.e. without my patch being active:
C:\pydev\python\trunk\PCbuild>python.exe ..\Tools\ccbench\ccbench.py -t -y
== CPython 2.7a4+.0 (trunk) ==
== AMD64 Windows on 'Intel64 Family 6 Model 23 Stepping 6, GenuineIntel' ==

--- Throughput ---

Pi calculation (Python)

threads= 1:   623 iterations/s. balance
threads= 2:   489 ( 78%)        0.0289
threads= 3:   461 ( 74%)        0.0369
threads= 4:   460 ( 73%)        0.0426

regular expression (C)

threads= 1:   515 iterations/s. balance
threads= 2:   548 (106%)        0.0771
threads= 3:   532 (103%)        0.0556
threads= 4:   523 (101%)        0.1132

SHA1 hashing (C)

threads= 1:  1188 iterations/s. balance
threads= 2:  1212 (102%)        0.0232
threads= 3:  1198 (100%)        0.0250
threads= 4:  1215 (102%)        0.0163

You see results virtually identical to the ROUNDROBIN_GIL implementation.  This is just do demonstrate that Windows has had the ROUNDROBIN_GIL behaviour all along.
History
Date User Action Args
2010-04-11 12:21:18kristjan.jonssonsetrecipients: + kristjan.jonsson, loewis, beazley, pitrou, techtonik, flox, dabeaz, torsten
2010-04-11 12:21:18kristjan.jonssonsetmessageid: <1270988478.36.0.584274975502.issue8299@psf.upfronthosting.co.za>
2010-04-11 12:21:16kristjan.jonssonlinkissue8299 messages
2010-04-11 12:21:16kristjan.jonssoncreate