lkml.org 
[lkml]   [1998]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.1.97 mm and cache
On Mon, 20 Apr 1998, Rik van Riel wrote:

>It's there. You can even tune it through /proc/sys/vm/*

root@dragon:/proc/sys/vm# free
total used free shared buffers cached
Mem: 31132 30200 932 7024 980 21208
-/+ buffers/cache: 8012 23120
Swap: 52412 16556 35856
root@dragon:/proc/sys/vm# cat pagecache
1 1 1
root@dragon:/proc/sys/vm# cat freepages
2000 5000 10000

Am I interpreting the docs right? (using 1 2 3 for pagecache don' t make
differences) It should be the the normal beaviour?

I was running bonnie + diff -urN while Netscape and emacs was
semi-sleeping and the system was stalling often.

>The change we'll probably need is changing the swap policy
>to SC_ROUNDROBIN from SC_whatwehavenow.
>(see the 1.2.xx source code for references :)

I really don' t think the problems is the swap code. I think the problem
is the cache allocating code. Only it. Then the swapping code try to free
memory swapping all out. As ever I never got into mm details so I can be
wrong.

Andrea[s] Arcangeli


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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