just to verify basic facts: Did you cross check vie network sniff, on which SMB protocol versions Server + Win 7 clients agree ? Or did you pin down via registry ? AFAIK only starting with win 8 or win 10 clients you could ask with powershell, which protocol version is in use. Did you also cross check samba logs for a name resolution issue ( windows names, not DNS) if one of your boxes is an commercial appliance alignment issues may be excluded ... if you get reasonable throughput via NFS, this points to "where is a difference in your environment between NFS and SMB / CIFS). hth Micha
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 Bye, Peer On 03.11.2017 11:58, Michael Arndt wrote:> just to verify basic facts: > > Did you cross check vie network sniff, on which SMB protocol versions Server + Win 7 clients agree ? > Or did you pin down via registry ? > > AFAIK only starting with win 8 or win 10 clients you could ask with powershell, which protocol version is in use. > > Did you also cross check samba logs for a name resolution issue ( windows names, not DNS) > if one of your boxes is an commercial appliance alignment issues may be excluded ... > if you get reasonable throughput via NFS, this points to "where is a difference in your environment between NFS and SMB / CIFS). > > hth > Micha >-- 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
Am 03.11.2017 um 13:54 schrieb Dr. Peer-Joachim Koch via samba:> 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 ?90 MB/sec from our RAID10 box to my workstation * server CentOS7 * workstation Fedora 26
Hai,> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Reindl Harald via samba > Verzonden: vrijdag 3 november 2017 14:02 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] samba 4.x slow ... > > > Am 03.11.2017 um 13:54 schrieb Dr. Peer-Joachim Koch via samba: > > 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 ? > > 90 MB/sec from our RAID10 box to my workstation > > * server CentOS7 > * workstation Fedora 26 > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >115MB/s with raid1 on 1GB to dedicated hardware. ~95MB/s to guest VM on a Xen server. ( same hardware as above)> > Bye the way - 45 MB/s is not so badReally, i would be craying if i see that... And even more with a 10Gbe... Buckets of tears.. By example. Even my E350amd (800-1600Mhz) ( software raid 1 ), on 5400k disk over 1GB/s get the 90-115MB/s Even when im watching a move, downloading at 5-6MB/s, and only when extraxting it drops to 50-70MB/s due. ( ubuntu 17.10, ubuntu samba 4.5.12 ) ( but with optimize partition block sizes ) No changes since samba 4.2.x here this was ubuntu 14.04 at start. With a 10Gbe and a MTU of 1500, i suggest set your mtu to 9000 ( jumbo MTU) for the 10Gbe cards and/or per interface/ip. If you need a mtu of 1500 for some interface, you can also disable PMTU and force lower mtu for these. By example what i use, which can be added in sysct.conf #(optional) Disable Path MTU discovery to prevent packet fragmentation problems. # net/ipv4/ip_no_pmtu_disc=1 # To prevent IP packet fragmentation, we'll tell IPTables to reduce the size of packets by adjusting the packets' maximum segment size. # This prevents issues with some VPN clients. iptables -A PREROUTING -i INTERFACE -p tcp -m tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1361:1536 -j TCPMSS --set-mss 1360 iptables -A PREROUTING --match policy --pol loweringmtu --dir in -i INTERFACE -p tcp -m tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1361:1536 -j TCPMSS --set-mss 1360 Last, try changing the interface line. interfaces = lo BOND_IP_HERE The interfaces line used, looks wrong also, i never use it, but from man smb.conf: interface[;key1=value1[,key2=value2[...]]] Yours, shows: interfaces = lo bond0:min or did something drop off in the email... ;-) In cases like this is start with testing the IO throughput on the disk/partitions first. When these are ok, then the NIC. For example, an bad aligned partition, can give a drop easely of 40-50% in your write speed. Just some things i would check myself also. But I get full speed with pretty much default settings. ( standalone, AD DC servers or members ). Execpt my kodi server, that needed a lot optimisation ( at ubuntu 14.04 time) to get these speeds, There i changed partition blocksizes, disk the diskschedulers. Needed also due to SSD + HDD. but not in samba, also defaults where used. Good luck, i hope above helps a bit. In samba, smb.conf, the lesser the better imo. Greetz, Louis
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/sTry using SMB3 (smbclient -mSMB3). See if that makes a difference.