Message99477
We could try not to release the GIL when socket methods are called on a non-blocking socket.
Regardless, I've re-run the tests under the Linux machine, with two spinning threads:
* python 2.7:
25.580 seconds (409914.612 bytes/sec)
* python 3.2:
32.216 seconds (325485.029 bytes/sec)
(and as someone mentioned, the "priority requests" mechanism which was in the original new GIL patch might improve things. It's not an ideal time for me to test, right now :-)) |
|
Date |
User |
Action |
Args |
2010-02-17 18:41:17 | pitrou | set | recipients:
+ pitrou, loewis, eric.smith, tarek, karld, carljm, coderanger, alex, flox, DazWorrall, rh0dium, dabeaz, mahmoudimus |
2010-02-17 18:41:16 | pitrou | set | messageid: <1266432076.52.0.109375726675.issue7946@psf.upfronthosting.co.za> |
2010-02-17 18:41:13 | pitrou | link | issue7946 messages |
2010-02-17 18:41:13 | pitrou | create | |
|