CIFS/SMB Speed - Just some hints please :)
Posted: 06 Oct 2014 13:31
Righto, I normally pride myself in sorting things out myself but in some cases lack of knowledge and the way things work in an unfamiliar operating system, can really make something that seems like a good idea become a really bad idea!
So with that in mind, here's the setup and things I have tried thus far.
----
Network Overview:
Internet -> Rubbish Sky ADSL modem/router on (192.168.0 range) -> Asus RT-AC68U Router (DHCP for 192.168.1 range) -> all other devices on 192.168.1 network some fixed, some DHCP.
Asus RT-AC68U is gigabit, NAS4Free box has gigabit connection and is connected via CAT6 to it.
----
NAS4Free config:
Embedded x64 9.2.0.1 - on AMD A10-5800K APU.
ASRock FM2A85X-ITX board.
Installed NAS4Free on a 16GB USB stick and then uploaded into memory afaik of how NAS4Free works.
Power management is currently set to hiadaptive.
Tuning of some system variables enabled.
----
Storage:
ZFS, but a ZFS stripe. Absolutely no redundancy as its essentially just a file server and the files are backed up elsewhere.
The two disks are 1.5TB Samsung Spinpoint F2 EG, S.M.A.R.T Enabled and checks out fine on both devices. These are not 4k formatted disks, they are 512's.
Connected on SATA1 and SATA2 on the board, so no fancy raid card or anything.
zdb | grep ashift -> Returns 9, which is correct.
----
CIFS/SMB:
Send and Receive Buffers default.
Enabled Large Read/White
I have enabled Asyncronous I/O (didn't initially but hoped it would help speed, if anything it seemed to make it marginally worse)
AIO read and write are the default 4096
---
Situation:
Memory Usage 43% of 16GB RAM
CPU Usage barely gets above 5% on any core.
Transfers barely creep above 15MB/s across the network from a Windows 8.1 PC connected on Wireless AC (with Wireless AC Card, connected at around 800Mbps) to the NAS4Free SMB Share.
The Windows PC can transfer files to other windows PC's across the network at high speed.
I used to get a faster speed on a previous installation of NAS4Free that i tuned (but this was some time ago - talking a few years when i switched from the Old Freenas to Nas4Free), so i know improvements can be made.
I've run some tests but currently have a file transfer going on so those results are not really indicative of what I should get. iperf etc.
I've been following most of the things I can do on performance troubleshooting posts/articles without cancelling the current transfer (mainly because it has been running 8 hours or so now and i might as well let it finish).
Any ideas?
So with that in mind, here's the setup and things I have tried thus far.
----
Network Overview:
Internet -> Rubbish Sky ADSL modem/router on (192.168.0 range) -> Asus RT-AC68U Router (DHCP for 192.168.1 range) -> all other devices on 192.168.1 network some fixed, some DHCP.
Asus RT-AC68U is gigabit, NAS4Free box has gigabit connection and is connected via CAT6 to it.
----
NAS4Free config:
Embedded x64 9.2.0.1 - on AMD A10-5800K APU.
ASRock FM2A85X-ITX board.
Installed NAS4Free on a 16GB USB stick and then uploaded into memory afaik of how NAS4Free works.
Power management is currently set to hiadaptive.
Tuning of some system variables enabled.
----
Storage:
ZFS, but a ZFS stripe. Absolutely no redundancy as its essentially just a file server and the files are backed up elsewhere.
The two disks are 1.5TB Samsung Spinpoint F2 EG, S.M.A.R.T Enabled and checks out fine on both devices. These are not 4k formatted disks, they are 512's.
Connected on SATA1 and SATA2 on the board, so no fancy raid card or anything.
zdb | grep ashift -> Returns 9, which is correct.
----
CIFS/SMB:
Send and Receive Buffers default.
Enabled Large Read/White
I have enabled Asyncronous I/O (didn't initially but hoped it would help speed, if anything it seemed to make it marginally worse)
AIO read and write are the default 4096
---
Situation:
Memory Usage 43% of 16GB RAM
CPU Usage barely gets above 5% on any core.
Transfers barely creep above 15MB/s across the network from a Windows 8.1 PC connected on Wireless AC (with Wireless AC Card, connected at around 800Mbps) to the NAS4Free SMB Share.
The Windows PC can transfer files to other windows PC's across the network at high speed.
I used to get a faster speed on a previous installation of NAS4Free that i tuned (but this was some time ago - talking a few years when i switched from the Old Freenas to Nas4Free), so i know improvements can be made.
I've run some tests but currently have a file transfer going on so those results are not really indicative of what I should get. iperf etc.
I've been following most of the things I can do on performance troubleshooting posts/articles without cancelling the current transfer (mainly because it has been running 8 hours or so now and i might as well let it finish).
Any ideas?