Date: Tue, 6 Apr 1993 19:12:37 -0500
From: Daniel D Deavours <ddd42961@uxa.cso.uiuc.edu>
To: bobm@anasazi.com
Subject: Re: Kernel Buffer Size Configuration
>I looked all around but noticed that Linux doesn't have a /etc/conf
>type area that can set how much memory is allocated to the buffers.
As you've probably gotten lots of mail by now, linux handles buffers
dynamically. Unused memory gets used as buffers, but they get reallocated
as needed. It's a very eligant way of doing things, I think. If you need
lots of RAM, you free up some buffer space. If you need little ram, you
get lots of buffer space.
>last question... Could data in the swap file screw up life on a reboot?
Nope.
Dan Deavours
zeos@uiuc.edu
Date: Tue, 6 Apr 1993 16:02:16 -0700
From: edmonds@cs.ubc.ca
Subject: Re: Kernel Buffer Size Configuration
You wrote:
. I looked all around but noticed that Linux doesn't have a /etc/conf
. type area that can set how much memory is allocated to the buffers.
.
. I'm running a 486 33 (DLC ) and notice that free tells me it's using
. 3000+ in the buffer count and even when I first login I only have about
. a meg available. Is there a way to change this in the kernel. ( I'm
. on ver 99.6 or so ).
Linux uses a dynamic buffer cache, so it will use as much free RAM as
it can get ahold of (up to about 6M) for cache. If you run out of free
RAM, then it will start taking it away from the buffer cache to give to
programs. Eventually when the buffer cache gets small enough, it will
then start swapping.
========================================================================
Brian Edmonds (MSc CompSci) edmonds@cs.ubc.ca
======================== snip =============================