[Performance] Samba 3 vs. Samba 4 performance in NetBench

Andrew Tridgell tridge at osdl.org
Fri Jun 10 04:41:20 GMT 2005


Marc,

 > The BENCH-NBENCH 4 running over //127.0.0.1/share1 results showed that
 > samba 3 came in at about 26MB/s and samba 4 came in at about 23MB/s. I
 > need to do some more work here... I'll provide updates when I have them.

Attached is a graph of current Samba3 versus Samba4 performance with
BENCH-NBENCH. The details are:

 - kernel 2.6.10
 - 2.4 GHz dual Xeon with hyperthreading
 - 2G ram
 - single SCSI disk
 - ext2 filesystem
 - no xattr support

I chose ext2 as it tends to provide the least varience between runs
(it doesn't have any periodic journal flushing) and thus tends to be
better for looking purely at smbd performance in isolation. I got
similar results with ext3, and I'd be quite surprised if we find the
filesystem matters for Samba3 vs Samba4 results.

I also attach the scripts I used to produce the results, and the
samba3 and samba4 smb.conf files. Notice I recreate the filesystem
between runs to minimise any systematic errors.

Is there any chance you could try to minimise the software differences
between our two setups, to see if we can narrow down what is causing
us to get such different results?

Cheers, Tridge

-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba3-samba4.png
Type: image/png
Size: 4500 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050610/4214c409/samba3-samba4.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: do_run.sh
Type: application/octet-stream
Size: 467 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050610/4214c409/do_run.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extract.sh
Type: application/octet-stream
Size: 157 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050610/4214c409/extract.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smb.conf.samba3
Type: application/octet-stream
Size: 144 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050610/4214c409/smb.conf.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smb.conf.samba4
Type: application/octet-stream
Size: 172 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050610/4214c409/smb.conf-0001.obj


More information about the samba-technical mailing list