Re: [squid-users] Adding a disk ?

From: aiggno <aiggno@dont-contact.us>
Date: Fri, 27 Feb 2004 14:47:08 +0700

Hi Henrik,

May I ask you some more about using disk in squid ?

Now, with about 160 req/s and my cache_dir is 15 GB. With addition disk (36
GB), do I just add a maximum partition to the squid (the whole disk) ? With
so much webpages that generated automatically nowadays (I mean the content
of the webpages change rapidly), do I need to have a large cache_dir ? With
my new 36 GB disk, what is the best capacity of the new cache_dir ?

Many thanks for your help.
Best regards,
Aiggno

----- Original Message -----
From: "Henrik Nordstrom" <hno@squid-cache.org>
To: "aiggno" <aiggno@s.vnn.vn>
Cc: <squid-users@squid-cache.org>
Sent: Friday, February 27, 2004 2:00 PM
Subject: Re: [squid-users] Adding a disk ?

> On Fri, 27 Feb 2004, aiggno wrote:
>
> > Hi all,
> >
> > My squid with 1 disk is running at 10.000 req/min (167req/s). The peak
> > request of the system with 1 disk (seek time is about 6-12 ms) is
1000/6-12,
> > around 83 - 167 req/s. Does it true ?
>
> Sounds very high for a single drive. Usually the peak is seen somewhere
> around 30-50 req/s depending on the speed of the drive.
>
> Please note that there is a considerably higher stress on the drives when
> the cache is full than when running with a mostly empty cache.
>
> > Now, i want to add 1 more disk to increase the peak request. What I have
to
> > do are:
> > - Plug the new disk, create the partition
> > - Adding one more line cache_dir ... in squid.conf file
> > - Run squid -z command
>
> Yes.
>
> > Is it affect to the current files in the old cache_dir ?
>
> Adding a new cache_dir does not affect the already cached files in other
> cache_dir.
>
> Regards
> Henrik
>
>
>
Received on Fri Feb 27 2004 - 00:47:12 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:03 MST