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

Andrew Tridgell tridge at osdl.org
Fri Jun 10 03:10:22 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.

ok, good, being able to reproduce this with BENCH-NBENCH should make
it easier to track down. We'll just need to run through the
differences between our two setups and elminate them one by one until
we get to the critical difference.

I'll do a series of runs here today, and send you the results this
evening. I'll also send you the scripts I'm using and the kernel
version etc.

The ideal result is that we work out why Samba4 is slow in your tests,
and why Samba3 is slow in mine, and improve both!

 > Ok, I can get this if you want it. These will be very large files, so
 > maybe I'll put them somewhere for you on samba.org when I get them.

that sounds good, thanks. Maybe compress them with rzip? It should
handle them quite well.

 > Opens seem faster on average in Samba 4, but both reads and writes are a
 > good deal slower.

The spreadsheet you sent compares Samba4_xattrs to Samba4_eadb (or at
least that is what the tables are titled). Can you give me the
no-xattr, no-oplock comparison details between Samba3 and Samba4?

Cheers, Tridge


More information about the samba-technical mailing list