I bought a NAS wd ex2
I updated nas server software before i started (MyCloud 5.16.105).
I have 2 harddrive of 4tb (one HGST and other WD)
I have a unit of 2tb configured with RAID 1 and the remaining space 4tb as a as an extension unit.
I don’t have encryption enabled.
It is not a problem with the network or the router, I am with cat6, there are no other devices connected and the router is an tplink ax50
I have made a check of the hard drives and they are in good condition, they are new.
I am experiencing a significant decrease in speed as files are being copied with the file manager.
If I move an 8GB file it starts with speeds around 200mb/s and starts to slow down considerably until it reaches 10mb/s.
With both nfs and samba.
On the other hand, if I do a speed test, they are constant, but much lower
$ fio --name TEST --eta-newline=5s --filename=fio-tempfile.dat --rw=read --size=500m --io_size=10g --blocksize=1024k --ioengine=libaio --fsync=10000 --iodepth=32 --direct=1 --numjobs=1 --runtime=60 --group_reporting
TEST: (g=0): rw=read, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=libaio, iodepth=32
fio-3.1
Starting 1 process
Jobs: 1 (f=1): [R(1)][11.7%][r=31.0MiB/s,w=0KiB/s][r=31,w=0 IOPS][eta 00m:53s]
Jobs: 1 (f=1): [R(1)][21.7%][r=31.0MiB/s,w=0KiB/s][r=31,w=0 IOPS][eta 00m:47s]
Jobs: 1 (f=1): [R(1)][31.7%][r=38.0MiB/s,w=0KiB/s][r=38,w=0 IOPS][eta 00m:41s]
Jobs: 1 (f=1): [R(1)][41.7%][r=36.0MiB/s,w=0KiB/s][r=36,w=0 IOPS][eta 00m:35s]
Jobs: 1 (f=1): [R(1)][51.7%][r=38.0MiB/s,w=0KiB/s][r=38,w=0 IOPS][eta 00m:29s]
Jobs: 1 (f=1): [R(1)][61.7%][r=42.0MiB/s,w=0KiB/s][r=42,w=0 IOPS][eta 00m:23s]
Jobs: 1 (f=1): [R(1)][71.7%][r=36.0MiB/s,w=0KiB/s][r=36,w=0 IOPS][eta 00m:17s]
Jobs: 1 (f=1): [R(1)][81.7%][r=39.0MiB/s,w=0KiB/s][r=39,w=0 IOPS][eta 00m:11s]
Jobs: 1 (f=1): [R(1)][91.7%][r=39.0MiB/s,w=0KiB/s][r=39,w=0 IOPS][eta 00m:05s]
Jobs: 1 (f=1): [R(1)][21.8%][r=6150KiB/s,w=0KiB/s][r=6,w=0 IOPS][eta 03m:39s]
TEST: (groupid=0, jobs=1): err= 0: pid=17053: Sun Aug 15 22:32:32 2021
read: IOPS=37, BW=37.1MiB/s (38.9MB/s)(2259MiB/60940msec)
slat (usec): min=14, max=107981, avg=12103.99, stdev=7325.68
clat (msec): min=51, max=1861, avg=848.26, stdev=196.47
lat (msec): min=51, max=1869, avg=860.36, stdev=198.38
clat percentiles (msec):
| 1.00th=[ 169], 5.00th=[ 634], 10.00th=[ 718], 20.00th=[ 768],
| 30.00th=[ 785], 40.00th=[ 802], 50.00th=[ 818], 60.00th=[ 844],
| 70.00th=[ 869], 80.00th=[ 944], 90.00th=[ 1070], 95.00th=[ 1167],
| 99.00th=[ 1536], 99.50th=[ 1586], 99.90th=[ 1804], 99.95th=[ 1838],
| 99.99th=[ 1854]
bw ( KiB/s): min= 2048, max=71680, per=100.00%, avg=38019.78, stdev=8436.84, samples=120
iops : min= 2, max= 70, avg=37.07, stdev= 8.26, samples=120
lat (msec) : 100=0.35%, 250=1.37%, 500=2.17%, 750=10.85%, 1000=70.61%
lat (msec) : 2000=14.65%
cpu : usr=0.13%, sys=0.65%, ctx=14600, majf=0, minf=8200
IO depths : 1=0.2%, 2=0.4%, 4=0.9%, 8=1.8%, 16=3.5%, 32=93.1%, >=64=0.0%
submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
complete : 0=0.0%, 4=99.8%, 8=0.0%, 16=0.0%, 32=0.2%, 64=0.0%, >=64=0.0%
issued rwt: total=2259,0,0, short=0,0,0, dropped=0,0,0
latency : target=0, window=0, percentile=100.00%, depth=32
Run status group 0 (all jobs):
READ: bw=37.1MiB/s (38.9MB/s), 37.1MiB/s-37.1MiB/s (38.9MB/s-38.9MB/s), io=2259MiB (2369MB), run=60940-60940msec
Another thing that worries me a lot is that I cannot perform two operations at the same time using a folder mounted with nfs
I have modified / etc / exports trying to have better results on the NAS, but I have not succeeded. This is the configuration that worked best
$cat /etc/exports
"/nfs/tmp_msigs60" 192.168.0.207(rw,insecure,async,no_subtree_check,no_root_squash)
on the client
192.168.0.151:/nfs/tmp_msigs60 /media/tmp_msigs60 nfs defaults,vers=3,rsize=32768,wsize=32768,tcp 0 0
I get similar behavior to samba mounted folder. But strangely I can only perform one operation at a time, if I put a file to transfer, I can’t do anything else until it finishes, nor can I change folders, nor a ls in the console.