Re: 2.1.97 mm and cache

Michael Remski (mremski@ix.netcom.com)
Mon, 20 Apr 1998 20:54:53 +0000


Andrea:
In a more general sense, I noticed that 2.0.33 would very rarely
actually swap out to disk, while 2.1.xx goes out to disk a lot sooner.
In linux/Documentation/sys/vm.txt there is some info about using sysctl
to control the behavior in the memory stuff. I have been playing around
with them a bit and you might want to try yourself. Take a look at the
entries in vm.txt for buffermem and pagecache in particular. They both
have min, borrow and max fields to represent memory usage.
Unfortunately, it's not clear if "max" is the percentage of total memory
or memory left.

At any rate, if you set the max percentage on both lower, they should
use less memory for cacheing overall; I don't know what would be
optimum for different amounts of memory/type of load on the system.

Maybe someone on the mm team (Rik?) could give some tips?

mike

-- 
Having Microsoft give us advice on open standards is like W.C. Fields 
giving moral advice to the Mormon Tabernacle Choir
                       Scott McNealy, Sun Microsystems Inc.

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