View previous topic :: View next topic |
Author |
Message |
robak Apprentice
Joined: 14 Jan 2004 Posts: 209 Location: Germany
|
Posted: Sun Jan 11, 2015 3:08 pm Post subject: Samba extremly poor performance [OSX related] |
|
|
Hi folks
I have a problem with my fileserver running samba since my last kernel update.
I updated from 3.8.7 to 3.17.2 simply by installing the kernel and running 'make oldconfig'. So far everything works fine except the read performance via samba when I mount my shares on OSX 10.9. Copying over SSH or FTP runs great with a speed of about 60MB/s, via samba I get only 300KB/s with stalls every once in a while. I just don't know where to look to locate the problem.
My network configuration is: Fileserver <-> GBit Switch <-> OSX Client
Installed software:
Gentoo-sources-3.17.2
Samba-3.6.24 USE="acl aio client netapi pam readline server smbclient winbind -addns -ads -avahi -caps -cluster -cups -debug -dmapi -doc -examples -fam -ldap -ldb -quota (-selinux) -smbsharemodes -swat -syslog"
thanks in advance for any help _________________ run this in your gentoo-bash:
"grep -R -i -A2 -B2 'on fire' /usr/src/linux/*"
Last edited by robak on Wed Jan 28, 2015 8:35 am; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
robak Apprentice
Joined: 14 Jan 2004 Posts: 209 Location: Germany
|
Posted: Sun Jan 11, 2015 3:35 pm Post subject: |
|
|
Because I also use Windose. _________________ run this in your gentoo-bash:
"grep -R -i -A2 -B2 'on fire' /usr/src/linux/*" |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
robak Apprentice
Joined: 14 Jan 2004 Posts: 209 Location: Germany
|
Posted: Sun Jan 11, 2015 4:09 pm Post subject: |
|
|
As far as I know Samba is the only possibility to acces files from a Linux server from the Windows Explorer. _________________ run this in your gentoo-bash:
"grep -R -i -A2 -B2 'on fire' /usr/src/linux/*" |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
robak Apprentice
Joined: 14 Jan 2004 Posts: 209 Location: Germany
|
Posted: Sun Jan 11, 2015 4:17 pm Post subject: |
|
|
Well, thats an option but doesn't resolve the poor performance with samba. And thats why I opened this thread _________________ run this in your gentoo-bash:
"grep -R -i -A2 -B2 'on fire' /usr/src/linux/*" |
|
Back to top |
|
|
robak Apprentice
Joined: 14 Jan 2004 Posts: 209 Location: Germany
|
Posted: Sun Jan 11, 2015 6:30 pm Post subject: |
|
|
It must be some kernel option. I just booted my old 3.8.7 kernel and samba works as normal. _________________ run this in your gentoo-bash:
"grep -R -i -A2 -B2 'on fire' /usr/src/linux/*" |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Sun Jan 11, 2015 6:35 pm Post subject: |
|
|
I tried Samba long time ago and NFS outperformed it back then. It has been about 12 years now Windows free here, so can't comment on current CIFS/Samba stuff.
Yet, it seems you are following Murphy's Garage Law - everything within reach can become a hammer. How about using a hammer to hit the nail instead of that adjustable wrench. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
robak Apprentice
Joined: 14 Jan 2004 Posts: 209 Location: Germany
|
Posted: Wed Jan 28, 2015 8:29 am Post subject: |
|
|
I think I found the problem.
It's not the Gentoo server, it's the SMB2 implementation on my OSX client. Googling for 'osx smb2 issue' shows that Apple's implementation is the cause of all problems. Once again: 'Damn you Apple!'
Though the suggested fix to use cifs://IP instead of smb://IP to force a SMBv1 connection doesn't work on my mashine. _________________ run this in your gentoo-bash:
"grep -R -i -A2 -B2 'on fire' /usr/src/linux/*" |
|
Back to top |
|
|
|