Re: [squid-users] COSS memory use

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Fri, 16 Mar 2007 17:16:51 +0100

On 14.03.07 11:49, leongmzlist wrote:
> Looking into solution on reducing squid mem use. I have 32bit squid
> and 64bit squid running; but I'm quickly running out of RAM again.
>
> 32bit squid on linux 64bit kernel, aufs: ~115 bytes / obj
> 64bit squid; aufs, linux: ~165 bytes / obj

afaik it's ~72/194
>
> So, a 32bit squid w/ 4G of RAM can actually store more objects than a
> 64bit squid w/ 6G of ram.

you must decrease the memory a big. Let's say your squid can use up to 3GB
of memory when it's 32 bit (4GB of address space minus usually 1GB of
reserved area) vs. 5.5GB when it's 64 bit (6gb of RAM minus some OS usage).

since the 72/104, it's 44739242 vs. 56784423 objects metadata.

> That's not good.

what? that 64bit squid has bigger memory usage? It's the price of higher
limits.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Christian Science Programming: "Let God Debug It!".
Received on Fri Mar 16 2007 - 10:16:58 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:02 MDT