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. Version in use samba 3.2.5-4lenny7, and I'd rather not change off the formal release path unless it'll make a big improvement. Cheers, Steve -- Steve Holdoway <steve at greengecko.co.nz> http://www.greengecko.co.nz MSN: steve at greengecko.co.nz GPG Fingerprint = B337 828D 03E1 4F11 CB90 853C C8AB AF04 EF68 52E0 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://lists.samba.org/pipermail/samba/attachments/20100118/b0cff628/attachment.pgp>
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>