lkml.org 
[lkml]   [1999]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.2.0-pre[56] swap performance poor with > 1 thrashing task
On Fri, 8 Jan 1999, Linus Torvalds wrote:

> As a no-op, it can now randomly and unprectably result in even worthwhile
> buffers just being thrown out - possibly quite soon after they've been
> loaded in. I happen to believe that it doesn't actually matter (and I'm

I think it doesn't matter because the buffer_under_min() check just
protect the buffer cache enough. In arca-vm-22 I removed the specific
buffer and cache min limitis so I applyed Zlatko patch ;).

Basically arca-vm-22 take the sum of the buffermem+page_cache_size always
close to a percentage tunable via sysctl (10% as default) when _low_ on
memory. So the buffer aging now make sense to me (not benchmarked though
;).

Somebody in the list asked for an algorithm that doens't work with magic
but it's tunable. Having a constant cache+buffermem memory size under
swapping seems to work very well and even if it doesn't work with magic I
like it right now.

Andrea Arcangeli


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

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.170 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site