<I am forwarding this to the mailing list too, others might be interested>
> thnaks
> i have a compaq prolinea 5500 with 512 MB ram and 6 hard disks ultra 2
> SCSI 10000 rpm of 9 GB each
> but i have alreay been using the foll startupscripts
> echo 1 >/proc/sys/net/ipv4/ip_forward
Is this box a router too?
> ulimit -HSn 16834
> echo 64000 >/proc/sys/fs/file-max
> echo 128000 >/proc/sys/fs/inode-max
Whoa! High! Wasted kernel RAM!
> echo 8192 >/proc/sys/net/ipv4/tcp_max_syn_backlog
> echo 1024 65000 >/proc/sys/net/ipv4/ip_local_port_range
> echo 100 > /proc/sys/net/ipv4/tcp_fin_timeout
> echo 300 > /proc/sys/net/ipv4/tcp_keepalive_time
Uhm, this will add some overhead..
> echo 0 > /proc/sys/net/ipv4/tcp_sack
> echo 0 > /proc/sys/net/ipv4/tcp_timestamps
>
> iam not very sure about your
> > echo 60 1000 128 256 500 3000 500 1884 2 >/proc/sys/vm/bdflush
> > echo '256 512 1024' >/proc/sysv/vm/freepages
IIRC those lazeify dirty buffer flushing, making it more bursty.
> > 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
> >
> can u explain them pls
The two former allow up to 4096 filedescriptors per process
(still not many, but will do), the latter allow squid todump core.
> i am using async io compile of squid with 40 threads
> at abt 40 req/sec squid takes abt 80% cpu ..
Looks high. On my system (more RAM than yours but less CPU) I get that load
at 120-150 reqs/s. Maybe you have too many threads? Is the box doing other
things?
-- /kinkieReceived on Wed Sep 12 2001 - 09:24:39 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:09 MST