130 likes | 393 Views
Using the SNIA CIFS Benchmark Client to Test Samba Performance. John Terpstra Samba Team. The Test Setup. Server: AMD dual MP1500+, 1GB 3Ware 7500-4 RAID controller RAID0 3 WD 60GB 7200 drives from Frys Driver: AMD dual MP1600+, 512MB Network: Intel GigE Linux EXT2 Windows 2000 NTFS
E N D
Using the SNIA CIFS Benchmark Client to Test Samba Performance John Terpstra Samba Team
The Test Setup • Server: AMD dual MP1500+, 1GB • 3Ware 7500-4 RAID controller RAID0 • 3 WD 60GB 7200 drives from Frys • Driver: AMD dual MP1600+, 512MB • Network: Intel GigE • Linux EXT2 • Windows 2000 NTFS • No tuning of either environment A New CIFS Benchmark, 2002
Test Procedure • Installed Client on driver system • Built it • Ran shell script to gather data • 1, 2, 5, 10, 15, … 60 clients • Used client_plain_noclean.txt • Very simple to build and run A New CIFS Benchmark, 2002
Socklib throughput • Platform can saturate GigE A New CIFS Benchmark, 2002
Throughput Samba & Win2K A New CIFS Benchmark, 2002
Analysis of Comparison • EXT2 and NTFS have different goals • NTFS is a journaling file system with data journaling • Expect EXT2 performance to be better A New CIFS Benchmark, 2002
Average Latencies for Samba A New CIFS Benchmark, 2002
Analysis of Latencies • Something odd about Query File System Info and Query File Info • Especially since they are moving very little data • Write has higher average latency than read • To be expected A New CIFS Benchmark, 2002
Read and Write Throughput A New CIFS Benchmark, 2002
Total Contribution of each Op A New CIFS Benchmark, 2002
Make Priority Setting Easy • Focus on the operations with biggest overall contribution • Reduce total benchmark time • Improve throughput • Implementing sendfile for reads can make a big difference A New CIFS Benchmark, 2002
Further work • Comparison of other file systems • EXT2 • EXT3 • Reiser • XFS • Easier result extraction needed • Perl script or similar • Produce a csv file of all relevant data A New CIFS Benchmark, 2002
Acknowledgments • Andrew Tridgell • Samba Team • Steve French • Swami Ramany • Dan Oldman • Jim Norton • Tamir Ram • Rakesh Sharma • Richard Sharpe A New CIFS Benchmark, 2002