Re: [PATCH 01/16] mm: delayed page activation

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

 



Wu Fengguang writes:
 > On Sun, Dec 04, 2005 at 06:03:15PM +0300, Nikita Danilov wrote:
 > >  > inter-reference distance, and therefore should be better protected(if ignore
 > >  > possible read-ahead effects). If we move re-accessed pages immediately into
 > >  > active_list, we are pushing them closer to danger of eviction.
 > > 
 > > Huh? Pages in the active list are closer to the eviction? If it is
 > > really so, then CLOCK-pro hijacks the meaning of active list in a very
 > > unintuitive way. In the current MM active list is supposed to contain
 > > hot pages that will be evicted last.
 > 
 > The page is going to active list anyway. So its remaining lifetime in inactive
 > list is killed by the early move.

But this change increased lifetimes of _all_ pages, so this is
irrelevant. Consequently, it has a chance of increasing scanning
activity, because there will be more referenced pages at the cold tail
of the inactive list.

And --again-- this erases information about relative order of
references, and this is important. In the past, several VM modifications
(like split inactive_clean and inactive_dirty lists) were tried that had
various advantages over current scanner, but maintained weaker LRU, and
they all were found to degrade horribly under certain easy triggerable
conditions.

 > 
 > Thanks,
 > Wu

Nikita.
-
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