[Samba] performance tweaks??

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Jan 18 00:19:07 MST 2010


On Mon, Jan 18, 2010 at 11:12:19AM +1300, steve wrote:
> Has anyone any tips on improving samba performance with debian lenny? 
> 
> I've set up a raid 0 partition on a couple of new WD 1TB disks,
> formatting the majority of it as a single reiserfs partition. I must
> admit I should probably have set the blocksize to something other than
> the default at the time, but now it's well populated, changing stuff
> like that is going to be a big problem.
> 
> Performance is pretty poor to put it politely - primary use is a single
> samba share with a very large directory structure, millions of files.
> Can anyone suggest any improvements that can stop it being that slow? I
> regularly see 50+% in waitio.

Do you have individual directories with huge numbers of
files? This is a known performance problem with a
workaround:

case sensitive = yes
preserve case = no
short preserve case = no

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20100118/8e63a43c/attachment.pgp>


More information about the samba mailing list