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 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
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@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@centos.org https://lists.centos.org/mailman/listinfo/centos
On 23.07.2017 16:48, vychytraly . wrote:
Thank you very much, I will try these.
There are only Centos 7 and Windows 10 machines on the network.
in case this doesn't give any diagnostic, look for iperf on both sides, linux and windows, this tests the native network speed ...
Can I ask where people are downloading samba from? I followed the instructions in the centos wiki but it's hard to tell what to do next on the German site. It was easy before but totally murky now (at least to this wetware). a link or two or clearer/more complete instructions would be greatly appreciated.
--
Am 23.07.2017 um 19:56 schrieb mad.scientist.at.large@tutanota.com:
Can I ask where people are downloading samba from? I followed the instructions in the centos wiki but it's hard to tell what to do next on the German site. It was easy before but totally murky now (at least to this wetware). a link or two or clearer/more complete instructions would be greatly appreciated.
Not sure for what kind of information you are looking.
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/htm...
Samba is shipped by CentOS. It just does not provide Active Directory functionality.
Alexander
On 23.07.2017 19:56, mad.scientist.at.large@tutanota.com wrote:
Can I ask where people are downloading samba from? I followed the instructions in the centos wiki but it's hard to tell what to do next on the German site. It was easy before but totally murky now (at least to this wetware). a link or two or clearer/more complete instructions would be greatly appreciated.
Samaba comes as RPM from CentOS
samba.x86_64 3.6.23-43.el6_9 @updates samba-common.x86_64 3.6.23-43.el6_9 @updates samba-winbind.x86_64 3.6.23-43.el6_9 @updates samba-winbind-clients.x86_64 3.6.23-43.el6_9 @updates
(from my CentOS 6 VM which has both Samba Client and Samba Server)
Thank you, I should have been more specific, I was actually looking for the newer versions at < http://www.sernet.de/en/samba%3E%C2%A0 referenced in the wiki about additional repositories at https://wiki.centos.org/PatrickDGarvey/AdditionalResources/Repositories. The sernet site was easy to navigate in English before, but i can't make heads or tails of it now. i should also mention that i'm currently using centos 6.6 "FINAL". will be updating soon. --
23. Jul 2017 12:46 by Walter.H@mathemainzel.info:
On 23.07.2017 19:56, > mad.scientist.at.large@tutanota.com> wrote:
Can I ask where people are downloading samba from? I followed the instructions in the centos wiki but it's hard to tell what to do next on the German site. It was easy before but totally murky now (at least to this wetware). a link or two or clearer/more complete instructions would be greatly appreciated.
Samaba comes as RPM from CentOS
samba.x86_64 3.6.23-43.el6_9 @updates samba-common.x86_64 3.6.23-43.el6_9 @updates samba-winbind.x86_64 3.6.23-43.el6_9 @updates samba-winbind-clients.x86_64 3.6.23-43.el6_9 @updates
(from my CentOS 6 VM which has both Samba Client and Samba Server)
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Am 23.07.2017 um 23:03 schrieb mad.scientist.at.large@tutanota.com:
Thank you, I should have been more specific, I was actually looking for the newer versions at < http://www.sernet.de/en/samba%3E referenced in the wiki about additional repositories at https://wiki.centos.org/PatrickDGarvey/AdditionalResources/Repositories. The sernet site was easy to navigate in English before, but i can't make heads or tails of it now. i should also mention that i'm currently using centos 6.6 "FINAL". will be updating soon.
SerNet no longer offers their Samba packages for free.
Alexander
Obnoxius, seems to be the order of the day for companies that started with "FOSS" but don't want to comply with the licensing they were once so happy about because it gave them a product at a very low cost. now everyone is getting greedy. Then again money for nothing is the american dream these days. Might be nice to change the wiki rather than frustrate new and old users.
-- Securely sent with Tutanota. Claim your encrypted mailbox today! https://tutanota.com
23. Jul 2017 15:09 by ad+lists@uni-x.org:
Am 23.07.2017 um 23:03 schrieb > mad.scientist.at.large@tutanota.com> :
Thank you, I should have been more specific, I was actually looking for the newer versions at < http://www.sernet.de/en/samba%3E%3E > referenced in the wiki about additional repositories at <>> https://wiki.centos.org/PatrickDGarvey/AdditionalResources/Repositories%3E%3... >. The sernet site was easy to navigate in English before, but i can't make heads or tails of it now. i should also mention that i'm currently using centos 6.6 "FINAL". will be updating soon.
SerNet no longer offers their Samba packages for free.
Alexander
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On Mon, 24 Jul 2017, mad.scientist.at.large@tutanota.com wrote:
Obnoxius, seems to be the order of the day for companies that started with "FOSS" but don't want to comply with the licensing they were once so happy about because it gave them a product at a very low cost. now everyone is getting greedy. Then again money for nothing is the american dream these days. Might be nice to change the wiki rather than frustrate new and old users
Obnoxious, is when someone thinks there is a requirement to give away binary rpms to a non-paying customer!!
Please get your facts straight!!
Having said that, if you do not need Samba AD support there are newer samba rpms available for FREE with Centos. if you need something newer than 4.2.10 on c-6 or 4.4.4 on c-7 or you need Samba AD support, I would suggest you download the src tarball from https://download.samba.org/pub/samba/stable/samba-4.6.6.tar.gz and build it yourself. It is trivial to build provided you follow the instructions @ https://wiki.samba.org/index.php/Build_Samba_from_Source.
https://wiki.samba.org provides a wealth of information for configuring samba 4
In addition, if you have problems the people on the samba mailing go out of their way to help troubleshoot problems.
HTH,