RE: [squid-users] Hardware requirements

From: Gregori Parker <gregori@dont-contact.us>
Date: Mon, 6 Mar 2006 10:43:48 -0800

Sure, we have 3 of these clustered in an all-sibling reverse-proxy setup.

2 x 3.0 GHz Xeon 64-bit
2 GB DDR-400 RAM
1 x 80 GB WD HDD
3 x 400 GB WD HDD
..running Fedora Core 4 x86_64

Squid is 2.5 STABLE12 with epoll and collapsed-forwarding patches

Configured with: --enable-async-io=32 --enable-snmp --enable-htcp --enable-underscores --enable-epoll

As you can see we use: htcp, aufs (with noatime options on the mounts) and snmp for monitoring via cacti. Here are some items from squid.conf:

http_port 80
icp_port 0
htcp_port 4827
cache_peer XX.XX.XXX.XXX sibling 80 4827 htcp proxy-only
cache_peer XX.XX.XXX.XXX sibling 80 4827 htcp proxy-only
cache_mem 256 MB
cache_swap_low 90
cache_swap_high 98
maximum_object_size 256 MB
maximum_object_size_in_memory 1024 KB
cache_replacement_policy lru
memory_replacement_policy lru
cache_dir aufs /cache0/c0 40960 16 256
cache_dir aufs /cache0/c1 40960 16 256
cache_dir aufs /cache0/c2 40960 16 256
cache_dir aufs /cache0/c3 40960 16 256
cache_dir aufs /cache0/c4 40960 16 256
cache_dir aufs /cache0/c5 40960 16 256
cache_dir aufs /cache1/c0 40960 16 256
cache_dir aufs /cache1/c1 40960 16 256
cache_dir aufs /cache1/c2 40960 16 256
cache_dir aufs /cache1/c3 40960 16 256
cache_dir aufs /cache1/c4 40960 16 256
cache_dir aufs /cache1/c5 40960 16 256 
refresh_pattern \.xml 0 0% 4320
refresh_pattern . 0 20% 10080 ignore-reload
httpd_accel_port 80
httpd_accel_host xx.xxxxx.xxxxxx.com
httpd_accel_single_host on
httpd_accel_with_proxy off
httpd_accel_uses_host_header off
log_icp_queries off
icp_hit_stale on
client_db off
emulate_httpd_log on
uri_whitespace allow
strip_query_terms off
relaxed_header_parser warn
...etc...

-----Original Message-----
From: Shoebottom, Bryan [mailto:BShoebottom@fanshawec.ca]
Sent: Monday, March 06, 2006 10:25 AM
To: Gregori Parker; squid-users@squid-cache.org
Subject: RE: [squid-users] Hardware requirements

Gregori,

Can you give me the details on your entire setup? I have a 3.4GHz Xeon with 2GB memory and 100GB cache and with 200+ req/s my CPU is pinned. I have a transparent cache with WCCP and don't use any ACLs except for SNMP.

Thanks,
 Bryan
 

-----Original Message-----
From: Gregori Parker [mailto:gregori@playstream.com]
Sent: March 6, 2006 1:16 PM
To: squid-users@squid-cache.org
Subject: RE: [squid-users] Hardware requirements

That should be fine, however I would recommend a lot more diskspace for the cache. Each of our servers are 3GHz Xeon, 2GB RAM and 1TB of diskspace - they each push 130mbps of flow without any problems.
 

-----Original Message-----
From: Ilja Marchew [mailto:brammator@gmail.com]
Sent: Monday, March 06, 2006 4:01 AM
To: squid-users@squid-cache.org
Subject: [squid-users] Hardware requirements

We have 2-12 mbits of traffic flow.

Is scsi320 72MB + RAM 1GB + Xeon 2.0GHz server enough to proxificate
it transparently? Or we need more processor/RAM? Or we need to
balance flow between 2-3 servers (because of non-SMP architecture of
squid)?

Thanks.

.
Received on Mon Mar 06 2006 - 11:43:49 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:03 MST