lkml.org 
[lkml]   [2000]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [RFC] Implementing temporal affinity
Date
> > B only ran for 15 cycles, and therefore it ISN'T the time-affinity
> process.
>
> But it is. It's run long enough to load the CPU cache with it's own
> instructions and data. Since you are trying to preserve the CPU cache,
> you want it to run again instead of something else. Right?

We would only set last_cpu IF the process has run for N cycles, where N is
enough to fill the CPU cache. If 15 cycles loads the cache, then N=15. So in
that case, B's last_cpu would be set, and it would be tied to that
processor. The actual value is tunable, and depends largely on the size of
the L2 cache.

chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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