SOLVED Slow Network Transfer Speeds <6MB/s

cdlogan

Dabbler
Joined
Jan 9, 2022
Messages
10
I'm having doubts that I'm getting the transfer speeds I should be getting. I'm dumping .mkv files from a laptop to my NAS for my Plex and only reaching 6 MB/s MAX, averaging around 5 MB/s. I've ran an iperf test and got an average bandwidth of 127Mb/s (15.8 MB/s) potential. I'd expect to see closer to 10 MB/s MINIMUM over this speed. I don't have very much of an idea where to start. Any help would be very much appreciated

CPU: AMD Ryzen 5 1600 Six-Core
Memory: 2x 8gb 3000MHz
Motherboard: GIGABYTE B450M DS3H V2
Harddrive: ada0 Seagate ST4000NC001-1FS168 4TB HDD - Storage RAID0
ada1 Samsung MZ7LN256HCHP-000L7 256GB SSD - Boot RAID0
Network: Onboard Realtek 8118 LAN
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
1. Replace the NIC with a proper one - Intel, Chelsio
2. Really - only one HDD? Why are you even running a NAS? Is it CMR or SMR?
3. 127Mb/s seems a strange number to be getting from iperf, neither fish nor fowl (ie > 100Mb, but less than 1Gbps). What is your network speed (end to end)
4. How full is the pool?
5. Run a FIO test on the dataset directly - edit the command below to point to a dataset. I suggest setting up a new dataset just for this purpose - so you can delete it later
fio --bs=128k --direct=1 --directory="/mnt/tn01/backups" --gtod_reduce=1 --ioengine=posixaio --iodepth=1 --group_reporting --name=randrw --numjobs=12 --ramp_time=10 --runtime=60 --rw=randrw --size=256M --time_based
 
Last edited:

cdlogan

Dabbler
Joined
Jan 9, 2022
Messages
10
1. Replace the NIC with a proper one - Intel, Chelsio
2. Really - only one HDD? Why are you even running a NAS? Is it CMR or SMR?
3. 127Mb/s seems a strange number to be getting from iperf, neither fish nor fowl (ie > 100Mb, but less than 1Gbps). What is your network speed (end to end)
4. How full is the pool?
5. Run a FIO test on the dataset directly - edit the command below to point to a dataset. I suggest setting up a new dataset just for this purpose - so you can delete it later
fio --bs=128k --direct=1 --directory="/mnt/tn01/backups" --gtod_reduce=1 --ioengine=posixaio --iodepth=1 --group_reporting --name=randrw --numjobs=12 --ramp_time=10 --runtime=60 --rw=randrw --size=256M --time_based
1. I was thinking about that last night. I'll have to get a new one ordered. A new one should be plug and play, right?
2. I had an old CPU, graphics card, and power supply laying around from upgrading my main PC. I was going to take the other 4TB from my main PC and use that in at least raid 2, but realized I have to take everything off of it first. I'll probably end up buying another hard drive and adding it to RAID at some point.
3.) NAS is running 1000. I'm dumping data from a laptop VIA WiFi (Can't tell what gen), speeds only at 173/86, which would explain where my problem is. I'll have to bring it to my router and plug it in to see if it gets any better
4.) Storage pool is only at 14%
5. Following result came back
Code:
randrw: (groupid=0, jobs=12): err= 0: pid=55610: Mon Jan 10 10:10:42 2022
  read: IOPS=1071, BW=134MiB/s (140MB/s)(8053MiB/60126msec)
   bw (  KiB/s): min=64836, max=228167, per=100.00%, avg=137365.75, stdev=2737.56, samples=1428
   iops        : min=  501, max= 1778, avg=1068.36, stdev=21.42, samples=1428
  write: IOPS=1078, BW=135MiB/s (141MB/s)(8103MiB/60126msec); 0 zone resets
   bw (  KiB/s): min=92160, max=173056, per=100.00%, avg=138152.91, stdev=1353.20, samples=1428
   iops        : min=  720, max= 1352, avg=1074.66, stdev=10.60, samples=1428
  cpu          : usr=0.09%, sys=0.11%, ctx=129302, majf=0, minf=1
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=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=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued rwts: total=64426,64821,0,0 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, win
    
Run status group 0 (all jobs):
   READ: bw=134MiB/s (140MB/s), 134MiB/s-134MiB/s (140MB/s-140MB/s), io=8053MiB(8444MB), run=60126-60126msec
  WRITE: bw=135MiB/s (141MB/s), 135MiB/s-135MiB/s (141MB/s-141MB/s), io=8103MiB(8496MB), run=60126-60126msec


If I read that correctly, 134 mebibits read and 135 mebibits write.

Thanks, again!
 

cdlogan

Dabbler
Joined
Jan 9, 2022
Messages
10
1. I was thinking about that last night. I'll have to get a new one ordered. A new one should be plug and play, right?
2. I had an old CPU, graphics card, and power supply laying around from upgrading my main PC. I was going to take the other 4TB from my main PC and use that in at least raid 2, but realized I have to take everything off of it first. I'll probably end up buying another hard drive and adding it to RAID at some point.
3.) NAS is running 1000. I'm dumping data from a laptop VIA WiFi (Can't tell what gen), speeds only at 173/86, which would explain where my problem is. I'll have to bring it to my router and plug it in to see if it gets any better
4.) Storage pool is only at 14%
5. Following result came back
Code:
randrw: (groupid=0, jobs=12): err= 0: pid=55610: Mon Jan 10 10:10:42 2022
  read: IOPS=1071, BW=134MiB/s (140MB/s)(8053MiB/60126msec)
   bw (  KiB/s): min=64836, max=228167, per=100.00%, avg=137365.75, stdev=2737.56, samples=1428
   iops        : min=  501, max= 1778, avg=1068.36, stdev=21.42, samples=1428
  write: IOPS=1078, BW=135MiB/s (141MB/s)(8103MiB/60126msec); 0 zone resets
   bw (  KiB/s): min=92160, max=173056, per=100.00%, avg=138152.91, stdev=1353.20, samples=1428
   iops        : min=  720, max= 1352, avg=1074.66, stdev=10.60, samples=1428
  cpu          : usr=0.09%, sys=0.11%, ctx=129302, majf=0, minf=1
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=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=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued rwts: total=64426,64821,0,0 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, win
   
Run status group 0 (all jobs):
   READ: bw=134MiB/s (140MB/s), 134MiB/s-134MiB/s (140MB/s-140MB/s), io=8053MiB(8444MB), run=60126-60126msec
  WRITE: bw=135MiB/s (141MB/s), 135MiB/s-135MiB/s (141MB/s-141MB/s), io=8103MiB(8496MB), run=60126-60126msec


If I read that correctly, 134 mebibits read and 135 mebibits write.

Thanks, again!
Just ordered 2 4TB Seagate NAS drives to replace the 1, that'll take care of that. As for the NIC, should any Intel based NIC work without too much hassle?
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
NO - a normal Intel - there are some strange Intels around that are not supported. But a standard server board should be fine.
 

cdlogan

Dabbler
Joined
Jan 9, 2022
Messages
10
NO - a normal Intel - there are some strange Intels around that are not supported. But a standard server board should be fine.
I appreciate the guidance. That'll be my next leisure upgrade. I plugged my laptop into my router and speeds jumped up to ~50MB/s. Don't know why I didn't think of that sooner. Thank you very much!
 
Top