Subject: Limiting memory usage of bufcache?
To: NetBSD Users <>
From: Jukka Marin <>
List: netbsd-users
Date: 08/22/2001 08:47:44

I would like to limit the amount of RAM used by disk buffer/cache.  I'm
running a 1.5W kernel and after copying a few gigs of data (creating a
backup, for example), all programs have been paged out and moving focus
to another xterm causes massive disk I/O (paging) and the machine is
useless for several seconds (in some cases).  I know my Barracuda disk
isn't the fastest any more, but even if I upgraded it, the problem would
still remain.

So, how do I tell the system to use 64 MB or 128 MB _max_ for disk cache
and leave the rest of the RAM alone?