Blender profiling-1 O16.2int
A message that is not in the archive (sent off-list or not yet received): [email protected]
From: Con Kolivas <[email protected]>
To: Voluspa <[email protected]>
Subject: [RFC] Re: Blender profiling-1 O16.2int
Date: Sun, 17 Aug 2003 23:36:42 +1000
Cc: linux kernel mailing list <[email protected]>,
Mike Galbraith <[email protected]>, Andrew Morton <[email protected]>, William Lee Irwin III <[email protected]>
... I do have some ideas about how to progress with this (some Mike has suggested to me previously), but so far most of them involve some detriment to the interactive performance on other apps. So I'm appealing to others for ideas.
Comments?
Con
I suggest you put a small limit on the number of times that a task can be requeued onto the active array before it needs to go to the expired array. -max
Quoted 8 lines · Max Hailperin
... I do have some ideas about how to progress with this (some Mike has suggested to me previously), but so far most of them involve some detriment to the interactive performance on other apps. So I'm appealing to others for ideas.
I suggest you put a small limit on the number of times that a task can be requeued onto the active array before it needs to go to the expired array. -max
Thanks; I appreciate your comments. That's what's currently in place at the moment, and the lower the number of requeues the less it starves... Unfortunately, this also means that the shorter it takes a real interactive task to expire as well. This is the theme I'm currently working on though, as the starver gets rescheduled ahead of anything else and I've developed a way of letting other tasks sneak in ahead if it starts doing that. It needs more tuning but seems to work so far.
Cheers,
Con
From: Con Kolivas <[email protected]>
Quoted 4 lines
... I do have some ideas about how to progress with this (some Mike has suggested to me previously), but so far most of them involve some detriment to the interactive performance on other apps. So I'm appealing to others for ideas.
Quoted 3 lines · Max Hailperin
I suggest you put a small limit on the number of times that a task can be requeued onto the active array before it needs to go to the expired array. -max
Well, first off this undoes the effect of code already in place (the interactivity heuristics), and second it's defeated by high arrival rates spread across many tasks. The second is fatal but there isn't much that can be done about it in the current design, and I don't have enough subtlety to see how to fiddle with the bits necessary to recover anything out of the first. AFAICT no fixed limit will ever do; any given limit will be too many for some tasks and not enough for others, and there's no way to guess based on the task (if what said it was interactive was enough in the first place, you wouldn't have to resort to this), so you've been hanged just for trying.
-- wli