NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Guillaume_R
Apr 21, 2020Aspirant
My RN102 is painfully slow
Hi everyone, I’ve had some difficulties using my RN102 for a long time. Transfer rates are actually more or less ok, but it’s the access times (right-click, access folders, copying a file…) that ...
StephenB
Apr 21, 2020Guru - Experienced User
Guillaume_R wrote:
_I'm afraid I never consulted the logs (I don't know how to handle these). Here's a screenshot of what I get when I download them all, anything specific you want me to upload ?
Open disk_info.log in notepad. Then you can post the info here (as suggested above). Best to copy/paste into your reply (not a screenshot).
You could also search system.log for btrfs errors (just search for btrfs).
Guillaume_R wrote:
_I programmed a scrub (ie a "cleaning" right ? Not a defrag ? I have a French UI, just to make sure we understand each other ;)) every monday. I just realized it's still running right now :smileyfrustrated: Would it be the cause of my problem ?
Scrub isn't a defrag, it does other stuff. It will slow down performance when it is running (as will the balance).
Guillaume_R wrote:
_I could try the balance, you're right. Each and everytime I want to balance or test, it takes so much time I just forget it...
If the balance always takes a long time, then you probably need to run them more often. Scrubs generally take about the same amount of time, but the balance will run quite quickly if there isn't anything it needs to do.
Guillaume_R wrote:
Speaking of that, is there any way I can test/map my whole home network, so that I can determine where is located the flaw ?
One aspect here is that SMB isn't very efficient at folder browsing (and that appears to be the performance issue that bothers you the most). So if there are a lot of files in your folders, you might need to re-organize them into subfolders, which would help.
But first we should rule out the network and the NAS itself. You can test with NAStester, it would give us some better idea of the large file speeds you are seeing. http://www.808.dk/?code-csharp-nas-performance
Guillaume_R
Apr 21, 2020Aspirant
Here's the data from disk_info.log :
Device: sda
Controller: 0
Channel: 0
Model: WDC WD30EFRX-68EUZN0
Serial: WD-WMC4N2537953
Firmware: 80.00A80W
Class: SATA
RPM: 5400
Sectors: 5860533168
Pool: data
PoolType: RAID 1
PoolState: 1
PoolHostId: e35da80
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: 31
Start/Stop Count: 416
Power-On Hours: 44047
Power Cycle Count: 416
Load Cycle Count: 365
Device: sdb
Controller: 0
Channel: 1
Model: WDC WD30EFRX-68EUZN0
Serial: WD-WCC4N1LF9UVX
Firmware: 82.00A82W
Class: SATA
RPM: 5400
Sectors: 5860533168
Pool: data
PoolType: RAID 1
PoolState: 1
PoolHostId: e35da80
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: 31
Start/Stop Count: 384
Power-On Hours: 29376
Power Cycle Count: 384
Load Cycle Count: 457
There appears to be no btrfs errors on system.log
I downloaded and ran NAS perf tester. I got an average speed of 10mb/sec (write) and 7,50mb/sec
(read).
Then I stopped the scrub operation that has been running for two days on my NAS, ran NAS-PT again,
and got 31,8Mb/sec (write) and
22,5mb/sec (read).
Of course, the scrub process was slowing it all (I feel a little dumb now :smileytongue:). I
originally configured it so that it runs when I'm away at work, but now I'm locked down at home,
I'm much more on my PC (and totally forgot to disable it).
So, according to the data I posted, is everything back to normal ?
- StephenBApr 21, 2020Guru - Experienced User
Guillaume_R wrote:
Here's the data from disk_info.log :
...
There appears to be no btrfs errors on system.log
Then I stopped the scrub operation that has been running for two days on my NAS, ran NAS-PT again,
and got 31,8Mb/sec (write) and
22,5mb/sec (read).
So, according to the data I posted, is everything back to normal ?First, the disks do look healthy. The scrub was obviuosly having a big effect
I haven't run NAS-PT, but I think it is likely that it would indicate slower speeds than NASTester (http://www.808.dk/?code-csharp-nas-performance ). NasTester is doing large file transfers, so it is basically a best cast for the NAS.
So things probably are back to normal, though maybe retest with NAStester and let us know what numbers it gives.
Still, 2 days is a really long time for a 3 TB RAID-1 scrub. Do you have disk spindown enabled?
- Guillaume_RApr 22, 2020Aspirant
Good morning Stephen,
I just ran NASTester (doing nothing else with my PC), here are the results :
Running a 400MB file write on A: 5 times...
Iteration 1: 32,13 MB/sec
Iteration 2: 31,71 MB/sec
Iteration 3: 34,58 MB/sec
Iteration 4: 35,47 MB/sec
Iteration 5: 35,43 MB/sec
-----------------------------
Average (W): 33,87 MB/sec
-----------------------------
Running a 400MB file read on A: 5 times...
Iteration 1: 26,74 MB/sec
Iteration 2: 26,70 MB/sec
Iteration 3: 25,79 MB/sec
Iteration 4: 24,54 MB/sec
Iteration 5: 26,18 MB/sec
-----------------------------
Average (R): 25,99 MB/sec
-----------------------------
Running a 400MB file write on X: 5 times...
Iteration 1: 35,73 MB/sec
Iteration 2: 35,70 MB/sec
Iteration 3: 36,47 MB/sec
Iteration 4: 34,40 MB/sec
Iteration 5: 36,66 MB/sec
-----------------------------
Average (W): 35,79 MB/sec
-----------------------------
Running a 400MB file read on X: 5 times...
Iteration 1: 26,83 MB/sec
Iteration 2: 26,87 MB/sec
Iteration 3: 26,60 MB/sec
Iteration 4: 26,47 MB/sec
Iteration 5: 26,38 MB/sec
-----------------------------
Average (R): 26,63 MB/sec
-----------------------------
Running a 400MB file write on Y: 5 times...
Iteration 1: 35,96 MB/sec
Iteration 2: 36,40 MB/sec
Iteration 3: 35,86 MB/sec
Iteration 4: 36,47 MB/sec
Iteration 5: 36,39 MB/sec
-----------------------------
Average (W): 36,22 MB/sec
-----------------------------
Running a 400MB file read on Y: 5 times...
Iteration 1: 28,36 MB/sec
Iteration 2: 26,79 MB/sec
Iteration 3: 26,90 MB/sec
Iteration 4: 27,08 MB/sec
Iteration 5: 27,03 MB/sec
-----------------------------
Average (R): 27,23 MB/sec
-----------------------------That looks pretty good to me ?
I agree on the long time it takes for the scrub. Maybe the fact I was working on the NAS in parallel didn't help (silly me...).
I don't have any spindown activated. Actually, my config is pretty basic and factory-settings type.
One thing that would be really interesting for me is basically a "How to properly configure your Nas" kind-of guide. Could you recommand some good ressource on-line ? I have tried back in the days, but never found something satisfying to me.
Thank you !
- StephenBApr 22, 2020Guru - Experienced User
Guillaume_R wrote:
I just ran NASTester (doing nothing else with my PC), here are the results :
Average (W): 33,87 MB/sec
Average (R): 25,99 MB/sec
Average (W): 35,79 MB/sec
Average (R): 26,63 MB/sec
Average (W): 36,22 MB/sec
Average (R): 27,23 MB/secThat looks pretty good to me ?
Here are the results I get with my own RN102 (which currently has 2x1TB Ironwolf disks):
Running a 400MB file write on \\10.0.0.13\music 5 times... Iteration 1: 78.07 MB/sec Iteration 2: 73.84 MB/sec Iteration 3: 79.04 MB/sec Iteration 4: 78.94 MB/sec Iteration 5: 75.21 MB/sec ----------------------------- Average (W): 77.02 MB/sec ----------------------------- Running a 400MB file read on \\10.0.0.13\music 5 times... Iteration 1: 70.18 MB/sec Iteration 2: 69.20 MB/sec Iteration 3: 70.13 MB/sec Iteration 4: 70.34 MB/sec Iteration 5: 69.70 MB/sec ----------------------------- Average (R): 69.91 MB/sec -----------------------------
This test was run on a Windows 10 desktop with an SSD hard drive. I don't think the different disks in our NAS will affect the results much (if at all).It's possible that Windows 7 might slow your speeds down some, since it is using SMB 2.1 instead of SMB 3.
One aspect here is that the test results do depend on the speed of the local computer drive. So try benchmarking your PC disk, and see how well it performs. If your local disk is reasonably fast (~100MB/sec is typical for a 3.5" mechanical disk), then I think your NAS could be faster. Though if your performance is good enough for you, then you could leave well enough alone.
If your volume is very old, then one thing you could try is
- backing up the files
- do a factory reset, and reconfigure the NAS
- restore the files from backup
I did this myself some time ago, and it did boost the speed quite a bit.
You could also try doing the balance, and let it run to completion. Then see if that makes any difference.
Guillaume_R wrote:
One thing that would be really interesting for me is basically a "How to properly configure your Nas" kind-of guide. Could you recommend some good ressource on-line ?
I don't know of a really good resource for this. There is a post in the idea exchange which suggests settings on the RN100 series, though I don't personally agree with all of the recommendations.
It is important to not allow your data volume to become too full. Generally you want to keep it at least 20% free space.
I suggest turning off services in system->settings->services that you don't use. My RN102 has SMB, RSYNC, HTTP, HTTPS, UPNP, and ReadyDLNA enabled there. If you don't use Rsync or ReadyDLNA, you could turn those off (along with UPNP).
On the volume settings wheel, I disable checksums on the RN102. That will improve performance some. I keep quota enabled. That can hurt performance a bit, but it also lets me see more details on disk space usage - which I find is worth a small performance penalty.
In the share settings, I have Bit Rot Protection turned off (and also Auto Defrag). Bit Rot Protection will effect performance some. I don't know if Auto Defrag is a big factor.
I don't use the "smart" snapshots - the reason why is that the oldest snapshots are never deleted. Instead I use Custom snapshots, with "only take snapshots with changes" set. Generally I set the retention to 3 months, and set the schedule to take snapshots daily. This gives me some ability to roll back to older file versions, without consuming a lot of disk space. Turning snapshots off altogether is another approach, but I do occasionally use the rollback feature.
I do recommend running the maintenance tasks on the volume settings wheel on a schedule. I run each of them (balance, scrub, disk test, defrag) once every three months on my own NAS.
However, the scrub and disk test will slow performance when they are running. The tradeoff on those two is that running them regularly can identify disk or file system issues before the disks actually fail. But of course if the performance hit is too severe, then you can't really use the NAS. So you could adjust the frequency of those to a slower schedule if you want.
Balance and Defrag should normally complete fairly quickly (once you get the balance to complete the first time). Generally if they take too long, the best thing to do is run them more often.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!