[issue7946] Convoy effect with I/O bound threads and New GIL

Antoine Pitrou report at bugs.python.org
Tue Feb 23 00:35:39 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

Here is another patch based on a slightly different approach. Instead of being explicitly triggered in I/O methods, priority requests are decided based on the computed "interactiveness" of a thread. Interactiveness itself is a simple saturated counter (incremented when the GIL is dropped without request, decremented when the GIL is dropped after a request).

Benchmark numbers are basically the same as with gilprio2.patch.

----------
Added file: http://bugs.python.org/file16328/gilinter.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7946>
_______________________________________


More information about the Python-bugs-list mailing list