× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: RN104 - Really Slow Copy Speeds

WiredRacing
Aspirant

RN104 - Really Slow Copy Speeds

Hey guys, I'm copying a share from one volume to a new volume through SSH using MC (Midnight Commander) and I'm getting an avg of 6.33MB/s. Going to take 35mins or so to copy 14GB. 

 

I know this unit is a bit slow for ram/cpu but this seems like a 10th of what it should be able to do.

 

Thoughts before I move onto the other 5 TERABYTES?

Model: RN104|ReadyNAS 100 Series
Message 1 of 17
StephenB
Guru

Re: RN104 - Really Slow Copy Speeds

Of course it should be faster.

 

  • What firmware are you running?
  • Is the new volume still syncing? 
  • Were you seeing any performance issues on the old volume before? 
  • Have you checked Disk Health?
  • Is AntiVirus running?

 

Message 2 of 17
WiredRacing
Aspirant

Re: RN104 - Really Slow Copy Speeds

- Firmware is 6.9.5

- Syncing? Well the new volume is a single empty disk. I suppose the NAS might be formatting it in the background?! Not sure.

- It always seemed slow to transfer stuff over the network but I was never copying a file from one volume to another to benchmark it. 

- I have not checked Disk Health, I'm certainly hoping this brand new drive is A-OK.

- No anti-virus.

 

Message 3 of 17
Hopchen
Prodigy

Re: RN104 - Really Slow Copy Speeds

Hi @WiredRacing 

 

A new disk might be fine and dandy until the courier starts bouncing it around in the back of the truck 🙂

 

This could be a disk issue. Can you download the logs and find the log file: disk_info.log

Post the content of that log-file here (masking any serial numbers of your disk).

 

Thanks

 

 

Message 4 of 17
WiredRacing
Aspirant

Re: RN104 - Really Slow Copy Speeds

True and doesn't seem to be...

 

Device:             sdc
Controller:         0
Channel:            0
Model:              WDC WD30EFRX-68EUZN0
Serial:             xxxxxxxxxxxxxxx
Firmware:           82.00A82
Class:              SATA
RPM:                5400
Sectors:            5860533168
Pool:               NAS1
PoolType:           RAID JBOD
PoolState:          2
PoolHostId:         2fe541ba
Health data 
  ATA Error Count:                0
  Reallocated Sectors:            0
  Reallocation Events:            0
  Spin Retry Count:               0
  Current Pending Sector Count:   0
  Uncorrectable Sector Count:     0
  Temperature:                    41
  Start/Stop Count:               11283
  Power-On Hours:                 28919
  Power Cycle Count:              8
  Load Cycle Count:               11481

Device:             sdb
Controller:         0
Channel:            1
Model:              WDC WD30EFRX-68EUZN0
Serial:             xxxxxxxxxxxxxxx
Firmware:           82.00A82
Class:              SATA
RPM:                5400
Sectors:            5860533168
Pool:               NAS1
PoolType:           RAID JBOD
PoolState:          2
PoolHostId:         2fe541ba
Health data 
  ATA Error Count:                0
  Reallocated Sectors:            0
  Reallocation Events:            0
  Spin Retry Count:               0
  Current Pending Sector Count:   0
  Uncorrectable Sector Count:     0
  Temperature:                    42
  Start/Stop Count:               13812
  Power-On Hours:                 28919
  Power Cycle Count:              8
  Load Cycle Count:               14029

Device:             sda
Controller:         0
Channel:            2
Model:              WDC WD100EFAX-68LHPN0
Serial:             xxxxxxxx
Firmware:           83.H0A83
Class:              SATA
RPM:                5400
Sectors:            19532873728
Pool:               NAS
PoolType:           RAID JBOD
PoolState:          2
PoolHostId:         2fe541ba
Health data 
  ATA Error Count:                0
  Reallocated Sectors:            0
  Reallocation Events:            0
  Spin Retry Count:               0
  Current Pending Sector Count:   0
  Uncorrectable Sector Count:     0
  Temperature:                    41
  Start/Stop Count:               1
  Power-On Hours:                 5
  Power Cycle Count:              1
  Load Cycle Count:               1

Message 5 of 17
WiredRacing
Aspirant

Re: RN104 - Really Slow Copy Speeds

