Re: [PATCH 6/9] clockpro-clockpro.patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Thu, 5 Jan 2006 08:32:19 -0500 (EST),
Rik van Riel wrote:
> 
> On Thu, 5 Jan 2006, IWAMOTO Toshihiro wrote:

> > In my understanding of CLOCK-Pro, such lapping causes sudden increase
> > in the distance between Hhot and Hcold.  As that distance is an
> > important parameter of page aging/replacement decisions, I'm afraid
> > that such lapping would result in incorrect page aging and bad
> > performance.
> 
> Hcold only manipulates cold pages, Hhot only manipulates hot
> pages and the test bit on cold pages.  Having one hand overtake
> the other should not disturb things at all, since they both do
> something different.

I don't think so.  Hhot turns unreferenced hot pages into cold ones,
and those are freed if they aren't referenced before Hcold passes.
So, the distance between those hands is a sort of "expiry timer" of
such pages.
The distance also affects aging of newly inserted pages.

--
IWAMOTO Toshihiro
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux