Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jun 2005 01:43:53 +0400
From:      "Eugene L. Vorokov" <vorokov@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   disk cache tuning
Message-ID:  <50d6c40d0506171443763ff58f@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello.

I have a box with FreeBSD 5.4, where disk subsystem is a bottleneck.
It runs several applications which access huge number of files, usually sma=
ll.
They do not require a lot of memory, network I/O is also not very intensive=
.

I have read tuning(7), enabled softupdates, noatime and such. But I have an
impression that most of the memory (1Gb) is not really used, while it could=
 be
used for disk cache. top(1) reports about 800Mb as inactive, and
reading 200-300Mb
of information from disk still causes a lot of disk activity.

How can I increase the amount of memory used for disk cache without touchin=
g
other subsystems ? As far as I understand, simply increasing MAXUSERS is no=
t
a good idea, because it will also increase NMBCLUSTERS and such, which I do
not really want.

Please Cc: me as I'm not on this list.

Regards,
Eugene



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50d6c40d0506171443763ff58f>