Rik van Riel writes:
> 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
Matt Mackall wrote:
On Tue, Mar 20, 2007 at 06:08:10PM -0400, Rik van Riel wrote:
- "Active: %8lu kB\n"
- "Inactive: %8lu kB\n"
...
+ "Active(anon): %8lu kB\n"
+ "Inactive(anon): %8lu kB\n"
+ "Active(file): %8l
Chuck Ebbert wrote:
I think you're going to have to use refault rates. AIX 3.5 had
to add that. Something like:
if refault_rate(anonymous/mmap) > refault_rate(pagecache)
drop a pagecache page
else
drop either
How about the opposite?
If the page cache refault rate is way higher than the
Rik van Riel wrote:
> Nikita Danilov wrote:
>
>> Probably I am missing something, but I don't see how that can help. For
>> example, suppose (for simplicity) that we have swappiness of 100%, and
>> that fraction of referenced anon pages gets slightly less than of file
>> pages. get_scan_ratio() in
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 ca
Rik van Riel writes:
> Rik van Riel wrote:
> > Nikita Danilov wrote:
> >
> >> Probably I am missing something, but I don't see how that can help. For
> >> example, suppose (for simplicity) that we have swappiness of 100%, and
> >> that fraction of referenced anon pages gets slightly less tha
Rik van Riel wrote:
Nikita Danilov wrote:
Probably I am missing something, but I don't see how that can help. For
example, suppose (for simplicity) that we have swappiness of 100%, and
that fraction of referenced anon pages gets slightly less than of file
pages. get_scan_ratio() increases anon_
Nikita Danilov wrote:
Probably I am missing something, but I don't see how that can help. For
example, suppose (for simplicity) that we have swappiness of 100%, and
that fraction of referenced anon pages gets slightly less than of file
pages. get_scan_ratio() increases anon_percent, and shrink_z
Rik van Riel writes:
> Nikita Danilov wrote:
> > Rik van Riel writes:
> > > [ OK, I suck. I edited yesterday's email with the new info, but forgot
> > >to change the attachment to today's patch. Here is today's patch. ]
> > >
> > > Split the anonymous and file backed pages out onto
Nikita Danilov wrote:
Rik van Riel writes:
> [ OK, I suck. I edited yesterday's email with the new info, but forgot
>to change the attachment to today's patch. Here is today's patch. ]
>
> Split the anonymous and file backed pages out onto their own pageout
> queues. This we do not
Rik van Riel writes:
> [ OK, I suck. I edited yesterday's email with the new info, but forgot
>to change the attachment to today's patch. Here is today's patch. ]
>
> Split the anonymous and file backed pages out onto their own pageout
> queues. This we do not unnecessarily churn throu
On Tue, Mar 20, 2007 at 06:08:10PM -0400, Rik van Riel wrote:
> - "Active: %8lu kB\n"
> - "Inactive: %8lu kB\n"
...
> + "Active(anon): %8lu kB\n"
> + "Inactive(anon): %8lu kB\n"
> + "Active(file): %8lu kB\n"
> + "
[ OK, I suck. I edited yesterday's email with the new info, but forgot
to change the attachment to today's patch. Here is today's patch. ]
Split the anonymous and file backed pages out onto their own pageout
queues. This we do not unnecessarily churn through lots of anonymous
pages when we d
Split the anonymous and file backed pages out onto their own pageout
queues. This we do not unnecessarily churn through lots of anonymous
pages when we do not want to swap them out anyway.
This should (with additional tuning) be a great step forward in
scalability, allowing Linux to run well on
14 matches
Mail list logo