On Mon, Nov 06, 2017 at 09:35:06AM +0100, Dr. Peer-Joachim Koch via samba wrote:> Setup: Server 2x10GB NIC, client 1x1GB: > > Using smbclient with -mSMB3 I get an average of 52000 KiloBytes/sec (before > 45000), > > using NFS (v3) from the same server I get 108000 KiloBytes/sec an more > (mount ; cp; umount; ...)So I don't think it's the client. The smbclient code is very efficient, pipelining reads and writes. Is the server using async io ?
On Mon, Nov 06, 2017 at 09:27:24AM -0800, Jeremy Allison via samba wrote:> On Mon, Nov 06, 2017 at 09:35:06AM +0100, Dr. Peer-Joachim Koch via samba wrote: > > Setup: Server 2x10GB NIC, client 1x1GB: > > > > Using smbclient with -mSMB3 I get an average of 52000 KiloBytes/sec (before > > 45000), > > > > using NFS (v3) from the same server I get 108000 KiloBytes/sec an more > > (mount ; cp; umount; ...) > > So I don't think it's the client. The smbclient code is very efficient, > pipelining reads and writes. Is the server using async io ?Not according to the smb.conf. Please set aio read size = 1 aio write size = 1 and retry. Thanks, Volker -- SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de, mailto:kontakt at sernet.de
Hi, adding the settings below (both were unconfigured) we see the following values On 07.11.2017 06:29, Volker Lendecke wrote:> aio read size = 1 > aio write size = 1Server 10G - Client 1G (iso file ~600MB) GET #1 111937 KB/s #2 94442 KB/s #3 94457 KB/s PUT #1 84833 KB/s #2 96711 KB/s #3 100427 KB/s Server 2 x 1G - Client 1G (iso file ~600MB) GET #1 85522 KB/s #2 92838 KB/s #3 93861 KB/s PUT #1 112197 KB/s #2 112392 KB/s #3 112189 KB/s I think those values are OK. Thanks a lot for all hints. Maybe later I will find some time to test all options discussed in this thread. -- Bye, Peer ________________________________________________________ Max-Planck-Institut für Biogeochemie Dr. Peer-Joachim Koch Hans-Knöll Str.10 Telefon: ++49 3641 57-6705 D-07745 Jena Telefax: ++49 3641 57-7705