From owner-FreeBSD-users-jp@jp.FreeBSD.org Thu Oct  2 15:12:16 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h926CG639541;
	Thu, 2 Oct 2003 15:12:16 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mail.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id h926CGJ39536
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu, 2 Oct 2003 15:12:16 +0900 (JST)
	(envelope-from adachi@jun.email.ne.jp)
Received: from localhost (d254088.ppp.asahi-net.or.jp [210.253.254.88])
	by mail.asahi-net.or.jp (Postfix) with ESMTP id 2D477B194
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu,  2 Oct 2003 15:12:12 +0900 (JST)
Message-Id: <20031002.151130.39150113.adachi@jun.email.ne.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
From: Jun Adachi <adachi@jun.email.ne.jp>
In-Reply-To: <20031002134109.1bf53390.tyuu@on.rim.or.jp>
References: <20031001094531.45b531f0.tyuu@on.rim.or.jp>
	<20031001200333.29D2.YASU418@fh.freeserve.ne.jp>
	<20031002134109.1bf53390.tyuu@on.rim.or.jp>
Organization: Asahi-Net Users
X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Thu, 02 Oct 2003 15:11:30 +0900
X-Sequence: FreeBSD-users-jp 76608
Subject: [FreeBSD-users-jp 76608] Re: DragonFly BSD?
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: adachi@jun.email.ne.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030902

$B0BC#!w2-%G!<%?$H?=$7$^$9!#(B

From: Hiroshi Morita <tyuu@on.rim.or.jp>
Subject: [FreeBSD-users-jp 76605] Re: DragonFly BSD?
Date: Thu, 2 Oct 2003 13:41:09 +0900

> tyuu $B$G$9!#(B

$B$I$b$G$9!#(B

> $B$G!"JL%5!<%P$+$i(B ab $B$K$FIi2Y%F%9%H$r$7$F$_$^$7$?!#(B
> /usr/local/apahce/bin/ab -n 1000 -c 100 http://192.168.0.2/test.jpg

apache$B$NIi2Y%F%9%H$C$F!"(Btyuu$B$5$s$NMQES$GK\Ev$KI,MW$J$s$G$9$+!)(B

> $B$9$k$H(B DoragonFly BSD $B$NC<Kv$K!"(B
> mbufs exhausted, please see tuning(7)
> $B$J$k%a%C%;!<%8$,(B ...$B!#(B
> $B$s!<!"%A%e!<%K%s%0$,$J$5$l$F$$$J$$$N$,!"(B
> $B$*5$$K$a$5$J$$$i$7$$$G$9!#(B

$B5$$KF~$i$J$$$3$H$r8+IU$1$kEY$K!"%G%#%9%H%j%S%e!<%7%g%s$rJQ$($F$_$k%G%#(B
$B%9%H%jFqL1$K$J$i$J$$$?$a$K$O!"<+J,$GD4$Y$kJJ$rIU$1$^$7$g$&!#(B

> mbufs exhausted, please see tuning(7)

$B$3$3$KBg$-$J%R%s%H$,=q$$$F$"$j$^$9!#$3$l$O!"(Bman$B%3%^%s%I$N%;%/%7%g%s(B7$B$N(B
tuning$B$N9`$r;2>H$7$m$H$$$&0UL#$G$9!#(B

$B$5$F!"<B:]0z$$$F$_$F(Bmbuf$B$G8!:w$9$k$H!"0z$C$+$+$k$N$O$3$N2U=j$G$9!#(B

$B!t0J2<$O(B4-STABLE$B$N%^%K%e%"%kFbMF$J$N$G!"(BDragonFLY$B$NJ*$H0[$J$k2DG=@-$,(B
$B!t$"$j$^$9!#(B

>     kern.ipc.nmbclusters may be adjusted to increase the number of network
>     mbufs the system is willing to allocate.  Each cluster represents approx-
>     imately 2K of memory, so a value of 1024 represents 2M of kernel memory
>     reserved for network buffers.  You can do a simple calculation to figure
>     out how many you need.  If you have a web server which maxes out at 1000
>     simultaneous connections, and each connection eats a 16K receive and 16K
>     send buffer, you need approximately 32MB worth of network buffers to deal
>     with it.  A good rule of thumb is to multiply by 2, so 32MBx2 = 64MB/2K =
>     32768.  So for this case you would want to set kern.ipc.nmbclusters to
>     32768.  We recommend values between 1024 and 4096 for machines with mod-
>     erates amount of memory, and between 4096 and 32768 for machines with
>     greater amounts of memory.  Under no circumstances should you specify an
>     arbitrarily high value for this parameter, it could lead to a boot-time
>     crash.  The -m option to netstat(1) may be used to observe network clus-
>     ter use.  Older versions of FreeBSD do not have this tunable and require
>     that the kernel config(8) option NMBCLUSTERS be set instead.

$B$H$$$&$3$H$G!"%+!<%M%k(BMIB$B$N(Bkern.ipc.nmbclusters$B$NCM$rJQ99$9$l$P!"$h$$(B
$B$3$H$,$o$+$j$^$9!#(B

$B!V(B2KB$BC10L$G;XDj$9$k!#$@$$$?$$I,MW$H$9$kBS0h$N(B2$BG\$0$i$$$r;XDj$9$k$H$h$$!#(B
$BIaDL$N%^%7%s$J$i!"(B1024$B$+$i(B4096$B$r;XDj$9$k$N$,IaDL$G$7$g$&!#!W$H$+!"=q$$(B
$B$F$"$j$^$9!#(B

$B!t8e$O!"$4<+J,$G(Bsysctl$B%3%^%s%I$K$D$$$F$*D4$Y2<$5$$!#(B

> $B;d$NCf$G$O!"$^$@<B83CJ3,$rH4$1=P$F$$$J$$$N$+$J$H!"(B
> $B:#2s$ND4::$O!"=*N;$7$^$7$?!#(B

$B$G$9$+$i!"$3$NH=CG$O$A$g$$$H2D0%A[$G$O$J$$$+$H;W$$$^$9$G$9!#(B
--
*------*		
|$B?M"JOI(B|		$B0BC#(B $B=_!w8D?M2s@~(B
| <$B=w(B> |		Via Asahi-net
|$B5m"K;b(B|		adachi@jun.email.ne.jp
*------*		
