[Samba] Extremely slow Samba3 performance with ArcView/WinXP

Gerald Drouillard gerrylist at drouillard.ca
Thu Dec 22 17:55:30 GMT 2005


Andreas Haumer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi!
> 
> I have a user who is running a Samba server to store data
> files for his ArcView 3.3 application. Client operating
> system is Windows XP professional.
> 
> With Samba2 (2.2.8a) this was working quite fine, it usually
> took less than a few seconds to load and render one of the
> GIS presentations with ArcView.
> 
> We then did an upgrade to Samba3 (3.0.20b) and suddenly
> the same operation now takes more than 20 seconds or even
> minutes in some cases. You can even see the picture forming
> slowly on the screen. Other applications do not suffer from
> performance problems (The new Samba3 server is a really fast
> Dual Opteron server with 4GB of RAM and a fast external U320
> RAID running under Linux-2.4.31)
> 
> I took a IP traffic dump with tcpdump and also samba logs
> with loglevel 10 and found that there are a _lot_ of small
> packets going between the WinXP client and the Samba3 server.
> 
> 
> [global]
>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>         kernel oplocks = Yes
>         lock spin count = 3
>         lock spin time = 10

Have a look at:
http://www.drouillard.ca/Tips&Tricks/Samba/Oplocks.htm

-- 
Regards
--------------------------------------
Gerald Drouillard
Technology Architect
Drouillard & Associates, Inc.
http://www.Drouillard.ca


More information about the samba mailing list