summaryrefslogtreecommitdiff
path: root/docs/htmldocs/using_samba/appb_03.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/htmldocs/using_samba/appb_03.html')
-rw-r--r--docs/htmldocs/using_samba/appb_03.html876
1 files changed, 0 insertions, 876 deletions
diff --git a/docs/htmldocs/using_samba/appb_03.html b/docs/htmldocs/using_samba/appb_03.html
deleted file mode 100644
index 115be4daa3..0000000000
--- a/docs/htmldocs/using_samba/appb_03.html
+++ /dev/null
@@ -1,876 +0,0 @@
-<HTML>
-<HEAD>
-<TITLE>
-[Appendix B] B.3 Sizing Samba Servers</title><META NAME="DC.title" CONTENT=""><META NAME="DC.creator" CONTENT=""><META NAME="DC.publisher" CONTENT="O'Reilly &amp; Associates, Inc."><META NAME="DC.date" CONTENT="1999-11-05T21:42:12Z"><META NAME="DC.type" CONTENT="Text.Monograph"><META NAME="DC.format" CONTENT="text/html" SCHEME="MIME"><META NAME="DC.source" CONTENT="" SCHEME="ISBN"><META NAME="DC.language" CONTENT="en-US"><META NAME="generator" CONTENT="Jade 1.1/O'Reilly DocBook 3.0 to HTML 4.0"></head>
-<BODY BGCOLOR="#FFFFFF" TEXT="#000000" link="#990000" vlink="#0000CC">
-<table BORDER="0" CELLPADDING="0" CELLSPACING="0" width="90%">
-<tr>
-<td width="25%" valign="TOP">
-<img hspace=10 vspace=10 src="gifs/samba.s.gif"
-alt="Using Samba" align=left valign=top border=0>
-</td>
-<td height="105" valign="TOP">
-<br>
-<H2>Using Samba</H2>
-<font size="-1">
-Robert Eckstein, David Collier-Brown, Peter Kelly
-<br>1st Edition November 1999
-<br>1-56592-449-5, Order Number: 4495
-<br>416 pages, $34.95
-</font>
-<p> <a href="http://www.oreilly.com/catalog/samba/">Buy the hardcopy</a>
-<p><a href="index.html">Table of Contents</a>
-</td>
-</tr>
-</table>
-<hr size=1 noshade>
-<!--sample chapter begins -->
-
-<center>
-<DIV CLASS="htmlnav">
-<TABLE WIDTH="515" BORDER="0" CELLSPACING="0" CELLPADDING="0">
-<TR>
-<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="172">
-<A CLASS="sect1" HREF="appb_02.html" TITLE="B.2 Samba Tuning">
-<IMG SRC="gifs/txtpreva.gif" ALT="Previous: B.2 Samba Tuning" BORDER="0"></a></td><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171">
-<B>
-<FONT FACE="ARIEL,HELVETICA,HELV,SANSERIF" SIZE="-1">
-<A CLASS="appendix" REL="up" HREF="appb_01.html" TITLE="B. Samba Performance Tuning">
-Appendix B<br>
-Samba Performance Tuning</a></font></b></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172">
-<A CLASS="appendix" HREF="appc_01.html" TITLE="C. Samba Configuration Option Quick Reference">
-<IMG SRC="gifs/txtnexta.gif" ALT="Next: C. Samba Configuration Option Quick Reference" BORDER="0"></a></td></tr></table>&nbsp;<hr noshade size=1></center>
-</div>
-<blockquote>
-<div>
-<H2 CLASS="sect1">
-<A CLASS="title" NAME="appb-22511">
-B.3 Sizing Samba Servers</a></h2><P CLASS="para">Sizing is a way to prevent bottlenecks before they occur. The preferred way to do this is to know how many requests per second or how many kilobytes per second the clients will need, and ensure that all the components of the server provide at least that many.</p><DIV CLASS="sect2">
-<H3 CLASS="sect2">
-<A CLASS="title" NAME="appb-pgfId-948449">
-B.3.1 The Bottlenecks</a></h3><P CLASS="para">The three primary bottlenecks you should worry about are CPU, disk I/O, and the network. For most machines, CPUs are rarely a bottleneck. A single Sun SPARC 10 CPU can start (and complete) between 700 and 800 I/O operations a second, giving approximately 5,600 to 6,400KB/s of throughput when the data averages around 8KBs (a common buffer size). A single Intel Pentium 133 can do less only because of somewhat slower cache and bus interfaces, not due to lack of CPU power. Purpose-designed Pentium servers, like some Compaq servers, will be able to start 700 operations per CPUs, on up to four CPUs.</p><P CLASS="para">
-Too little memory, on the other hand, can easily be a bottleneck; each Samba process will use between 600 and 800KB on Intel Linux, and more on RISC CPUs. Having less will cause an increase in virtual memory paging and therefore a performance hit. On Solaris, where it has been measured, <EM CLASS="emphasis">
-smbd</em> will use 2.6 MB for program and shared libraries, plus 768KB for each connected client. <EM CLASS="emphasis">
-nmbd</em> occupies 2.1 MB, plus 496KB extra for its (single) auxiliary process.</p><P CLASS="para">
-Hard disks will always bottleneck at a specific number of I/O operations per second: for example, each 7200 RPM SCSI disk is capable of performing 70 operations per second, for a throughput of 560KB/s; a 4800 RPM disk will perform fewer than 50, for a throughput of 360KB/s. A single IDE disk will do still fewer. If the disks are independent, or striped together in a RAID 1 configuration, they will each peak out at 400 to 560KB/s and will scale linearly as you add more. Note that this is true only of RAID 1. RAID levels other than 1 (striping) add extra overhead. </p><P CLASS="para">
-Ethernets (and other networks) are obvious bottleneck: a 10 Mb/s (mega<EM CLASS="emphasis">
-bits</em>/second) Ethernet will handle around 1100KB/s (kilo<EM CLASS="emphasis">
-bytes</em>/s) using 1500-byte packets A 100 Mb/s Fast Ethernet will bottleneck below 65,000KB/s with the same packet size. FDDI, at 155 Mb/s will top out at approximately 6,250KB/s, but gives good service at even 100 percent load and transmits much larger packets (4KB).</p><P CLASS="para">
-ATM should be much better, but as of the writing of this book it was too new to live up to its potential; it seems to deliver around 7,125 Mb/s using 9KB packets. </p><P CLASS="para">
-Of course, there can be other bottlenecks: more than one IDE disk per controller is not good, as are more than three 3600 SCSI-I disks per slow/narrow controller, or more than three 7200 SCSI-II disks per SCSI-II fast/wide controller. RAID 5 is also slow, as it requires twice as many writes as independent disks or RAID 1.</p><P CLASS="para">
-After the second set of Ethernets and the second disk controller, start worrying about bus bandwidth, especially if you are using ISA/EISA buses.</p></div><DIV CLASS="sect2">
-<H3 CLASS="sect2">
-<A CLASS="title" NAME="appb-pgfId-948459">
-B.3.2 Reducing Bottlenecks </a></h3><P CLASS="para">From the information above we can work out a model that will tell us the maximum capability of a given machine. The data is mostly taken from Brian Wong's <CITE CLASS="citetitle">
-Configuration and Capacity Planning for Solaris Servers</cite>,<CITE CLASS="citetitle">
-[<A CLASS="footnote" HREF="#appb-pgfId-951214">1</a>]</cite> so there is a slight Sun bias to our examples.</p><P CLASS="para">
-A word of warning: this is not a complete model. Don't assume that this model will predict every bottleneck or even be within 10 percent in its estimates. A model to predict performance instead of one to warn you of bottlenecks would be much more complex and would contain rules like "not more than three disks per SCSI chain". (A good book on real models is Raj Jain's <CITE CLASS="citetitle">
-The Art of Computer Systems Performance Analysis</cite>.[<A CLASS="footnote" HREF="#appb-pgfId-951230">2</a>]) With that warning, we present the system in <A CLASS="xref" HREF="appb_03.html#appb-98866">
-Figure B.2</a>. </p><BLOCKQUOTE CLASS="footnote">
-<DIV CLASS="footnote">
-<P CLASS="para">
-<A CLASS="footnote" NAME="appb-pgfId-951230">[2]</a> See Jain. Raj, <EM CLASS="emphasis">
-The Art of Computer Systems Performance Analysis</em>, New York, NY (John Wiley and Sons), 1991, ISBN 0-47-150336-3.</p></div></blockquote><H4 CLASS="figure">
-<A CLASS="title" NAME="appb-98866">
-Figure B.2: Data flow through a Samba server, with possible bottlenecks</a></h4><IMG CLASS="graphic" SRC="figs/sam.ab02.gif" ALT="Figure B.2"><P CLASS="para">
-The flow of data should be obvious. For example, on a read, data flows from the disk, across the bus, through or past the CPU, and to the network interface card (NIC). It is then broken up into packets and sent across the network. Our strategy here is to follow the data through the system and see what bottlenecks will choke it off. Believe it or not, it's rather easy to make a set of tables that list the maximum performance of common disks, CPUs, and network cards on a system. So that's exactly what we're going to do.</p><P CLASS="para">
-Let's take a concrete example: a Linux Pentium 133 MHz machine with a single 7200 RPM data disk, a PCI bus, and a 10-Mb/s Ethernet card. This is a perfectly reasonable server. We start with <A CLASS="xref" HREF="appb_03.html#appb-78077">
-Table B.2</a>, which describes the hard drive&nbsp;- the first potential bottleneck in the system. </p><br>
-<TABLE CLASS="table" BORDER="1" CELLPADDING="3">
-<CAPTION CLASS="table">
-<A CLASS="title" NAME="appb-78077">
-Table B.2: Disk Throughput </a></caption><THEAD CLASS="thead">
-<TR CLASS="row" VALIGN="TOP">
-<TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Disk RPM</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-I/O Operations/second</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-KB/second</p></th></tr></thead><TBODY CLASS="tbody">
-<TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-7200</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-70</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-560</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-4800</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-60</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-480</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-3600</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-40</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-320</p></td></tr></tbody></table><P CLASS="para">
-Disk throughput is the number of kilobytes of data that a disk can transfer per second. It is computed from the number of 8KB I/O operations per second a disk can perform, which in turn is strongly influenced by disk RPM and bit density. In effect, the question is: how much data can pass below the drive heads in one second? With a single 7200 RPM disk, the example server will give us 70 I/O operations per second at roughly 560KB/s.</p><P CLASS="para">
-The second possible bottleneck is the CPU. The data doesn't actually flow through the CPU on any modern machines, so we have to compute throughput somewhat indirectly.</p><P CLASS="para">
-The CPU has to issue I/O requests and handle the interrupts coming back, then transfer the data across the bus to the network card. From much past experimentation, we know that the overhead that dominates the processing is consistently in the filesystem code, so we can ignore the other software being run. We compute the throughput by just multiplying the (measured) number of file I/O operations per second that a CPU can process by the same 8K average request size. This gives us the results shown in <A CLASS="xref" HREF="appb_03.html#appb-42029">
-Table B.3</a>. </p><br>
-<TABLE CLASS="table" BORDER="1" CELLPADDING="3">
-<CAPTION CLASS="table">
-<A CLASS="title" NAME="appb-42029">
-Table B.3: CPU Throughput </a></caption><THEAD CLASS="thead">
-<TR CLASS="row" VALIGN="TOP">
-<TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-CPU</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-I/O Operations/second</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-KB/second</p></th></tr></thead><TBODY CLASS="tbody">
-<TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Intel Pentium 133</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-700</p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-5,600</p>
-</td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Dual Pentium 133</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-1,200</p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-9,600</p>
-</td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Sun SPARC II</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-660</p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-5,280</p>
-</td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Sun SPARC 10</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-750</p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-6,000</p>
-</td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Sun Ultra 200</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-2,650</p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-21,200</p>
-</td></tr></tbody></table><P CLASS="para">
-Now we put the disk and the CPU together: in the Linux example, we have a single 7200 RPM disk, which can give us 560KB/s, and a CPU capable of starting 700 I/O operations, which could give us 5600KB/s. So far, as you would expect, our bottleneck is clearly going to be the hard disk.</p><P CLASS="para">
-The last potential bottleneck is the network. If the network speed is below 100 Mb/s, the bottleneck will be the network speed. After that, the design of the network card is more likely to slow us down. <A CLASS="xref" HREF="appb_03.html#appb-67604">
-Table B.4</a> shows us the average throughput of many types of data networks. Although network speed is conventionally measured in bits per second, <A CLASS="xref" HREF="appb_03.html#appb-67604">
-Table B.4</a> lists bytes per second to make comparison with the disk and CPU (<A CLASS="xref" HREF="appb_03.html#appb-78077">Table B.2</a> and <A CLASS="xref" HREF="appb_03.html#appb-42029">
-Table B.3</a>) easier.</p><br>
-<TABLE CLASS="table" BORDER="1" CELLPADDING="3">
-<CAPTION CLASS="table">
-<A CLASS="title" NAME="appb-67604">
-Table B.4: Network Throughput </a></caption><THEAD CLASS="thead">
-<TR CLASS="row" VALIGN="TOP">
-<TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Network Type</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-KB/second</p></th></tr></thead><TBODY CLASS="tbody">
-<TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- ISDN </p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- 16 </p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- T1 </p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- 197 </p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- Ethernet 10m </p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- 1,113 </p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- Token ring </p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- 1,500 </p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- FDDI </p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- 6,250 </p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- Ethernet 100m </p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- 6,500[<A CLASS="footnote" HREF="#appb-pgfId-960131">3</a>]</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- ATM 155 </p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
- 7,125a </p></td></tr></tbody></table><BLOCKQUOTE CLASS="footnote">
-<DIV CLASS="footnote">
-<P CLASS="para">
-<A CLASS="footnote" NAME="appb-pgfId-960131">[3]</a> These will increase. For example, Crays, Sun Ultras, and DEC/Compaq Alphas already have bettered these figures.</p></div></blockquote><P CLASS="para">
-In the running example, we have a bottleneck at 560KB/s due to the disk. <A CLASS="xref" HREF="appb_03.html#appb-67604">
-Table B.4</a> shows us that a standard 10 megabit per second Ethernet (1,113KB/s) is far faster than the disk. Therefore, the hard disk is still the limiting factor. (This scenario, by the way, is very common.) Just by looking at the tables, we can predict that small servers won't have CPU problems, and that large ones with multiple CPUs will support striping and multiple Ethernets long before they start running out of CPU power. This, in fact, is exactly what happens.</p></div><DIV CLASS="sect2">
-<H3 CLASS="sect2">
-<A CLASS="title" NAME="appb-pgfId-948657">
-B.3.3 Practical Examples</a></h3><P CLASS="para">
-An example from <EM CLASS="emphasis">
-Configuration and Capacity Planning for Solaris Servers</em> (Wong) shows that a dual-processor SPARCstation 20/712 with four Ethernets and six 2.1 GB disks will spend all its time waiting for the disks to return some data. If it was loaded with disks (Brian Wong suggests as many as 34 of them), it would still be held below 1,200KB/s by the Ethernet cards. To get the performance the machine is capable of, we would need to configure multiple Ethernets, 100 Mbps Fast Ethernet, or 155 Mbps FDDI. </p><P CLASS="para">
-The progression you'd work through to get that conclusion looks something like <A CLASS="xref" HREF="appb_03.html#appb-26613">
-Table B.5</a>. </p><br>
-<TABLE CLASS="table" BORDER="1" CELLPADDING="3">
-<CAPTION CLASS="table">
-<A CLASS="title" NAME="appb-26613">
-Table B.5: Tuning a Medium-Sized Server </a></caption><THEAD CLASS="thead">
-<TR CLASS="row" VALIGN="TOP">
-<TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Machine</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Disk Throughput</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-CPU Throughput</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Network Throughput</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Actual Throughput</p></th></tr></thead><TBODY CLASS="tbody">
-<TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Dual SPARC 10, 1 disk </p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-<EM CLASS="emphasis">
-560</em></p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-6000 </p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-1,113 </p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-560 </p>
-</td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Add 5 more disks </p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-3,360 </p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-6000</p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-<EM CLASS="emphasis">
-1,113 </em></p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-1,113 </p>
-</td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Add 3 more Ethernets </p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-<EM CLASS="emphasis">
-3,360 </em></p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-16000</p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-4,452 </p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-3,360 </p>
-</td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Change to using a 20-disk array </p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-11,200 </p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-6000 </p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-<EM CLASS="emphasis">
-4,452</em> </p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-4,452 </p>
-</td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Use dual 100 Mbps ether </p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-<EM CLASS="emphasis">
-11,200 </em></p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-6000 </p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-13,000 </p>
-</td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-11,200</p>
-</td></tr></tbody></table><P CLASS="para">
-Initially, the bottleneck is the disk with only 560 MB/s of throughput available. Our solution is to add five more disks. This gives us more throughput on the disks than on the Ethernet, so then the Ethernet becomes the problem. Consequently, as we continue to expand, we go back and forth several times between these two. As you add disks, CPUs, and network cards, the bottleneck moves. Essentially, the strategy is to add more equipment to try to avoid each bottleneck until you reach your target performance, or (unfortunately) you either can't add any more or run out of money.</p><P CLASS="para">
-Our experience bears out this kind of calculation; a large SPARC 10 file server that one author maintained was quite capable of saturating an Ethernet plus about a third of an FDDI ring when using two processors. It did nearly as well with a single processor, albeit with a fast operating system and judicious over-optimization.</p><P CLASS="para">
-The same process applies to other brands of purpose-designed servers. We found the same rules applied to DECstation 2100s as to the newest Alphas or Compaqs, old MIPS 3350s and new SGI O2s. In general, a machine offering multi-CPU server configurations will have enough bus bandwidth and CPU power to reliably bottleneck on hard disk I/O when doing file service. As one would hope, considering the cost!</p></div><DIV CLASS="sect2">
-<H3 CLASS="sect2">
-<A CLASS="title" NAME="appb-pgfId-948730">
-B.3.4 How Many Clients can Samba Handle?</a></h3><P CLASS="para">
-Well, that depends entirely on how much data each user consumes. A small server with three SCSI-1 disks, which can serve about 960KB/s of data, will support between 36 and 80 clients in an ordinary office environment where they are typically loading, and saving equal-sized spreadsheets or word processing documents (36 clients × 2.3 transfers/second × 12k file 1 MB/s).</p><P CLASS="para">
-On the same server in a development environment with programmers running a fairly heavy edit-compile-test cycle, one can easily see requests for 1 MB/s, limiting the server to 25 or fewer clients. To take this a bit further, an imaging system whose clients each require 10 MB/s will perform poorly no matter how big a server is if they're all on a 10 MB/s Ethernet. And so on. </p><P CLASS="para">
-If you don't know how much data an average user consumes, you can size your Samba servers by patterning them after existing NFS, Netware, or LAN Manager servers. You should be especially careful that the new servers have as many disks and disk controllers as the ones you've copied. This technique is appropriately called "punt and hope."</p><P CLASS="para">
-If you know how many clients an existing server can support, you're in <EM CLASS="emphasis">
-much</em> better shape. You can analyze the server to see what its maximum capacity is and use that to estimate how much data they must be demanding. For example, if serving home directories to 30 PCs from a PC server with two IDE disks is just too slow, and 25 clients is about right, then you can safely assume you're bottlenecked on Ethernet I/O (approximately 375KB) rather than disk I/O (up to 640KB). If so, you can then conclude that the clients are demanding 15 (that is, 375/25)KB/s on average.</p><P CLASS="para">
-Supporting a new lab of 75 clients will mean you'll need 1,125KB/s, spread over multiple (preferably three) Ethernets, and a server with at least three 7200 RPM disks and a CPU capable of keeping up. These requirements can be met by a Pentium 133 or above with the bus architecture to drive them all at full speed (e.g., PCI).</p><P CLASS="para">
-A custom-built PC server or a multiprocessor-capable workstation like a Sun Sparc, a DEC/Compaq Alpha, an SGI, or the like, would scale up easier, as would a machine with fast Ethernet, plus a switching hub to drive the client machines on individual 10 MB/s Ethernets.</p><DIV CLASS="sect3">
-<H4 CLASS="sect3">
-<A CLASS="title" NAME="appb-pgfId-948739">
-B.3.4.1 How to guess</a></h4><P CLASS="para">
-If you have no idea at all what you need, the best thing is to try to guess based on someone else's experience. Each individual client machine can average from less than 1 I/O per second (normal PC or Mac used for sales/accounting) to as much as 4 (fast workstation using large applications). A fast workstation running a compiler can happily average 3-4 MB/s in data transfer requests, and an imaging system can demand even more. </p><P CLASS="para">
-Our recommendation? Spy on someone with a similar configuration and try to estimate their bandwidth requirements from their bottlenecks and the volume of the screams from their users. We also recommend Brian Wong's <CITE CLASS="citetitle">
-Configuration and Capacity Planning for Solaris Servers</cite>. While he uses Sun Solaris foremost in his examples, his bottlenecks are disks and network cards, which are common among all the major vendors. His tables for FTP servers also come very close to what we calculated for Samba servers, and make a good starting point.</p></div></div><DIV CLASS="sect2">
-<H3 CLASS="sect2">
-<A CLASS="title" NAME="appb-90359">B.3.5 Measurement Forms</a></h3><P CLASS="para">
-<A CLASS="xref" HREF="appb_03.html#appb-82208">Table B.6</a> and <A CLASS="xref" HREF="appb_03.html#appb-34846">
-Table B.7</a> are empty tables that you can use for copying and recording data. The bottleneck calculation in the previous example can be done in a spreadsheet, or manually with Table B-8. If Samba is as good as or better than FTP, and if there aren't any individual test runs that are much different from the average, you have a well-configured system. If loopback isn't much faster than anything else, you have a problem with your TCP/IP software. If both FTP and Samba are slow, you probably have a problem with your networking: a faulty Ethernet card will produce this, as will accidentally setting an Ethernet card to half-duplex when it's not connected to a half-duplex hub. Remember that CPU and disk speeds are commonly measured in bytes, network speeds in bits. </p><P CLASS="para">
-We've included columns for both bytes and bits in the tables. In the last column, we compare results to 10 Mb/s because that's the speed of a traditional Ethernet. <EM CLASS="emphasis">
- </em></p><br>
-<TABLE CLASS="table" BORDER="1" CELLPADDING="3">
-<CAPTION CLASS="table">
-<A CLASS="title" NAME="appb-82208">
-Table B.6: Ethernet Interface to Same Host: FTP </a></caption><THEAD CLASS="thead">
-<TR CLASS="row" VALIGN="TOP">
-<TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Run No</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Size in Bytes</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Time (sec) </p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Bytes/sec</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Bits/sec</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-% of 10 Mb/s</p></th></tr></thead><TBODY CLASS="tbody">
-<TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-1</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-2</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-3</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-4</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-5</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Average:</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Deviation:</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr></tbody></table><br>
-<TABLE CLASS="table" BORDER="1" CELLPADDING="3">
-<CAPTION CLASS="table">
-<A CLASS="title" NAME="appb-34846">
-Table B.7: Ethernet Interface to Same Host: FTP </a></caption><THEAD CLASS="thead">
-<TR CLASS="row" VALIGN="TOP">
-<TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Run No</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Size in Bytes</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Time, sec </p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Bytes/sec</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Bits/sec</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-% of 10 Mb/s</p></th></tr></thead><TBODY CLASS="tbody">
-<TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-1</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-2</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-3</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-4</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-5</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Average:</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Deviation:</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr></tbody></table><br>
-<TABLE CLASS="table" BORDER="1" CELLPADDING="3">
-<CAPTION CLASS="table">
-<A CLASS="title" NAME="appb-51003">
-Table B.8: Bottleneck Calculation Table</a></caption><THEAD CLASS="thead">
-<TR CLASS="row" VALIGN="TOP">
-<TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-CPU</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-CPUThroughput</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Number of Disks</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Disk Throughput</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Number of Networks</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Network Throughput</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Total Throughput</p></th></tr></thead><TBODY CLASS="tbody">
-<TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr></tbody></table><P CLASS="para">
-In <A CLASS="xref" HREF="appb_03.html#appb-51003">
-Table B.8</a>:</p><UL CLASS="itemizedlist">
-<LI CLASS="listitem">
-<P CLASS="para">
-<A CLASS="listitem" NAME="appb-pgfId-960325">
-</a>CPU throughput = (KB/second from Figure 6-5) × (number of CPUs)</p></li><LI CLASS="listitem">
-<P CLASS="para">
-<A CLASS="listitem" NAME="appb-pgfId-960301">
-</a>Disk throughput = (KB/second from Figure 6-4) × (number of disks)</p></li><LI CLASS="listitem">
-<P CLASS="para">
-<A CLASS="listitem" NAME="appb-pgfId-960305">
-</a>Network throughput = (KB/second from Figure 6-6) × (number of networks)</p></li><LI CLASS="listitem">
-<P CLASS="para">
-<A CLASS="listitem" NAME="appb-pgfId-960306">
-</a>Total throughput = min (Disk, CPU, and Network throughput)</p></li></ul><P CLASS="para">
-A typical test, in this case for an FTP <CODE CLASS="literal">
-get</code>, would be entered as in Table B-9: <EM CLASS="emphasis">
- </em> </p><br>
-<TABLE CLASS="table" BORDER="1" CELLPADDING="3">
-<CAPTION CLASS="table">
-<A CLASS="title" NAME="appb-37370">
-Table B.9: Ethernet Interface to Same Host: FTP </a></caption><THEAD CLASS="thead">
-<TR CLASS="row" VALIGN="TOP">
-<TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Run No</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Size in Bytes</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Time, sec </p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Bytes/sec</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Bits/sec</p></th><TH CLASS="entry" ALIGN="LEFT" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-% of 10 Mb/s</p></th></tr></thead><TBODY CLASS="tbody">
-<TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-1</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-1812898</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-2.3</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-761580</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-2</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-2.3</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-767820</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-3</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-2.4</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-747420</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-4</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-2.3</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-760020</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-5</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-2.3</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-772700</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Average:</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-2.32</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-777310</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-6218480</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-62</p></td></tr><TR CLASS="row" VALIGN="TOP">
-<TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-Deviation:</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-0.04</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td><TD CLASS="entry" ROWSPAN="1" COLSPAN="1">
-<P CLASS="para">
-</p></td></tr></tbody></table><P CLASS="para">
-The Sparc example we used earlier would look like Table B-10. <EM CLASS="emphasis">
- </em> </p><P CLASS="para">
-</p></div></div></blockquote>
-<div>
-<center>
-<hr noshade size=1><TABLE WIDTH="515" BORDER="0" CELLSPACING="0" CELLPADDING="0">
-<TR>
-<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="172">
-<A CLASS="sect1" HREF="appb_02.html" TITLE="B.2 Samba Tuning">
-<IMG SRC="gifs/txtpreva.gif" ALT="Previous: B.2 Samba Tuning" BORDER="0"></a></td><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171">
-<A CLASS="book" HREF="index.html" TITLE="">
-<IMG SRC="gifs/txthome.gif" ALT="" BORDER="0"></a></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172">
-<A CLASS="appendix" HREF="appc_01.html" TITLE="C. Samba Configuration Option Quick Reference">
-<IMG SRC="gifs/txtnexta.gif" ALT="Next: C. Samba Configuration Option Quick Reference" BORDER="0"></a></td></tr><TR>
-<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="172">
-B.2 Samba Tuning</td><TD ALIGN="CENTER" VALIGN="TOP" WIDTH="171">
-<A CLASS="index" HREF="inx.html" TITLE="Book Index">
-<IMG SRC="gifs/index.gif" ALT="Book Index" BORDER="0"></a></td><TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="172">
-C. Samba Configuration Option Quick Reference</td></tr></table><hr noshade size=1></center>
-</div>
-
-<!-- End of sample chapter -->
-<CENTER>
-<FONT SIZE="1" FACE="Verdana, Arial, Helvetica">
-<A HREF="http://www.oreilly.com/">
-<B>O'Reilly Home</B></A> <B> | </B>
-<A HREF="http://www.oreilly.com/sales/bookstores">
-<B>O'Reilly Bookstores</B></A> <B> | </B>
-<A HREF="http://www.oreilly.com/order_new/">
-<B>How to Order</B></A> <B> | </B>
-<A HREF="http://www.oreilly.com/oreilly/contact.html">
-<B>O'Reilly Contacts<BR></B></A>
-<A HREF="http://www.oreilly.com/international/">
-<B>International</B></A> <B> | </B>
-<A HREF="http://www.oreilly.com/oreilly/about.html">
-<B>About O'Reilly</B></A> <B> | </B>
-<A HREF="http://www.oreilly.com/affiliates.html">
-<B>Affiliated Companies</B></A><p>
-<EM>&copy; 1999, O'Reilly &amp; Associates, Inc.</EM>
-</FONT>
-</CENTER>
-</BODY>
-</html>