Subject: vm.filemax and cached file pages
To: None <netbsd-help@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 07/02/2005 23:09:00
vmstat -s says:
10312 cached file pages
which is 40MB for me and top(1) also says "40M File".
I have 128 MB.
I set vm.filemax almost two hours ago:
vm.filemax = 1
I have 45MB or more of swap being used.
Why isn't that 40MB cached file going down? I want to use real physical
memory better!
I also have:
vm.anonmin = 10
vm.execmin = 5
vm.filemin = 0
vm.maxslp = 20
vm.uspace = 16384
vm.anonmax = 80
vm.execmax = 19
vm.filemax = 1
vm.bufcache = 15
vm.bufmem = 10001408
vm.bufmem_lowater = 2503680
vm.bufmem_hiwater = 20029440
(This is NetBSD/i386 2.0.2.)
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/