[Samba] Samba 3.5 slow. Help with benchmarks !

live.fx live.fx.mail at gmail.com
Mon Mar 15 02:03:43 MDT 2010



John M. Drescher wrote:
> 
> The "switch" here is a metaphor for ability to change the default
> socket options.
> Basically giving you an ability to change some setting does not mean
> the setting will help if you do change it.
> John
> 

Nice metaphor...  I have insane number of trying, with all possible switches
combinations and no luck. 

I want to see good SAMBA speed testing results, if this possible. 
===============
What results i have today:

1. iperf test between Linux client and Server:

linuxnode1:~ # iperf -c Server -p 5001 -fm
------------------------------------------------------------
Client connecting to Server, TCP port 5001
TCP window size: 0.02 MByte (default)
------------------------------------------------------------
[  3] local 192.168.0.34 port 49825 connected with 192.168.0.210 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1125 MBytes    943 Mbits/sec

linuxnode1:~ # iperf -c Server -p 5001 -fm
------------------------------------------------------------
Client connecting to Server, TCP port 5001
TCP window size: 0.02 MByte (default)
------------------------------------------------------------
[  3] local 192.168.0.34 port 49828 connected with 192.168.0.210 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1125 MBytes    943 Mbits/sec

2. Copying 4GB file with SMB, NFS, and FTP to Server: ATTENTION - this
copying from linux, who mount Server trough CIFS. Test with windows copying
show different results - slower. 

Copying to SMB share:
linuxnode1:~ # time cp /4GB_test.file /mnt/Server/
real    2m36.703s
user    0m0.079s
sys     0m11.794s

Copying to NFS share:
linuxnode1:~ # time cp /4GB_test.file /Server/Projects/
real    4m28.546s
user    0m0.180s
sys     0m30.209s

linuxnode1:/ # time cp -v /4GB_test.file /WinClient1/In_Out_Box/
`/4GB_test.file' -> `/WinClient1/In_Out_Box/4GB_test.file'

real    2m19.588s
user    0m0.077s
sys     0m8.274s

linuxnode1:/ #time scp /4GB_test.file user at Server:/mnt/RAID/Projects
Password:
4GB_test.file                                                                                                                  
100% 4096MB  58.5MB/s   01:10

real    1m12.289s
user    0m49.811s
sys     0m8.542s

===================================
Question. 
What points, configs can i check, for getting faster SAMBA ? 

And my primary question: Can SAMBA connections be fast like "Windows ->
Windows" connections ? Or i try to get something unreal ?

If yes - next questions:
1. SAMBA speed is depend from kernel or OS  or both ? I use kernel
2.6.31.12-0.1-desktop, and OS=openSUSE 11.2 x86.  
2. What difference between copying big files to SMB share and small ? 

Very Many Thanks for answers.. 
-- 
View this message in context: http://old.nabble.com/Samba-3.5-slow.-Help-with-benchmarks-%21-tp27894473p27901266.html
Sent from the Samba - General mailing list archive at Nabble.com.



More information about the samba mailing list