I have a FreeBSD 10.3-RELEASE server running samba 4.3.
I'm trying to figure out why I only get about 24MB/s out of samba when my ZFS array is capable of much faster speeds and I am on a gigabit network connection.
Some info:
Samba up/down Speeds: ~24MB/s
SCP up/down speeds: ~ 80MB/s
There are some posts out there about this, but they tend to be specific to Linux, and so i'm not sure that the socket options are applicable to FreeBSD. In any chase, none of the suggestions from a number of blogs and forums posts have made any difference for me. Still stuck at 24MB/s.
I should also note that I am testing from Macs but can test from Windows if required.
Stuff I have already tried / reviewed:
http://www.eggplant.pro/blog/faster-samba-smb-cifs-share-performance/
https://calomel.org/samba_optimize.html
http://plazko.io/apple-osx-finder-i...shared-hard-drive-connected-to-a-wifi-router/
And much, much more...
I'm trying to figure out why I only get about 24MB/s out of samba when my ZFS array is capable of much faster speeds and I am on a gigabit network connection.
Some info:
Samba up/down Speeds: ~24MB/s
SCP up/down speeds: ~ 80MB/s
Code:
$ sudo dd if=/dev/random of=/tank/samba/1GB.txt bs=1M count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 16.132504 secs (64997721 bytes/sec)
Code:
sudo dd if=/tank/samba/1GB.txt > /dev/null
2048000+0 records in
2048000+0 records out
1048576000 bytes transferred in 5.468385 secs (191752410 bytes/sec)
There are some posts out there about this, but they tend to be specific to Linux, and so i'm not sure that the socket options are applicable to FreeBSD. In any chase, none of the suggestions from a number of blogs and forums posts have made any difference for me. Still stuck at 24MB/s.
I should also note that I am testing from Macs but can test from Windows if required.
Stuff I have already tried / reviewed:
http://www.eggplant.pro/blog/faster-samba-smb-cifs-share-performance/
https://calomel.org/samba_optimize.html
http://plazko.io/apple-osx-finder-i...shared-hard-drive-connected-to-a-wifi-router/
And much, much more...