Device: sdc
Controller: 0
Channel: 0
Model: WDC WD30EFRX-68EUZN0
Serial: xxxxxxxxxxxxxxx
Firmware: 82.00A82
Class: SATA
RPM: 5400
Sectors: 5860533168
Pool: NAS1
PoolType: RAID JBOD
PoolState: 2
PoolHostId: 2fe541ba
Health data
ATA Error Count: 0
Reallocated Sectors: 0
Reallocation Events: 0
Spin Retry Count: 0
Current Pending Sector Count: 0
Uncorrectable Sector Count: 0
Temperature: 41
Start/Stop Count: 11283
Power-On Hours: 28919
Power Cycle Count: 8
Load Cycle Count: 11481

Device: sdb
Controller: 0
Channel: 1
Model: WDC WD30EFRX-68EUZN0
Serial: xxxxxxxxxxxxxxx
Firmware: 82.00A82
Class: SATA
RPM: 5400
Sectors: 5860533168
Pool: NAS1
PoolType: RAID JBOD
PoolState: 2
PoolHostId: 2fe541ba
Health data
ATA Error Count: 0
Reallocated Sectors: 0
Reallocation Events: 0
Spin Retry Count: 0
Current Pending Sector Count: 0
Uncorrectable Sector Count: 0
Temperature: 42
Start/Stop Count: 13812
Power-On Hours: 28919
Power Cycle Count: 8
Load Cycle Count: 14029

Device: sda
Controller: 0
Channel: 2
Model: WDC WD100EFAX-68LHPN0
Serial: xxxxxxxx
Firmware: 83.H0A83
Class: SATA
RPM: 5400
Sectors: 19532873728
Pool: NAS
PoolType: RAID JBOD
PoolState: 2
PoolHostId: 2fe541ba
Health data
ATA Error Count: 0
Reallocated Sectors: 0
Reallocation Events: 0
Spin Retry Count: 0
Current Pending Sector Count: 0
Uncorrectable Sector Count: 0
Temperature: 41
Start/Stop Count: 1
Power-On Hours: 5
Power Cycle Count: 1
Load Cycle Count: 1

 

 

Message 6 of 17
WiredRacing
Aspirant

Re: RN104 - Really Slow Copy Speeds

I keep pasting this info in the thread and the post keeps disappearing. 

 

Anyhow there's no errors for that (any) drive in the log file. If someone can help me understand why I can't paste the contents in the message, then perhaps I can do that.

Message 7 of 17
StephenB
Guru

Re: RN104 - Really Slow Copy Speeds


@WiredRacing wrote:

If someone can help me understand why I can't paste the contents in the message, then perhaps I can do that.


You triggered the automatic spam filter (that happens sometimes).  I've released one of the posts.

Message 8 of 17
StephenB
Guru

Re: RN104 - Really Slow Copy Speeds


@WiredRacing wrote:


Model: WDC WD30EFRX-68EUZN0

Model: WDC WD30EFRX-68EUZN0

Model: WDC WD100EFAX-68LHPN0

All three disks look fine to me, and since this is JBOD there shouldn't be any issue with sync.

 

MC is running on the NAS?  

 

Perhaps try a test using a backup job (configured in the web ui) to transfer the same share (to a different target on the new disk) and see if that shows better throughput.  Might be good to reboot the NAS before you do this.

 

 

Message 9 of 17
WiredRacing
Aspirant

Re: RN104 - Really Slow Copy Speeds

Yeah so last night I already added a backup job while the 310GB share (eta of about 7hrs) was chugging along. This morning neither had completed and the MC SSH'd (yes SSH'd into the nas, using MC on the NAS itself, no network copying in play here) copy of one of the shares was at half it's avg throughput (presumed the other half of the bandwidth was taken up by the backup process). 

 

