[Samba] suggestions for a "fast" fileserver - 1G / 10G

Sabuj Pattanayek sabujp at gmail.com
Sat Mar 22 10:55:13 MDT 2014


>
>
> E.g. from my Mac Pro I get smb r/w +- 40MB/s, with ftp I get 90MB/s on a
> 1Gbit Server.
>
> So I try to eliminate some bottle necks. But where are they?
>
> I know there are some protocol overheads etc. comparing smb and e.g. ftp.
>

What samba version are you running ? I'm using the latest (or close to
latest) samba sernet 4.1.x . I think you're running into protocol
overheads. I got the same max 40MB/s on reads and writes over a gig
connection to our server which has 2x10gb LACP bond from a linux client
running RHEL6/CENTOS6 the kernel for which only supports smb protocol ver=1
mounts. Between the client and the server there are 2 10gbps hops, we're
getting 0.2ms ping latency from the client to the server. Using smbclient
-m 3 I was able to get ~110MB/s on writes and reads from the same client
(using smbclient from the same samba-sernet 4.1.x packages). From a windows
7 and 8 client I was able to get the same 110MB/s .

Anyone know how to determine the smb protocol version of connected clients
on the server side without turning up connection logging, i.e. is there
some command like smbstatus which might list this information (I couldn't
find it in the output of smbstatus even with -v -d 10) and wasn't able to
find it through the net commands.


More information about the samba mailing list