RE: [squid-users] cache_swap_low and high waternmark

From: Jigar Rasalawala <[email protected]>
Date: Thu, 1 May 2003 14:55:12 -0700

Hi, Henrik

Thanks for your reply.

I ran Squid2.5.STABLE2 on the same configuration. I found same
problem. Here I used 4GB to full disk very repidly to reproduce
problem esaily. Actually implementation as 30GB ( avg. seek 9 ms) segate
drive.

If I want to support 50-70 Mbps, how much RAM and disk space should I use ?
roughly. Is there any documentation available on that ? Can u suggest me
a link ?

Thank you so much.
Jigar

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Thursday, May 01, 2003 2:38 PM
To: Jigar Rasalawala; squid-users@squid-cache.org
Subject: Re: [squid-users] cache_swap_low and high waternmark

On Thursday 01 May 2003 23.23, Jigar Rasalawala wrote:

> 1. What Squid version are you using?
>
> Squid.2.4.STABLE4

Then you probably should upgrade..

  a) Squid-2.4.STABLE4 is known to have very many bugs, including
several critical security issues. See
http://www.squid-cache.org/Versions/v2/2.4/bugs/ and
http://www.squid-cache.org/Versions/v2/2.5/bugs/ (many of the
Squid-2.5 bugs is also relevant for Squid-2.4, see each bug report
for details)

  b) Squid-2.4 is no longer maintained by the Suqid developers. The
current maintained Squid release for production use is Squid-2.5.

> 3. What type of cache_dir?
>
> cache_dir ufs /var/cache/squid 4294 16 256

Then the performance of your Squid will be somewhat limited. Do not
expect more than 30 requests/s or ca 1Mpbs with such configuration.

> 6. How much traffic is your Squid trying to handle?
>
> 8Mbps ( 1MBytes/s ).

This won't work with the above configuration as Squid will be waiting
for the harddrive most of the time, and performance will quickly
spiral down as too much requests get queued up.

You need to use the aufs cache_dir type, and at least two cache drives
(preferably three to give some room for expansion).

And you should be using 2.5.STABLE2 or later.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, [email protected]
Received on Thu May 01 2003 - 15:55:49 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:09 MST