lkml.org 
[lkml]   [1999]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.078 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site