Date: Sun, 14 Apr 2002 19:50:20 +0200 (CEST) From: Martin Heinen <martin@sumuk.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/37068: [PATCH] Handbook contains a wrong equation Message-ID: <200204141750.g3EHoK731513@Moses.earth.sol>
index | next in thread | raw e-mail
>Number: 37068
>Category: docs
>Synopsis: [PATCH] Handbook contains a wrong equation
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 14 11:00:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Martin Heinen
>Release: FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD Moses.earth.sol 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Dec 22 07:35:30 CET 2001 toor@Moses.earth.sol:/usr/obj/usr/src/sys/MOSES i386
>Description:
The section 'Network Limits' states that 32MBx2 = 64MB/2K,
which is wrong. Fixed and regrouped the equation. Changed
the memory units from K to kB.
>How-To-Repeat:
Read the section 'Network Limits' in the chapter
'Configuration and Tuning'.
>Fix:
Index: config/chapter.sgml
===================================================================
RCS file: /u/cvs/doc/en_US.ISO8859-1/books/handbook/config/chapter.sgml,v
retrieving revision 1.46
diff -u -r1.46 chapter.sgml
--- config/chapter.sgml 1 Apr 2002 14:39:14 -0000 1.46
+++ config/chapter.sgml 7 Apr 2002 11:33:32 -0000
@@ -1101,14 +1101,14 @@
option dictates the amount of network mbufs available to the
system. A heavily-trafficked server with a low number of MBUFs
will hinder FreeBSD's ability. Each cluster represents
- approximately 2K of memory, so a value of 1024 represents 2
+ approximately 2 kB of memory, so a value of 1024 represents 2
megabytes of kernel memory reserved for network buffers. A
simple calculation can be done to figure out how many are
needed. 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
+ simultaneous connections, and each connection eats a 16 kB receive
+ and 16 kB send buffer, you need approximately 32 MB worth of
network buffers to cover the web server. A good rule of thumb is
- to multiply by 2, so 32MBx2 = 64MB/2K = 32768.</para>
+ to multiply by 2, so 2x32 MB / 2 KB = 64 MB / 2 kB = 32768.</para>
</sect2>
</sect1>
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204141750.g3EHoK731513>
