Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 1999 12:37:43 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Zytec <white@ns.elumaja.ee>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Tuning OS
Message-ID:  <Pine.BSF.4.03.9904301236290.16807-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.LNX.3.96.990430114806.17450A-100000@ns.elumaja.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Apr 1999, Zytec wrote:

> I've been looking for "top" program output for some time and got a
> question
> regarding disk cache size. 
> 
> Here's an example:
> Mem: 17M Active, 87M Inact, 15M Wired, 4644K Cache, 8351K Buf, 676K Free
> Swap: 128M Total, 1380K Used, 127M Free, 1% Inuse
> 
> As I understand, "Buf" variable shows the disk cache and it is
> ~8MB in size. This server has SMB running and serves a ~7GB partition from
> which ~1GB of data is in active use by SMB server/clients.
> The server has 128MB of memory total from which 87M is in inactive state
> as
> shown in "top" output. 

> So the question is: how could I increase disk cache size and will it
> increase SMB server performance also? Does anyone have such experience
> to improve disk system performance by tuning disk cache size? I think,
> this is not a Samba server question, but FreeBSD system itself.

You don't since it won't help, and may actually hurt.  8MB of buffer cache
is quite a bit. The system will tune this number for you.  There are other
Samba options you can tune to help things.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9904301236290.16807-100000>