So backup process is doing a share right now and MC is actively copying files with a reported avg of 5.45MB/s (current large file it's on is 4.8mb/s). 

 

So painful.

 

Whenever this finishes I'll run the performance test I see others run. I'll also try copying a file in the inverse direction to see if it might be related to the drive hardware/firmware.

Message 10 of 17
StephenB
Guru

Re: RN104 - Really Slow Copy Speeds


@WiredRacing wrote:

 

Whenever this finishes I'll run the performance test I see others run.


It'd be good to test the read and write speeds on each drive independently - using dd, and /dev/zero as either the source or destination.

 

Message 11 of 17
WiredRacing
Aspirant

Re: RN104 - Really Slow Copy Speeds

OKAY THIS MAKES ZERO SENSE

 

For $#!ts and Giggles I tried copying from one share to another on my PC (Win 10), again from share to share. I'm getting 30-40MB/s! It'll copy 20GB in 9-10mins. And this is while one of my backup jobs (2.3TB of data in that share, has only managed about 10% of it's job in 5 hours) is still going.

 

What is going on that copying within linux, on the device itself, is 1/3rd the speed?

 

Obviously, I'm going to copy the rest of the volume... over the network (whhhhaaaat?).

Message 12 of 17
Hopchen
Prodigy

Re: RN104 - Really Slow Copy Speeds

This is interesting. I have heard about this type of behaviour before.

I wonder if the NAS struggles with memory when copying like this.

 

Try to rsync it instead, from the CLI. Is performance better then?

 

Also, what does a dd test reveal?

 

cd into one of your shares and then dd a file.
# dd if=/dev/zero of=bigfile.bin bs=4M count=250

 

 

Here is an example from my RN422. It is of course faster than your NAS, but for the purpose of demonstration...

root@Datastore:/data/Public# dd if=/dev/zero of=bigfile.bin bs=4M count=250
250+0 records in
250+0 records out
1048576000 bytes (1.0 GB, 1000 MiB) copied, 5.20838 s, 201 MB/s

 

 

Message 13 of 17
WiredRacing
Aspirant

Re: RN104 - Really Slow Copy Speeds

It's still handling that other backup job, so I haven't run any benchmarks on it.

 

Looking at 'top' I've got

 

readynasd taking up 20-25% of the cpu

smbd taking up 25-28% (I'm copying a file through windows, only between 12-18mb/s right now)

kswapd0 taking up 12-14%

fvbackup taking 12-14% (still that one share backup, probably somewhere between 6 to 10mb/s)

 

Of 508732 total KiB of Mem, there's around 1800-25000 free. 

minidlnad is using about 70% of the memory, but not much cpu.

Message 14 of 17
StephenB
Guru

Re: RN104 - Really Slow Copy Speeds


@WiredRacing wrote:

 

minidlnad is using about 70% of the memory, but not much cpu.


You could try disabling the DLNA service and see if that makes any difference.

Message 15 of 17
WiredRacing
Aspirant

Re: RN104 - Really Slow Copy Speeds

The 'minidlnad' processed eventually dropped off 'top' and went down to sub 6%. Though curiously the amount of memory in use stayed the same.

 

When my SMB copy stopped, I stopped readynasd (as it was always trying to take up 100% of the cpu) and then started it and it started to behave "normally" (only spiking when using the management console). However, I tried another copy within midnight commander, large file, and it still didn't go over 10mb/s while the SMB copy with readynasd under control and no other backup process happening would top out in the mid 50's (generally hanging around in the mid 40's). smbd around migh 50 to mid 60% cpu, which kicks up kswapd0 to low teens. 3 kworker processes, usually 2 of them equal 10%. 

 

When I sort 'top' by mem%, 'minidlnad' it's the highest (at 5.6%) but no other process seems to be using a lot of memory despite 480000 used and only ~30000 free. The swap looks much better now though, only 10,416 used. 3-5 running tasks, 187(!) sleeping (0 stopped or zombie).

 

So yeah this is still quite odd why smb copies so much faster. Haven't rebooted yet, ALMOST done migrating all my data over. Just a few more hours now. 

Message 16 of 17
WiredRacing
Aspirant

Re: RN104 - Really Slow Copy Speeds

So, after powering down. Moving my new drive that I was copying all this data to into another slot, turning it back on. Then shutting down again and reinstalling an exported 2-disk volume, turning it back on to verify it worked. Then exporting it again, removing it. Putting two other disks in, creating a RAID 0 volume of those and manually editing smb.conf (which was not loading due to "smb encryption = (null)"). I created some backup jobs to backup data from the Bay 1 drive to this new array and I'mgetting an avg of 44mb/s through the management console and using the backup jobs. 

 

So it appears, somewhere in that process, part of my problem(s) corrected themselves.

 

Once the backups are done, I'll run the various commands and tests mentioned here and post the results for future reference.

 

Going to probably need to start another thread on the SMB config issue because as soon as I reboot, it will overwrite my change, so somewhere else in the system is some thing else that needs to change, or I need help to write a script to update and re-try 'systemctl start smb' after a minute or two after booting. Anyhow, separate issue (but part of the odyssey of this single drive upgrade project).

Message 17 of 17
Top Contributors
Discussion stats
  • 16 replies
  • 2749 views
  • 0 kudos
  • 3 in conversation
Announcements