Revisited: Samba, Linux 2.4 & Netbench Scalability

From: Andrew Theurer (
Date: Tue Jul 24 2001 - 19:46:46 EST

On Wed, 09 May, I sent email to LKML about my initial efforts for measuring
samba scalability on linux 2.4. I want to give you an update on what has
been going on since then. I also want to thank all that responded with
suggestions; you have been very helpful. OK, things that have changed:

-Same server (8 x 700 MHz/1MB L2 Xeon, Profusion chipset)
-New network: 4 x Intel PRO/1000-SX
-New clients: 44 (quantity changes based on availability) of
  PIII-866 MHz, 256MB, W2K (replaced 16 of PII-500, 128MB, NT4)

-Samba 2.0.7 -> Samba 2.2.0 (no major performance impact)
-Various linux kernels & patches, including zerocopy.

The hardware has changed some, but the core stuff is still there. Netbench
performance on a 4-way configuration is now at 755 Mbps. Last time I
reported, I measured 405 Mbps with the old config (16 slower clients and 8
ethernet cards). I had a significant jump with the new clients and Gbps
ethernet (from 405 to 482 Mbps, to my surprise, mostly due to the new
clients). The results below show improvements after the new configuration
was complete, and shows progression from 482 Mbps to 755 Mbps for a 4-way
configuration. Also, monthly baseline tests also include UP and 2P

The main web page for all the results:

May's results show effects of socket buffer size, interrupt delay, and IRQ

June's results show effects of sendfile(), zerocopy, and process affinity:

So far I am pleased with the performance of samba/linux. However, I do think
it can be improved, and I intend to do whatever I can to help make it better.
 If you are interested in improving samba performance on linux, email me or
contact the lse project on sourceforge (


Andrew Theurer

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:19 EST