Re: [squid-users] Hardware configuration for Squid that can handle 100 - 200 Mbps

From: Chris Robertson <crobertson_at_gci.net>
Date: Thu, 27 Aug 2009 13:58:59 -0800

Paul Khadra wrote:
> Hi,
>
> I wish to buy hardware for squid that can support internet traffic of 200
> Mbps. I have read a lot of documents on the forums but none has not got the
> best answer.
>
> 1- Shall I go to intel or opteron?
>

No opinion.

> 2- I can get 32GB memory but will 64 GB memory give an advatnage ?
>

Of course. How much of an advantage is an other matter. But since
budget is not a concern...

> 3- I can get the HP DL38x series. They have 16 empty slots for hard disks. I
> can install 2 HD controllers. what is the best way to fill the harddisks
> bays and at the same time I want the best byte hit ratio?

Byte hit ratio means get more space, but...

> the harddisks
> options are ( SAS 146GB,300GB or 450GB at 15 Krpm or the SATA 250GB,
> 500GB or 1TB at 7200rpm).
> So assuming that budget is not a factor, and at 200 Mbps, will buying 16 x
> 500GB or 16 x 1TB disks have good affect on the hit ratio?
>

It will if you can fill them without overloading the cache index. Each
object in the cache needs to be indexed in memory. The 10MB of RAM per
GB of disk space assumes an average object size of 10KB. Using that
rule of thumb, you'd need 100GB of RAM for a 10TB cache (just for the
index)!

Since you are speculating 200Mbps of traffic, I'd go with the SAS drives
(all 16 of them) and grow the cache pool gradually (spread across all 16).

> Note: squid will be installed over solaris.
>

Carve out some space for the OS using RAID5 or 6 or ZFS's RAID-Z and
then just give the rest of the space on the spindles over to individual
cache_dirs (one per spindle). Start with 50GB cache_dirs, let that
fill, see what your memory usage is doing. Repeat.

> Thank you, Paul
>

Chris
Received on Thu Aug 27 2009 - 21:59:07 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 28 2009 - 12:00:03 MDT