Hai,
I did a few test from my print server on a Xen Server 7.2.x
Guest VM Debian 9, 1GB NIC, 15K SCSI raid 1 disk for the Xen server. ( and just
2 disks )
Filesystem all Ext4, default settings.
- VM's on the same XEN Host small file, about 25Mb.
smbclient -U username at REALM //hostname.internal.example.com/users --directory
username -c 'put src-amd64.tar.gz' -mSMB3
Enter username at REALM's password:
OS=[Windows 6.1] Server=[Samba 4.6.8-Debian]
putting file src-amd64.tar.gz as \username\src-amd64.tar.gz (117504.1 kb/s)
(average 117504.1 kb/s)
A bigger file 740Mb.
smbclient -U -U username at REALM //hostname.internal.example.com/users
--directory username -c 'get someones.pst' -mSMB3
Enter username at REALM's password:
getting file \username\someones.pst of size 757810176 as someones.pst (175825.4
KiloBytes/sec) (average 175825.4 KiloBytes/sec)
Client/server are samba 4.6.8 in this test and are on the same Xen Server, so
bit onrealistic..
- VM on the same XEN Host + Dedicated server
Test 2. ( 2 guest VMS and 2 Xen servers 7.2.x)
Same command ( the 740Mb file, -mSMB3 )
Server : samba 4.5.8 MEMBER: original Debian Client : samba 4.6.8, own package:
size 757810176 as someones.pst (89388.7 KiloBytes/sec) (average 89388.7
KiloBytes/sec)
Server : samba 4.6.8 DC: own package Client : samba 4.6.8, own package:
757810176 as someones.pst (86494.7 KiloBytes/sec) (average 86494.7
KiloBytes/sec)
Same but with SMB2
757810176 as someones.pst (93029.4 KiloBytes/sec) (average 93029.4
KiloBytes/sec)
I still say, check you bonding and/or, test with only 1 of the bonded nics.
And cleanup you smb.conf, remove all defaults etc.
- Test 3. ( configured samba in VM, unconfigured samba in Dedicated hardware )
( smbclient -U -U username at REALM //hostname.internal.example.com/users
--directory username -c 'get someones.pst' -mSMB3 )
The Dedicated hardware, did not have samba, and just an apt-get install
smblcient was done.
Copy from VM to dedicated hardware, VM-samba 4.6.8, D-hw samba 4.7.0 ( own
package )
757810176 as someones.pst (102160.3 KiloBytes/sec) (average 102160.3
KiloBytes/sec)
Now, here is getting interesting.
Test 3.1 -mSMB2 ( first time.)
someones.pst (55894.9 KiloBytes/sec) (average 55894.9 KiloBytes/sec)
rm someones.pst
Test 3.2 again with -mSMB2
757810176 as someones.pst (102741.8 KiloBytes/sec) (average 102741.8
KiloBytes/sec)
Test3.3 multiple times again with -mSMB3 ( removed the pst file every time )
757810176 as someones.pst (52281.8 KiloBytes/sec) (average 52281.8
KiloBytes/sec)
757810176 as someones.pst (104291.0 KiloBytes/sec) (average 104291.0
KiloBytes/sec)
757810176 as someones.pst (102075.7 KiloBytes/sec) (average 102075.7
KiloBytes/sec)
757810176 as someones.pst (102019.4 KiloBytes/sec) (average 102019.4
KiloBytes/sec)
Test 3.4 multiple times again with -mSMB3 ( removed the pst file every time )
757810176 as someones.pst (96310.4 KiloBytes/sec) (average 96310.4
KiloBytes/sec)
757810176 as someones.pst (102485.7 KiloBytes/sec) (average 102485.7
KiloBytes/sec)
757810176 as someones.pst (100427.3 KiloBytes/sec) (average 100427.3
KiloBytes/sec)
So, my conclusion here, something funky, yes.
And higher samba versions get better results.
Why did i get 2 times an average ~52281.8 of KiloBytes/sec but mostly, high
numbers.
Normal log levels while testing, and nothing in the logs.
I'll go dig deeper.. See if i can find something here, because these ~52281
should not be there.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Dr.
> Peer-Joachim Koch via samba
> Verzonden: maandag 6 november 2017 9:35
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] samba 4.x slow ...
>
> 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; ...)
>
> Bye, Peer
>
>
> On 03.11.2017 17:01, Jeremy Allison wrote:
> > On Fri, Nov 03, 2017 at 01:54:10PM +0100, Dr. Peer-Joachim
> Koch via samba wrote:
> >> Hi Micha,
> >>
> >> no, I have to this. I'm normally just check what smbstatus
shows:
> >>
> >> 33837 BGC\pkoch users XXX (ipv4:XXX:51118) SMB2_10
> >>
> >> Bye the way - 45 MB/s is not so bad, I just wanted to know if
it's
> >> possible to get 90MB/s or at 10G a little bit more.
> >> What has been messaured ?
> >>
> >> I used on a new HPC node (10G) smbclient to test the transfer
speed
> >> and get (10G<->10G) 199MB (mtu 1500).
> >>
> >> 33692 pkoch users 10.0.3.100
> >> (ipv4:10.0.3.100:54821) NT1
> >>
> >> Using smbclient (using NT1) we see the following values:
> >>
> >> Cl Server (using get)
> >> 10GB <-> 10GB 199MB/s
> >> 10GB <-> 2x1GB 162MB/s (??? )
> >> 1GB <-> 2x1GB 60MB/s
> >>
> >>
> >> Cl Server (using put)
> >> 10GB <-> 2x1GB ~100MB/s
> >> 1GB <-> 2x1GB 50MB/s
> > Try using SMB3 (smbclient -mSMB3). See if that makes a difference.
>
>
> --
> Mit freundlichen Grüßen,
> Peer-Joachim Koch
> ________________________________________________________
>
> 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
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>