Poor SMB read performance // Great write performance

rplucker

Dabbler
Joined
Jul 10, 2016
Messages
30
Hi all,
I'm experiencing very poor read performance from my freenas box, but write speed is unaffected. (2-5MB/Sec read, 110MB/Sec+ write). All tests done with large sequential files. A few months ago, I had no trouble getting full speeds, and I've even gotten 500+MB/S over 10GE (not installed anymore).

I've narrowed it down to most likely being SMB/Samba with the following steps:

iperf test from workstation to freenas box:

Code:
iperf -c 10.3.0.2 -t 10
Client connecting to 10.3.0.2, TCP port 5001
TCP window size:  208 KByte (default)
------------------------------------------------------------
[  3] local 10.2.0.105 port 58884 connected with 10.3.0.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.10 GBytes   941 Mbits/sec


iperf test from freenas to workstation:

Code:
iperf -c 10.2.0.105 -t 10
------------------------------------------------------------
Client connecting to 10.2.0.105, TCP port 5001
TCP window size: 32.8 KByte (default)
------------------------------------------------------------
[  3] local 10.3.0.2 port 45201 connected with 10.2.0.105 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1004 MBytes   842 Mbits/sec



pool write speed test:

Code:
dd if=/dev/zero of=/mnt/dat-volume/test.dat bs=1M count=10000
10000+0 records in
10000+0 records out
10485760000 bytes transferred in 8.279117 secs (1266531181 bytes/sec)


pool read speed test:

Code:
dd if=/mnt/dat-volume/test.dat of=/dev/zero bs=1M count=10000
7188+0 records in
7188+0 records out
7537164288 bytes transferred in 1.135450 secs (6638043400 bytes/sec)


Specs:
FreeNAS-11.2-U7
Xeon E5-2670
SUPERMICRO X9SRL-F
64g ECC
10x WD red in raidz2

tldr: smb client write speed is great, read speed is abysmal. Network performance is great. Pool read/write is normal. Intel nics all around

What am I missing?
 
Top