Messages in this thread | | | Date | Wed, 14 Apr 1999 14:05:43 +0200 (CEST) | From | Rik van Riel <> | Subject | Re: CPU affinity |
| |
On Wed, 14 Apr 1999, Ingo Molnar wrote: > On Wed, 14 Apr 1999, Rik van Riel wrote:
> > } else if (p->processor != this_cpu) > > weight = -1; > > <-- > > return weight; > > the problem you are trying to solve is IMO elsewhere. The above change > makes a difference only if all runnable processes have a zero-counter, > ie. counter recalculation is due. The simple solution is to simply > repeat the goodness() run after recalculation ... I did this some > time ago and it showed no measureable effect.
OK. If you have measured the effect and not found it worthwhile then I guess it isn't worthwhile. Period.
(ObCynicalBystander: this is not a sarcastic remark, it's just that Ingo usually _is_ right.)
Rik -- Open Source: you deserve to be in control of your data. +-------------------------------------------------------------------+ | Le Reseau netwerksystemen BV: http://www.reseau.nl/ | | Linux Memory Management site: http://humbolt.geo.uu.nl/Linux-MM/ | | Nederlandse Linux documentatie: http://www.nl.linux.org/ | +-------------------------------------------------------------------+
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |