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
Bob Picco wrote:
+ /*
+* anon recent_rotated_anon
+* %anon = 100 * - / --- * IO cost
+* anon+file recent_scanned_anon
+*/
+ anon_l = (anon_prio + 1) * (zone->recent_scanned_anon + 1);
+
Rik van Riel wrote: [Mon Mar 19 2007, 07:52:34PM EST]
> 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
Lee Schermerhorn wrote:
On Mon, 2007-03-19 at 20:52 -0400, Rik van Riel wrote:
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 addition
On Mon, 2007-03-19 at 20:52 -0400, Rik van Riel wrote:
> 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 g
Nick Piggin wrote:
Rik van Riel wrote:
We apply pressure to each of sets of the pageout queues based on:
- the size of each queue
- the fraction of recently referenced pages in each queue,
not counting used-once file pages
- swappiness (file IO is more efficient than swap IO)
This ignore
Rik van Riel wrote:
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
Rik van Riel wrote:
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.
Please take this patch for a spin and let me know what goes well
and what goes wrong
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
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
23 matches
Mail list logo