Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 1998 21:55:39 +0200
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        "Jordan K. Hubbard" <jkh@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-www@FreeBSD.ORG
Subject:   Re: cvs commit: www/data newsflash.sgml
Message-ID:  <19980601215539.A18722@klemm.gtn.com>
In-Reply-To: <199805310322.UAA07442@freefall.freebsd.org>; from Jordan K. Hubbard on Sat, May 30, 1998 at 08:22:55PM -0700
References:  <199805310322.UAA07442@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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