From owner-cvs-all Mon Jun 1 13:10:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20784 for cvs-all-outgoing; Mon, 1 Jun 1998 13:10:18 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from news1.gtn.com (news1.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20669; Mon, 1 Jun 1998 13:09:52 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id WAA03744; Mon, 1 Jun 1998 22:00:45 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.8) id VAA20989; Mon, 1 Jun 1998 21:55:39 +0200 (CEST) (envelope-from andreas) Message-ID: <19980601215539.A18722@klemm.gtn.com> Date: Mon, 1 Jun 1998 21:55:39 +0200 From: Andreas Klemm To: "Jordan K. Hubbard" , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-www@FreeBSD.ORG Subject: Re: cvs commit: www/data newsflash.sgml References: <199805310322.UAA07442@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199805310322.UAA07442@freefall.freebsd.org>; from Jordan K. Hubbard on Sat, May 30, 1998 at 08:22:55PM -0700 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Sat, May 30, 1998 at 08:22:55PM -0700, Jordan K. Hubbard wrote: > jkh 1998/05/30 20:22:54 PDT > > Modified files: > data newsflash.sgml > Log: > Add an entry for Ralf Engelschall's article at WebTechniques.com. Ralf's article is really a nice source of information, how to build up webservers and how to tweak the FreeBSD kernel for better performance. This reminds me, that in articles with performance tests, FreeBSD doesn't always perform best as it could, because of numerous things we don't set in the GENERIC kernel. Couldn't we for example add another kernel profile based on GENERIC especially for larger scale internet server, which contains some more reasonable settings for better performance ? We should offer the user at the end of installation, which kernel to choose. We could install both, the kernel.GENERIC and kernel.INETSRV, but install the kernel the user chooses as /kernel. This only because not every tester is a Unix (BSD) guru .... Here are the diffs for a kernel with possibly better Inet Server Performance. What do you think ? --- GENERIC Fri May 22 18:40:02 1998 +++ INETSRV Mon Jun 1 21:51:25 1998 @@ -1,5 +1,5 @@ # -# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks +# INETSRV -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information read the handbook part System Administration -> # Configuring the FreeBSD Kernel -> The Configuration File. @@ -11,7 +11,7 @@ # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # -# $Id: GENERIC,v 1.109 1998/05/21 03:22:19 wpaul Exp $ +# $Id$ machine "i386" cpu "I386_CPU" @@ -19,7 +19,12 @@ cpu "I586_CPU" cpu "I686_CPU" ident GENERIC -maxusers 10 +maxusers 256 + +options SOMAXCONN="256" +options "NMBCLUSTER=4096" +options "CHILD_MAX=512" +options "OPEN_MAX=512" options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking @@ -70,6 +75,9 @@ controller amd0 controller ahb0 controller ahc0 +options AHC_TAGENABLE #enable tagged command queueing +options AHC_ALLOW_MEMIO #allow use of memory mapped I/O +options AHC_SCBPAGING_ENABLE #enable SCB paging controller isp0 controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message