lkml.org 
[lkml]   [2007]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] split file and anonymous page queues #3
Nikita Danilov wrote:

> Generally speaking, multi-queue replacement mechanisms were tried in the
> past, and they all suffer from the common drawback: once scanning rate
> is different for different queues, so is the notion of "hotness",
> measured by scanner. As a result multi-queue scanner fails to capture
> working set properly.

You realize that the current "single" queue in the 2.6 kernel
has this problem in a much worse way: when swappiness is low
and the kernel does not want to reclaim mapped pages, it will
randomly rotate those pages around the list.

In addition, the referenced bit on unmapped page cache pages
was ignored completely, making it impossible for the VM to
separate the page cache working set from transient pages due
to streaming IO.

I agree that we should put some more negative feedback in
place if it turns out we need it. I have refault code ready
that can be plugged into this patch, but I don't want to add
the overhead of such code if it turns out we do not actually
need it.

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

\
 
 \ /
  Last update: 2007-03-21 17:11    [W:0.451 / U:0.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site