diff options
Diffstat (limited to 'docs/htmldocs/speed.html')
| -rw-r--r-- | docs/htmldocs/speed.html | 111 | 
1 files changed, 52 insertions, 59 deletions
| diff --git a/docs/htmldocs/speed.html b/docs/htmldocs/speed.html index 85562e3e89..047929af48 100644 --- a/docs/htmldocs/speed.html +++ b/docs/htmldocs/speed.html @@ -9,15 +9,12 @@ CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK  REL="HOME"  TITLE="SAMBA Project Documentation"  HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Optional configuration" -HREF="optional.html"><LINK  REL="PREVIOUS" -TITLE="Group mapping HOWTO" -HREF="groupmapping.html"><LINK +TITLE="Quick Cross Subnet Browsing / Cross Workgroup Browsing guide" +HREF="browsing-quick.html"><LINK  REL="NEXT" -TITLE="Appendixes" -HREF="appendixes.html"></HEAD +TITLE="HOWTO Access Samba source code via CVS" +HREF="cvs-access.html"></HEAD  ><BODY  CLASS="CHAPTER"  BGCOLOR="#FFFFFF" @@ -45,7 +42,7 @@ WIDTH="10%"  ALIGN="left"  VALIGN="bottom"  ><A -HREF="groupmapping.html" +HREF="browsing-quick.html"  ACCESSKEY="P"  >Prev</A  ></TD @@ -59,7 +56,7 @@ WIDTH="10%"  ALIGN="right"  VALIGN="bottom"  ><A -HREF="appendixes.html" +HREF="cvs-access.html"  ACCESSKEY="N"  >Next</A  ></TD @@ -74,15 +71,15 @@ CLASS="CHAPTER"  ><A  NAME="SPEED"  ></A ->Chapter 23. Samba performance issues</H1 +>Chapter 17. Samba performance issues</H1  ><DIV  CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3065" +NAME="AEN2742"  ></A ->23.1. Comparisons</H1 +>17.1. Comparisons</H1  ><P  >The Samba server uses TCP to talk to the client. Thus if you are  trying to see if it performs well you should really compare it to @@ -111,17 +108,17 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3071" +NAME="AEN2748"  ></A ->23.2. Oplocks</H1 +>17.2. Oplocks</H1  ><DIV  CLASS="SECT2"  ><H2  CLASS="SECT2"  ><A -NAME="AEN3073" +NAME="AEN2750"  ></A ->23.2.1. Overview</H2 +>17.2.1. Overview</H2  ><P  >Oplocks are the way that SMB clients get permission from a server to  locally cache file operations. If a server grants an oplock @@ -155,9 +152,9 @@ CLASS="SECT2"  ><H2  CLASS="SECT2"  ><A -NAME="AEN3081" +NAME="AEN2758"  ></A ->23.2.2. Level2 Oplocks</H2 +>17.2.2. Level2 Oplocks</H2  ><P  >With Samba 2.0.5 a new capability - level2 (read only) oplocks is  supported (although the option is off by default - see the smb.conf @@ -179,9 +176,9 @@ CLASS="SECT2"  ><H2  CLASS="SECT2"  ><A -NAME="AEN3087" +NAME="AEN2764"  ></A ->23.2.3. Old 'fake oplocks' option - deprecated</H2 +>17.2.3. Old 'fake oplocks' option - deprecated</H2  ><P  >Samba can also fake oplocks, by granting a oplock whenever a client   asks for one. This is controlled using the smb.conf option "fake  @@ -200,9 +197,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3091" +NAME="AEN2768"  ></A ->23.3. Socket options</H1 +>17.3. Socket options</H1  ><P  >There are a number of socket options that can greatly affect the  performance of a TCP based server like Samba.</P @@ -228,9 +225,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3098" +NAME="AEN2775"  ></A ->23.4. Read size</H1 +>17.4. Read size</H1  ><P  >The option "read size" affects the overlap of disk reads/writes with  network reads/writes. If the amount of data being transferred in @@ -254,9 +251,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3103" +NAME="AEN2780"  ></A ->23.5. Max xmit</H1 +>17.5. Max xmit</H1  ><P  >At startup the client and server negotiate a "maximum transmit" size,  which limits the size of nearly all SMB commands. You can set the @@ -277,9 +274,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3108" +NAME="AEN2785"  ></A ->23.6. Locking</H1 +>17.6. Locking</H1  ><P  >By default Samba does not implement strict locking on each read/write  call (although it did in previous versions). If you enable strict @@ -294,9 +291,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3112" +NAME="AEN2789"  ></A ->23.7. Share modes</H1 +>17.7. Share modes</H1  ><P  >Some people find that opening files is very slow. This is often  because of the "share modes" code needed to fully implement the dos @@ -324,9 +321,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3117" +NAME="AEN2794"  ></A ->23.8. Log level</H1 +>17.8. Log level</H1  ><P  >If you set the log level (also known as "debug level") higher than 2  then you may suffer a large drop in performance. This is because the @@ -338,9 +335,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3120" +NAME="AEN2797"  ></A ->23.9. Wide lines</H1 +>17.9. Wide lines</H1  ><P  >The "wide links" option is now enabled by default, but if you disable  it (for better security) then you may suffer a performance hit in @@ -352,9 +349,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3123" +NAME="AEN2800"  ></A ->23.10. Read raw</H1 +>17.10. Read raw</H1  ><P  >The "read raw" operation is designed to be an optimised, low-latency  file read operation. A server may choose to not support it, @@ -374,9 +371,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3128" +NAME="AEN2805"  ></A ->23.11. Write raw</H1 +>17.11. Write raw</H1  ><P  >The "write raw" operation is designed to be an optimised, low-latency  file write operation. A server may choose to not support it, @@ -391,9 +388,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3132" +NAME="AEN2809"  ></A ->23.12. Read prediction</H1 +>17.12. Read prediction</H1  ><P  >Samba can do read prediction on some of the SMB commands. Read  prediction means that Samba reads some extra data on the last file it @@ -417,9 +414,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3139" +NAME="AEN2816"  ></A ->23.13. Memory mapping</H1 +>17.13. Memory mapping</H1  ><P  >Samba supports reading files via memory mapping them. One some  machines this can give a large boost to performance, on others it @@ -438,9 +435,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3144" +NAME="AEN2821"  ></A ->23.14. Slow Clients</H1 +>17.14. Slow Clients</H1  ><P  >One person has reported that setting the protocol to COREPLUS rather  than LANMAN2 gave a dramatic speed improvement (from 10k/s to 150k/s).</P @@ -455,9 +452,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3148" +NAME="AEN2825"  ></A ->23.15. Slow Logins</H1 +>17.15. Slow Logins</H1  ><P  >Slow logins are almost always due to the password checking time. Using  the lowest practical "password level" will improve things a lot. You @@ -468,9 +465,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3151" +NAME="AEN2828"  ></A ->23.16. Client tuning</H1 +>17.16. Client tuning</H1  ><P  >Often a speed problem can be traced to the client. The client (for  example Windows for Workgroups) can often be tuned for better TCP @@ -572,9 +569,9 @@ CLASS="SECT1"  ><H1  CLASS="SECT1"  ><A -NAME="AEN3183" +NAME="AEN2860"  ></A ->23.17. My Results</H1 +>17.17. My Results</H1  ><P  >Some people want to see real numbers in a document like this, so here  they are. I have a 486sx33 client running WfWg 3.11 with the 3.11b @@ -613,7 +610,7 @@ WIDTH="33%"  ALIGN="left"  VALIGN="top"  ><A -HREF="groupmapping.html" +HREF="browsing-quick.html"  ACCESSKEY="P"  >Prev</A  ></TD @@ -631,7 +628,7 @@ WIDTH="33%"  ALIGN="right"  VALIGN="top"  ><A -HREF="appendixes.html" +HREF="cvs-access.html"  ACCESSKEY="N"  >Next</A  ></TD @@ -641,21 +638,17 @@ ACCESSKEY="N"  WIDTH="33%"  ALIGN="left"  VALIGN="top" ->Group mapping HOWTO</TD +>Quick Cross Subnet Browsing / Cross Workgroup Browsing guide</TD  ><TD  WIDTH="34%"  ALIGN="center"  VALIGN="top" -><A -HREF="optional.html" -ACCESSKEY="U" ->Up</A -></TD +> </TD  ><TD  WIDTH="33%"  ALIGN="right"  VALIGN="top" ->Appendixes</TD +>HOWTO Access Samba source code via CVS</TD  ></TR  ></TABLE  ></DIV | 
