Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Samba sloooooooow
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
yarug
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2004
Posts: 104

PostPosted: Tue Jun 02, 2015 4:20 pm    Post subject: [SOLVED] Samba sloooooooow Reply with quote

Hello all,

I'm building a media server using snapraid/mhddfs/samba.

Got everything installed now but copying files from my (OS X) clients to a Samba share is painfully slow.

I have done some testing with scp and can get ~ 11.2MB/s copying a 15GB file (23 mins). This is using a 100BaseTX full duplex USB dongle (I probably can get some more speed utilizing Gigabit).

Copying the same file using Samba takes 7 hours according to OS X (have not tried to let it complete, about 250 MB in 10 minutes).

Any ideas why this may be? My smb.conf is as follows:

[global]
server string = Samba Server
interfaces = enp8s0f0
bind interfaces only = yes
hosts allow = 192.168.1.0/24
hosts deny = 0.0.0.0/0
security = share
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
max protocol = SMB2
printcap name = /dev/null
load printers = no
printing = bsd
[test]
comment = Test
path = /tmp
read only = no
public = yes

Thanks


Last edited by yarug on Wed Jun 03, 2015 8:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Wed Jun 03, 2015 10:26 am    Post subject: Reply with quote

Do you have any Windows or Linux client to test with - to rule out OS X issues.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
yarug
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2004
Posts: 104

PostPosted: Wed Jun 03, 2015 8:09 pm    Post subject: Reply with quote

Just did another scp test using a 1000BaseT Thunderbolt dongle and I get ~ 103.5MB/s (2m:17s for a 14GB file).

Copying the same file to the Samba share is now much faster than with the USB dongle! It takes about 4-5 minutes. 50% of scp performance but acceptable enough for me.

Copying into the mhddfs enabled share is a little bit slower again (5-6 minutes) but that was expected (because of FUSE overhead).

Seems the (Apple) USB dongle I used was the problem (only with Samba though) (sorry for blaming Samba :).

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum