[Samba] SMB slow by design?

Jan Engelhardt jengelh at linux01.gwdg.de
Sat Jan 27 22:35:32 GMT 2007


On Jan 27 2007 22:46, Volker Lendecke wrote:
>On Sat, Jan 27, 2007 at 10:10:36PM +0100, Jan Engelhardt wrote:
>> In the win98--3.0.22 network I have observed that smbd takes a lot of 
>> %system CPU time when transferring files. Since I observe this slowness 
>> on three different setups, the question arises: is SMB/CIFS badly 
>> designed?
>
>Well, is it "designed" at all in any proper definition of
>"design"?
>
>Seriously, smbd should not eat significant amounts of CPU on
>a reasonably modern machine. Do you have your debug level
>set too high?

Ah I found it. This is smb.conf: http://pastebin.ca/330452
Removing SO_SNDBUF=8192 gives

$ smbget smb://localhost/rt/blob.iso
[blob.iso] 41.08Mb of 171.06Mb (24.01%) at 41.08Mb/s ETA: 00:00:03

perfect performance again. Wonder how that got in there *grumble*



Jan
-- 


More information about the samba mailing list