Re: [squid-users] squid on 32-bit system with PAE and 8GB RAM

From: Gavin McCullagh <gavin.mccullagh_at_gcd.ie>
Date: Mon, 16 Mar 2009 14:26:29 +0000

Hi,

On Mon, 16 Mar 2009, Marcello Romani wrote:

> From my little experience I would suggest that you give squid cache_mem
> a value of just some hundreds of MBs, and let the other GBs of ram to
> squid for indexes and the OS for disk caching. I guess after some time
> this will take you near a ramdisk-only setup.

Really? I would have thought the linux kernel's disk caching would be far
less optimised for this than using a large squid cache_mem (whatever about
a ramdisk).

> Also, this would move the problem of accessing a very large ram address
> space from squid (which being only 32-bit can lead to problems) to the
> OS, which IMHO is better suited for this task.

It's starting to look that way alright.

> Also, I don't understand why spending so much on memory instead of
> buying some more spindles to have a more balanced server in the end
> (maybe space constraints ?)

The cost of 8GB of ram was about €100, so it was relatively cheap. As you
guessed, the machine itself is 1U and doesn't have space for any more hard
drives.

Gavin
Received on Mon Mar 16 2009 - 14:26:33 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 16 2009 - 12:00:02 MDT