[Python-Dev] Reworking the GIL (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Wed Oct 28 12:36:27 CET 2009


Kristján Valur Jónsson <kristjan ccpgames.com> writes:

In my experience (from stackless python) using priority wakeup for IO can result in very erratic scheduling when there is much IO going on, every IO trumping another.

I whipped up a trivial multithreaded HTTP server using socketserver.ThreadingMixin and wsgiref, and used apachebench against it with a reasonable concurrency level (10 requests at once). Enabling/disabling priority requests doesn't seem to make a difference.

Regards

Antoine.



More information about the Python-Dev mailing list