> that is apretty good figure as well
> btw could you just pass on u r tuning and configuration steps for ur
> box pls
Please, stick to ye ol' good english. It's already hard enough for me :)
> i hv a compaq prolinea 5500 dual P111 550 Mhz with 512 MB ram
> running linux 2.2.19
Disks? How many, what kind?
Anyway. Put the disks in JBOD (no RAID).
With that amount of RAM no more than 10-15 gigs of cache storage.
sysctl (or put this in rc.local) those values:
echo 8192 >/proc/sys/fs/file-max
echo 16384 >/proc/sys/fs/inode-max
echo 0 >/proc/sys/net/ipv4/ip_forward #just to be on the safe side
echo 1 >/proc/sys/net/ipv4/conf/all/rp_filter #enable source route
verification
echo 0 >/proc/sys/net/ipv4/tcp_timestamps # TCP timestamps off
echo 0 >/proc/sys/net/ipv4/tcp_sack # TCP SACK off
echo 16000 65535 >/proc/sys/net/ipv4/ip_local_port_range #enlarge local
ports
echo 1024 16384 >/proc/sys/net/ipv4/ip_local_port_range
echo 512 >/proc/sys/net/ipv4/tcp_max_syn_backlog
echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
echo 60 1000 128 256 500 3000 500 1884 2 >/proc/sys/vm/bdflush
echo '256 512 1024' >/proc/sysv/vm/freepages
If you use the SysVinit startup scripts, make sure to add to it
ulimit -H -n 4096 >/dev/null
ulimit -n 4096 >/dev/null
ulimit -H -c unlimited >/dev/null
ulimit -c unlimited >/dev/null
Use diskd for storage, many smallish dirs (one per spindle). aufs is fine
if you're using 2.4 IIRC.
One of the two CPUs will sit mostly idle, you should be able to get up to
200 reqs/s on
that hardware. Crank compiler optimizations as high as you can. To get to
use two CPUs
you have to start two squids up and then load-balance.
-- /kinkieReceived on Wed Sep 12 2001 - 07:15:24 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:09 MST