O17int
Quoted 4 lines · On 2003-08-19 15:01:28 Con Kolivas wrote:
Food for the starving masses.
This patch prevents any single task from being able to starve the runqueue that it's on.
This is completely tru in my two test scenarios. Winex 3.1 running "Baldurs Gate I" is as smooth as -O10 or -A3 and it is impossible to trigger a permanent starvation. Switching to a text console and back, I only hear brief, ca 1.5 seconds, "sound repeats" after which the game recovers totally. Clicking the "Software standard BLT[on/off]", that even triggered a short priority inversion in A3, has no impact at all. Playability, for those who wonder, is an impressive 9 out of 10 ;-)
Blender 2.28 can not starve xmms one iota. Within blender itself, I can cause 1 to 5 second freezes while doing a slow "world rotate", but that is something the application programmers have to fix.
I see no throughput regression, and overall "feel" of the system is great. A real keeper, this one.
Mvh
Mats Johannesson
Quoted 3 lines · Voluspa
Blender 2.28 can not starve xmms one iota. Within blender itself, I can cause 1 to 5 second freezes while doing a slow "world rotate", but that is something the application programmers have to fix.
I'm not so sure that it's an application bug. With Nick's patch, I cannot trigger any delay what so ever, whereas with stock, or with Ingo's changes [as well as my own, damn the bad luck] I can. I'm not saying it's _not_ a bug mind you, but color me suspicious ;-)
-Mike
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 9 lines · Mike Galbraith
Quoted 3 lines · Voluspa
Blender 2.28 can not starve xmms one iota. Within blender itself, I can cause 1 to 5 second freezes while doing a slow "world rotate", but that is something the application programmers have to fix.
I'm not so sure that it's an application bug. With Nick's patch, I cannot trigger any delay what so ever, whereas with stock, or with Ingo's changes [as well as my own, damn the bad luck] I can. I'm not saying it's _not_ a bug mind you, but color me suspicious ;-)
/me giggles like a 12 year old girl (teehee)
Try an earlier version of blender and you'll see it goes away. Other ones to try are opening a gpg signed mail (like this mail) in kmail. The slower the sleep avg decay in any tree the longer the spin. Nick's changes I believe cover up the flaw. I'm not discounting Nick's work, but I do believe the apps are broken and it's only the current scheduler design that makes it visible. I would also like to make it impossible for priority inversion to happen but at the moment I've just got to make sure they dont starve anything but their dependent cpu hog. Still looking for some useful task dependency tracking.
Con
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/Q1nQZUg7+tp6mRURAgmIAJ0f6jGLZFjjguhYv+MGEz5S1DuMCwCeO+Id ii0V4YOXlL9bB7wJ6rn8QEo=
=PygI
-----END PGP SIGNATURE-----