I'm on fresh installed nas4free facing slow reading speeds after storage been filled for 78%.
Code: Select all
nas4free: /mnt# uname -a
FreeBSD nas4free.local 10.2-RELEASE-p2 FreeBSD 10.2-RELEASE-p2 #0 r287260M: Fri Aug 28 18:38:18 CEST 2015 root@dev.nas4free.org:/usr/obj/nas4free/usr/src/sys/NAS4FREE-amd64 amd64
Got mirror raid on two identical brand new disks HGST HDN724040ALE640, 4Tb, 7200rpm
Code: Select all
nas4free: /mnt# zpool status
pool: data4
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
data4 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ada0 ONLINE 0 0 0
ada1 ONLINE 0 0 0
errors: No known data errors
Code: Select all
nas4free: /mnt# zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
data4 3.62T 2.85T 793G - 36% 78% 1.00x ONLINE -
no compression, no deduplication, all by default.
But I got my read speed tested directly in the console with 30Gb file:
Code: Select all
nas4free: divx# dd if=test.mkv of=/dev/null bs=64k
484486+1 records in
484486+1 records out
31751303111 bytes transferred in 293.203255 secs (108291100 bytes/sec)
While top shows no load at all:
Code: Select all
last pid: 2445; load averages: 0.31, 0.27, 0.20 up 0+00:13:15 00:16:45
39 processes: 1 running, 38 sleeping
CPU: 0.1% user, 0.0% nice, 6.4% system, 0.3% interrupt, 93.2% idle
Mem: 57M Active, 156M Inact, 1813M Wired, 66M Buf, 1591M Free
ARC: 1536M Total, 1524M MRU, 16K Anon, 5921K Header, 7273K Other
Swap: 4096M Total, 4096M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
2445 root 1 26 0 12364K 2148K zio->i 2 0:03 8.79% dd
even gstat show disk load about 40-50%, not more.
Code: Select all
dT: 1.001s w: 1.000s
L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name
0 0 0 0 0.0 0 0 0.0 0.0| xmd0
0 0 0 0 0.0 0 0 0.0 0.0| xmd1
0 0 0 0 0.0 0 0 0.0 0.0| da0
0 365 365 46181 1.2 0 0 0.0 43.6| ada0
0 361 361 46149 1.1 0 0 0.0 40.2| ada1
I wonder why reading speed is SO slow? It was even lower few hours ago, about 80Mbs...
When I upload data to server via ftp client on gigabit network, it shows 110Mbs on WRITE, making gigabit network bottleneck, not zfs system.
Please advice, what should I do to fix the situation and speed up reading?
I can provide any additional information that help solve the problem.
p.s. Tried "ZFS kernel tune (WebGUI extension) 20121031" from viewtopic.php?f=71&t=1278 . Still the same


