Hello friends, I have a Gigabit network with few Windows and Centos 7 machines and I noticed that when copying files via Samba from: Windows to Windows I can copy files with speed of +- 120 MBps (I think this is the max speed gigabit network can provide) But when copying files from: Centos to Centos I get only speeds of about 40 MBps Windows to Centos 40 MBps Centos to Windows 40 MBps I tried to add these lines: use sendfile = yes socket options = TCP_NODELAY IPTOS_LOWDELAY to smb.conf file but got no speed improvement, (so I think they dont need to be there, do they?) Please do you know what could be the issue? Is there some way to get full speed the network can provide? P.S.: I had the same issue on 100 mbps network - Win to Win could copy 12 MBps but Centos only 4 MBps. Thank you very much for your time Have a nice day
On 23.07.2017 13:08, vychytraly . wrote:> Hello friends, > > I have a Gigabit network with few Windows and Centos 7 machines and I > noticed that when copying files via Samba from: > > Windows to Windows I can copy files with speed of +- 120 MBps (I think this > is the max speed gigabit network can provide)which Windows and which CentOS (6, 7) you are talking about?> But when copying files from: > > Centos to Centos I get only speeds of about 40 MBpshow do you copy from CentOS to CentOS - SMB, too?> Windows to Centos 40 MBps > > Centos to Windows 40 MBpsthis seems to be, that SAMBA doesn't support SMB v2 or v3 can you try the following test, to see if it is not a problem deeper ... can you get WinSCP ... https://winscp.net/eng/download.php (the Portable executables suits) and connect with this from Windows to CentOS and try a file transfer here if it has nearly the same speed as with SAMBA, the problem is deeper if it is quite faster then the problem is SAMBA Walter
Thank you very much, I will try these. There are only Centos 7 and Windows 10 machines on the network. On Sun, Jul 23, 2017 at 4:11 PM, Walter H. <Walter.H at mathemainzel.info> wrote:> On 23.07.2017 13:08, vychytraly . wrote: > >> Hello friends, >> >> I have a Gigabit network with few Windows and Centos 7 machines and I >> noticed that when copying files via Samba from: >> >> Windows to Windows I can copy files with speed of +- 120 MBps (I think >> this >> is the max speed gigabit network can provide) >> > which Windows and which CentOS (6, 7) you are talking about? > > But when copying files from: >> >> Centos to Centos I get only speeds of about 40 MBps >> > how do you copy from CentOS to CentOS - SMB, too? > >> Windows to Centos 40 MBps >> >> Centos to Windows 40 MBps >> > this seems to be, that SAMBA doesn't support SMB v2 or v3 > > can you try the following test, to see if it is not a problem deeper ... > > can you get WinSCP ... > https://winscp.net/eng/download.php > (the Portable executables suits) > > and connect with this from Windows to CentOS and try a file transfer here > if it has nearly the same speed as with SAMBA, the problem is deeper > if it is quite faster then the problem is SAMBA > > Walter > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >