Xeon with 4GB of RAM running Squid
Francis Vidal
francisv-sender-88cbb0 at irc.dagupan.com
Mon Jun 16 18:48:40 PDT 2003
Hi,
I have an Intel Xeon machine with 4GB of RAM on FreeBSD 4.7-RELEASE
running Squid 2.5-STABLE2. Here's some of the parameters that I've
tweaked:
/etc/sysctl.conf:
vm.v_free_min=131072
vm.v_free_target=262144
vm.f_free_reserved=32768
vm.v_free_severe=65536
kern.ps_showallprocs=0
vfs.vmiodirenable=1
kern.ipc.maxsockbuf=2097152
kern.ipc.somaxconn=8192
kern.ipc.maxsockets=16424
net.inet.tcp.rfc1323=1
net.inet.tcp.delayed_ack=0
net.inet.tcp.sendspace=65535
net.inet.tcp.recvspace=65535
net.inet.udp.recvspace=65535
net.inet.udp.maxdgram=57344
net.local.stream.recvspace=65535
net.local.stream.sendspace=65535
/boot/loader.conf:
kern.ipc.maxsockets=32768
kern.ipc.nmbclusters=32768
kern.ipc.nmbufs=131072
kern.ipc.nsfbufs=6656
kern.ipc.shm_use_phys=1
kern.maxfiles=32768
kern.maxproc=8192
kern.maxswzone=33554432
kern.nbuf=16384
kern.ncallout=32768
kern.vm.kmem.size=268435456
kern.vm.pmap.shpgperproc=2048
net.inet.tcp.tcbhashsize=16384
Kernel configuration:
machine i386
cpu I686_CPU
ident SQUID1
maxusers 128
options MSGMNB=16384
options MSGMNI=41
options MSGSEG=2049
options MSGSSZ=64
options MSGTQL=512
options SHMSEG=16
options SHMMNI=32
options SHMMAX=2097152
options SHMALL=4096
options MAXDSIZ=(2048*1024*1024)
options DFLDSIZ=(512*1024*1024)
options CPU_ENABLE_SSE
options UFS_DIRHASH
options KVA_PAGES=512
The cache directory is using software RAID-0 (3 x 40GB 7,200RPM UDMA-6)
with softupdates enabled. Any other pointers to utilize this machine's
full potential?
---
francis a. vidal [bitstop network services] | http://www.bnshosting.net
streaming media + web hosting | http://www.bitstop.ph
v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph
More information about the freebsd-performance
mailing list