[Samba] massive performance problems if transferring many small files

Jeremy Allison jra at samba.org
Wed Feb 11 17:39:05 GMT 2004


On Wed, Feb 11, 2004 at 09:29:47AM +0100, Steffen Kauka wrote:
> 
> You did suggest to try Samba 3 - I did it. My test environment consists of a
> PC (Pentium 4 2.4 GHz CPU and 512 MB RAM), a SUN Blade 100 (500 MHz CPU, 256
> MB RAM) and between both a switched network at a speed of 100 MBit/s. The
> smb.conf is the same as I mentioned in my initially posting. Unfortunately I
> couldn't recognize any significant difference between Samba 2.2.8a and Samba
> 3.0.1 :-( Now the good news! If I change the option 'preserve case' to 'yes'
> the transfer rate increases by about 550% and that's really ok.  I don't expect
> any problems in this case because the source data I want to transfer are
> lower case at all and UNIX-like. What do you mean with nasty implications? At
> the moment I can't imagine a case. 

Well this will work perfectly for your environment, where you have a read-only
data set whose filenames you control the case of. It won't work in the general
case where Windows apps create files though.

Jeremy.


More information about the samba mailing list