From owner-freebsd-questions Fri Apr 30 12:38: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 7FF0E154FC for ; Fri, 30 Apr 1999 12:37:58 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id MAA10169; Fri, 30 Apr 1999 12:37:44 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 30 Apr 1999 12:37:43 -0700 (PDT) From: Doug White To: Zytec Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Tuning OS In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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