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