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, jhylton, karld, loewis, mahmoudimus, pitrou, rh0dium, tarek
Date 2010-02-22.23:35:35
SpamBayes Score 0.006316503
Marked as misclassified No
Message-id <1266881739.51.0.986867509762.issue7946@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-02-22 23:35:39pitrousetrecipients: + pitrou, loewis, jhylton, eric.smith, tarek, karld, carljm, coderanger, alex, flox, DazWorrall, rh0dium, dabeaz, mahmoudimus
2010-02-22 23:35:39pitrousetmessageid: <1266881739.51.0.986867509762.issue7946@psf.upfronthosting.co.za>
2010-02-22 23:35:36pitroulinkissue7946 messages
2010-02-22 23:35:35pitroucreate