"Mark Anthony J. Mercado" wrote:
> IMHO, your disk cache size should be based on your main memory. We use
> 128MB of main memory for each GB of disk cache.
128 mb is too much mark. if you try to look at cachemgr.cgi memory utilization and try
to compute with an average of
13kb object size. for every 1 gb of disk cache, you will consume more or less at
around 12 mb of ram. for a safe
figure and ideal ratio, for every 1 gb of disk cache, 16mb of ram you will be going to
allocate it for squid only. but
of course another extra ram for your system's disk buffering and for other processes.
> for perfomance reasons, it's also good to separate this among multiple
> disks and partitions. No basis for this but we use 500MB for each cache.
basis for this is to increase request per second throughput across multiple disk.
> > 20 GB space for my squid cache... paano ko to
> > hahatiin, pwede ba na cache1 2GB cache2 2GB up cache10
> > 2GB.
> >
if you have only one disk, dont partition it. *but* dont allocate the whole disk for
disk cache, leave extra disk
space for filesystem fragmentation activity.
fooler.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]