Author larry
Recipients DazWorrall, Dima.Tisnek, Michele, Omer.Katz, aconrad, alex, andrix, arigo, brian.curtin, carljm, coderanger, cool-RR, corona10, dabeaz, donaldjeo, durin42, eric.araujo, eric.smith, flox, gregory.p.smith, hozn, jab, jcea, jhylton, jmehnle, karld, kevinwatters, konryd, larry, loewis, mahmoudimus, movement, ncoghlan, neologix, nirai, phsilva, pitrou, portante, rcohen, rh0dium, scoder, tarek, thouis, victorpoluceno, vstinner, ysj.ray
Date 2020-10-02.17:46:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601660775.01.0.132258506437.issue7946@roundup.psfhosted.org>
In-reply-to
Content
FWIW: I think David's cited behavior proves that the GIL is de facto a scheduler.  And, in case you missed it, scheduling is a hard problem, and not a solved problem.  There are increasingly complicated schedulers with new approaches and heuristics.  They're getting better and better... as well as more and more complex.  BFS is an example of that trend from ten years ago.  But the Linux kernel has been shy about merging it, not sure why (technical deficiency? licensing problem? personality conflict? the name?).

I think Python's current thread scheduling approach is almost certainly too simple.  My suspicion is that we should have a much more elaborate scheduler--which hopefully would fix most (but not all!) of these sorts of pathological performance regressions.  But that's going to be a big patch, and it's going to need a champion, and that champion would have to be more educated about it than I am, so I don't think it's gonna be me.
History
Date User Action Args
2020-10-02 17:46:15larrysetrecipients: + larry, loewis, jhylton, arigo, gregory.p.smith, jcea, ncoghlan, pitrou, scoder, vstinner, movement, eric.smith, kevinwatters, tarek, karld, carljm, coderanger, phsilva, durin42, eric.araujo, nirai, alex, andrix, konryd, jab, brian.curtin, hozn, victorpoluceno, flox, DazWorrall, cool-RR, rh0dium, rcohen, dabeaz, mahmoudimus, portante, aconrad, ysj.ray, neologix, thouis, donaldjeo, Michele, jmehnle, Dima.Tisnek, Omer.Katz, corona10
2020-10-02 17:46:15larrysetmessageid: <1601660775.01.0.132258506437.issue7946@roundup.psfhosted.org>
2020-10-02 17:46:15larrylinkissue7946 messages
2020-10-02 17:46:14larrycreate