first pass at updating head branch to be to be the same as the SAMBA_2_0 branch
[samba.git] / docs / textdocs / Speed2.txt
1 !==
2 !== Speed2.txt for Samba release 2.0.4 18 May 1999
3 !==
4 Contributor:    Paul Cochrane <paulc@dth.scot.nhs.uk>
5 Organization:   Dundee Limb Fitting Centre
6 Date:           Fri, 10 Apr 1998
7 Subject:        Samba SPEED.TXT comment
8 =============================================================================
9
10 This might be relevant to Client Tuning. I have been trying various methods
11 of getting win95 to talk to Samba quicker. The results I have come up with
12 are:
13
14 1. Install the W2setup.exe file from www.microsoft.com. This is an 
15 update for the winsock stack and utilities which improve performance.
16
17 2. Configure the win95 TCPIP registry settings to give better 
18 perfomance. I use a program called MTUSPEED.exe which I got off the 
19 net. There are various other utilities of this type freely available. 
20 The setting which give the best performance for me are:
21
22 (a) MaxMTU                  Remove
23 (b) RWIN                    Remove
24 (c) MTUAutoDiscover         Disable
25 (d) MTUBlackHoleDetect      Disable
26 (e) Time To Live            Enabled
27 (f) Time To Live - HOPS     32
28 (g) NDI Cache Size          0
29
30 3. I tried virtually all of the items mentioned in the document and 
31 the only one which made a difference to me was the socket options. It 
32 turned out I was better off without any!!!!! 
33
34 In terms of overall speed of transfer, between various win95 clients 
35 and a DX2-66 20MB server with a crappy NE2000 compatible and old IDE 
36 drive (Kernel 2.0.30). The transfer rate was reasonable for 10 baseT.
37
38 The figures are:          Put              Get 
39 P166 client 3Com card:    420-440kB/s      500-520kB/s
40 P100 client 3Com card:    390-410kB/s      490-510kB/s
41 DX4-75 client NE2000:     370-380kB/s      330-350kB/s
42
43 I based these test on transfer two files a 4.5MB text file and a 15MB 
44 textfile. The results arn't bad considering the hardware Samba is 
45 running on. It's a crap machine!!!!
46
47 The updates mentioned in 1 and 2 brought up the transfer rates from 
48 just over 100kB/s in some clients.
49
50 A new client is a P333 connected via a 100MB/s card and hub. The 
51 transfer rates from this were good: 450-500kB/s on put and 600+kB/s 
52 on get.
53
54 Looking at standard FTP throughput, Samba is a bit slower (100kB/s 
55 upwards). I suppose there is more going on in the samba protocol, but 
56 if it could get up to the rate of FTP the perfomance would be quite 
57 staggering.
58
59 Paul Cochrane
60