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 pitrou
Recipients DazWorrall, alex, carljm, coderanger, dabeaz, eric.smith, flox, karld, loewis, mahmoudimus, pitrou, rh0dium, tarek
Date 2010-02-17.18:41:13
SpamBayes Score 2.3551058e-07
Marked as misclassified No
Message-id <1266432076.52.0.109375726675.issue7946@psf.upfronthosting.co.za>
In-reply-to
Content
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 :-))
History
Date User Action Args
2010-02-17 18:41:17pitrousetrecipients: + pitrou, loewis, eric.smith, tarek, karld, carljm, coderanger, alex, flox, DazWorrall, rh0dium, dabeaz, mahmoudimus
2010-02-17 18:41:16pitrousetmessageid: <1266432076.52.0.109375726675.issue7946@psf.upfronthosting.co.za>
2010-02-17 18:41:13pitroulinkissue7946 messages
2010-02-17 18:41:13pitroucreate