[squid-users] Re: Partition suggestions for Squid using a 500Gb drive?

From: Ed Flecko <edflecko_at_gmail.com>
Date: Mon, 10 Nov 2008 06:01:12 -0800

Thanks Chuck.

Unfortunately, this little 1U server does not have room for more than
1 hard drive. :-(

Do you have any specific "config options" in mind about how to best
use the memory?

Thank You,
Ed

On Sun, Nov 9, 2008 at 6:12 PM, Chuck Kollars <ckollars9_at_yahoo.com> wrote:
>> ... It's my understanding that Squid doesn't really need a fast
>> processor, ...
>
> Yep, Squid is very seldom CPU-bound.
>
>> ... 16G of memory ...
>
> Good, the more RAM the better. There are some config options to make best use of this memory; the key is to "cache" stuff in memory rather than in RAM up to the amount of real memory you have. (If you don't get the config options right you can wind up "wasting" most of the RAM; Squid won't figure it out automagically.)
>
>> ...Here's the partition setup ... I welcome ALL of your suggestions ...
>
> While Squid is not CPU-bound, it IS IO BOUND!. There's no right way to partition the disk; forget it. Instead ADD A SECOND DISK (perhaps small, but _fast_). If possible use the "other"/"new" IO channel for the disk, mount the single partition on the second disk with 'noatime', and locate only the Squid cache (nothing else) on it.
>
> thanks! -Chuck Kollars
>
>
>
>
>
Received on Mon Nov 10 2008 - 14:01:17 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 10 2008 - 12:00:03 MST