YNT: [SQU] squid memory needs

From: Ilker Gokhan <IlkerG@dont-contact.us>
Date: Fri, 13 Oct 2000 17:12:56 +0300

Another calculating way:
According to squid docs:
....A cache 1.000.000 objects needs require 72 MB memory for metadata only.

According to my squid statistic:
Linux box: 128 MB, squid is using %60 of memory. squid have 460000 store
entries on 1549230 MB cache disk. So if i have 20GB cache disk, i could have
approximately 2,600,000 store entry. So:

Mem_For_Only_Meta_data = (total_store_entry * 72MB) / 1.000.000 object
                             = 2.100.000*72/1.000.000
                             ~ 185MB

i assume, squid is using 185MB memory and 185MB is equal to %60 of all
memory (especially on the top using internet by the users) so the system
have to have at least approximately 300MB memory for 20GB cache disk.

What do you say this calculation?

Ilker G.

> Kimden: Joe Cooper [mailto:joe@swelltech.com]
> Tarih: Friday, October 13, 2000 8:40 AM
> Kime: Greg
> Bilgi: squid-users@ircache.net
> Konu: Re: [SQU] squid memory needs
>
>
> > Greg wrote:
> >
> > Hello,
> >
> > I aren't quite sure how to work out how much memory to put in with
> > squid. the makers of squid say for every 8 gig you need 48
> meg of ram
> > we have 55 gig so we worked out we needed 330 of ram we would put in
> > 384, is that enough for real work performance, lets say we
> put in 512
> > meg of ram would that help squid perform even better or
> wouldn't squid
> > use up all the ram?
>
> Squid in its current form will eat pretty much every bit of
> RAM you give
> it. 55GB of cache_dir is pretty big and will require quite a bit of
> memory, depending on the way you compile your Squid (async
> i/o and diskd
> require more memory).
>
> We usually use 384MB for 14-24GB of storage, and 512MB for 24-32GB and
> this seems to work well. So for 55GB, more is better.
> --
> Joe Cooper <joe@swelltech.com>
> Affordable Web Caching Proxy Appliances
> http://www.swelltech.com
>

Bu e-postada bulunan tüm fikir ve görüşler ve ekindeki dosyalar sadece adres
sahib(ler)ine ait olup, Sümerbank A.Ş hiç bir şekilde sorumlu tutulamaz.
The information contained in this E-Mail and any files transmitted with it
are intended solely for the use of the individual or entity to whom they are
addressed and do not reflect those of Sümerbank A.S.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Oct 13 2000 - 08:12:30 MDT

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