From owner-freebsd-questions Fri Dec 14 0:47:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.unix.ru (mail.chs.ru [194.154.71.136]) by hub.freebsd.org (Postfix) with ESMTP id 0EEFA37B405; Fri, 14 Dec 2001 00:47:35 -0800 (PST) Received: from [192.168.81.13] (helo=sam) by mail.unix.ru with esmtp (Exim 3.22) id 16Eo08-0006Cy-00 ; Fri, 14 Dec 2001 11:47:28 +0300 Date: Fri, 14 Dec 2001 11:47:35 +0300 From: Smirnov Konstantin X-Mailer: The Bat! (v1.46d) Personal Reply-To: Smirnov Konstantin Organization: RMP X-Priority: 3 (Normal) Message-ID: <16162204675.20011214114735@rmp.ru> To: freebsd-net@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Tuning up FreeBSD - http://www.samag.com/documents/s=1147/sam0108q/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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