Xeon with 4GB of RAM running Squid

francisv_at_dagupan.com
Date: 06/17/03

  • Next message: Chuck Swiger: "Re: freebsd-performance Digest, Vol 4, Issue 7"
    To: freebsd-performance@freebsd.org
    Date: Tue, 17 Jun 2003 09:45:55 +0800
    
    

    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
    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"
    

  • Next message: Chuck Swiger: "Re: freebsd-performance Digest, Vol 4, Issue 7"

    Relevant Pages

    • Xeon with 4GB of RAM running Squid
      ... I have an Intel Xeon machine with 4GB of RAM on FreeBSD 4.7-RELEASE ... running Squid 2.5-STABLE2. ...
      (freebsd-performance)
    • Reply: Mini-Freebsd system on ram, to reduce noise?
      ... I'm planning to build MiniBSD (from freebsd) ... small FreeBSD why wouldnt i run it in RAM? ... harddisk, which will shutdown until all system-files are moved into RAM.. ... I'm trying to make MiniBSD from FreeBSD 6.0 that would fit on less than 128 ...
      (freebsd-questions)
    • Mini-Freebsd system on ram, to reduce noise?
      ... I'm planning to build MiniBSD (from freebsd) ... small FreeBSD why wouldnt i run it in RAM? ... harddisk, which will shutdown until all system-files are moved into RAM.. ... I'm trying to make MiniBSD from FreeBSD 6.0 that would fit on less than 128 ...
      (freebsd-questions)
    • RE: Rid of those Windows Desktops!
      ... What exactly is "lots of RAM"? ... You can install it locally along with FreeBSD. ... Outgoing mail is certified Virus Free. ...
      (freebsd-questions)
    • RE: Reply: Mini-Freebsd system on ram, to reduce noise?
      ... in 32M RAM, booting from a 32M CF card, with a 66MHz processor. ... I'm planning to build MiniBSD ... small FreeBSD why wouldnt i run it in RAM? ... harddisk, which will shutdown until all system-files are ...
      (freebsd-questions)