Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 11:47:35 +0300
From:      Smirnov Konstantin <sam@rmp.ru>
To:        freebsd-net@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Tuning up FreeBSD - http://www.samag.com/documents/s=1147/sam0108q/
Message-ID:  <16162204675.20011214114735@rmp.ru>

next in thread | raw e-mail | index | archive | help
Hello all!

Look what I've found in
http://www.samag.com/documents/s=1147/sam0108q/
This is recomendation on tuning FreeBSD for higher perfomance when
it's used as the net server.

====================== cut ========================
FreeBSD Tuning Tips

The following FreeBSD OS tuning tips were suggested to us by readers of our article. 

In single-user mode: 

 tunefs -n enable /
 tunefs -n enable /usr
 tunefs -n enable /var

Kernel modifications to make -- recompile and install the kernel afterwards: 
MAXUSERS 512

 in /boot/load.conf
 hw.ata.wc="1"
 kern.ipc.nmbclusters="60000"
 in /etc/fstab

Add to options for all hard disk file systems ",async": 

 In /etc/sysctl.conf
 vfs.vmiodirenable=1
 kern.ipc.maxsockbuf=2097152
 kern.ipc.somaxconn=8192
 kern.ipc.maxsockets=16424
 kern.maxfiles=65536
 kern.maxfilesperproc=32768
 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
====================== cut ========================

What is your opinion? Is that parameters suitable for ALL systems? (I
think, no ;))) Maybe, somebody tried it yet?

Thanks,

Best regards,
Samius
--------------------
...We the world...



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16162204675.20011214114735>