ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: Inet-Admins
Inet-Admins mailing list archive (inet-admins@info.east.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [inet-admins] Squid memory needs estimating



>>>>> "Dmitry" == Dmitry Morozovsky <marck@rinet.ru> writes:

 Dmitry> можно оценить память, необходимую для нормальной работы
 Dmitry> сквида при заранее известной емкости дискового кэша?

Message-ID: <3874944D.4853A9F7@hem.passagen.se>
Date: Thu, 06 Jan 2000 14:10:37 +0100
From: Henrik Nordstrom <hno@hem.passagen.se>
To: Anthony Hinsinger <Anthony.Hinsinger@hermes.univ-metz.fr>
Cc: squid-users@ircache.net
Subject: Re: squid very slow

Anthony Hinsinger wrote:
 
> How many memory for 40 Go of cache disk ? i'm reading 5Mo for 1Go
> of cache disk, is it real ?

The formula I have seen gives ~10Mb for 1Gb of cache space.

metadata memory = cache_dir size / average object size (usually ~13 Kb)
* 100 bytes
(remember to put all values in bytes)

total memory need = metadata memory + cache_mem setting + 20MB + OS
requirements + some minutes of bandwidth (at least one) for filesystem
and networking buffers.

> is 256 Mo good ?

I would go for 512, or at least 384.

--
Henrik Nordstrom
Squid hacker

-- 
DSS5-RIPE DSS-RIPN 2:550/5068@fidonet 2:550/5069@fidonet
mailto:dsh@vlink.ru http://neva.vlink.ru/~dsh
Key fingerprint = 46 C8 1B 3B 15 1F 64 B0  38 0B 28 CE B0 75 7B E9
=============================================================================
"inet-admins" Internet access mailing list. Maintained by East Connection ISP.
Mail "unsubscribe inet-admins" to Majordomo@info.east.ru if you want to quit.
Archive is accessible on http://info.east.ru/rus/inetadm.html



 




Copyright © Lexa Software, 1996-2009.