NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Paul608085
Mar 27, 2016Tutor
Monitoring CPU and RAM Usage (linux-dash and alternatives)
I have had a RN104, (OS 6.4.2), for some time now but have often thought that it was running a bit slow. For example I have DVBLink TV Server installed and when opening it up from another device it often take over two minutes for the EPG to populate, however when I tried building a server using a "proper" PC, (dual core 2.8GHz 8GB RAM etc), DVBLink was ready to go within 4 seconds!
I am aware that neither the CPU nor RAM can be upgraded on this ReadyNAS so I was thinking of upgrading the device. What I really want to do first is monitor the ReadyNAS' CPU and RAM usage to find out if there were any bottlenecks causing slow running, so I installed "linux-dash" from the ReadyNAS dashboard, (v0.5.1). I have found the results for CPU Load Average to be rather surprising:
Number of cores: 1
1 min 5 min 15 min
This is with the system apparently idling, not streaming any media or anything. I am used to using system monitoring tools on the desktop: how can the processor be running at over 1000%? What does the other figure mean, (% divided by 100)? Netgear Support tell me that they do not cover linux-dash, so what is the preferred method of monitoring CPU and memory usage - I would have thought that these would be standard for the ReadyNAS Admin page under System > Status, but apparently not? So how are you supposed to monitor it?
1,194% 926% 899%
11.94 9.26 8.99I have the following apps installed on the ReadyNAS:
DVBLink TV Server (v5.5.0)
linux-dash (v0.5.1)
Logitech Media Server (v1.0.6)
TIA
Paul
That was just my opinion. It isn't bogus or misleading, just only so much the little Marvell Armada CPU can do :) Honestly, has I said it serves up my media files perfectly. I just found running some of the varous apps (Plex, the Virus scan, pigwo, and enabling iTunes or DNLA) running at the same time while trying to access the files via Plex (streaming mkv files) it isn't effient and uses a lot of CPU. That is why I mentioned running top and saving the output so you can see the CPU use and Waits.
The way we have it set up is probably simple but more or less it is the centralized storage for our home. All of our computers back up to it. It also serves our media (Music and Movies) via Plex. Plex is running on Ubuntu and NFS mounting the NAS shares. Once a week the 104 sends its data to another PC in the house with lots of storage who shoots it up to Crashplan. Documents, photos, computer backups, and music mostly - I don't back up the movies since I have the physical media still.
Down the road I'm sure I'll expand my Ubuntu server with a raid card and ZFS or some other files system/RAID and remove the 104 since it would be significantly faster with regards to disk I/O and network. But so far NAS to TV or other streaming device it is ok and I can tolerate the 20 - 30MB/Sec transfer rate it seems to see when transferring files.
So yeah, it is good at one or two things but not for running Plex or some of the more CPU intensive applications while also serving up media. I think that is pretty fair to say. It really comes down to the CPU and Memory amount it has as the limiting factor.
10 Replies
The load average on my RN102 is between 0.1 and 0.2 when the NAS is idling. That is using 6.5.0-T338 beta firmware, and is measured with top.
Sorry, I don't understand - what does "measured with top" mean?
What does load average between 0.1 and 0.2 equate to? (10 to 20% CPU usage ??).
Do you have any services such as DVBLink TV Server or Logitech Media Server running in the background?
Paul608085 wrote:
Sorry, I don't understand - what does "measured with top" mean?
top is a standard linux command line tool - http://linux.about.com/od/commands/l/blcmdl1_top.htm
What does load average between 0.1 and 0.2 equate to? (10 to 20% CPU usage ??).
No. It's not directly related to CPU usage. It's the average number of processes either using the CPU or queued up waiting for the CPU.
http://www.howtogeek.com/194642/understanding-the-load-average-on-linux-and-other-unix-like-systems/
Do you have any services such as DVBLink TV Server or Logitech Media Server running in the background?
Plex is installed/running and the iTunes server is enabled enabled.
- saf1Aspirant
Via command line top is going to be the primary tool of choice within the ReadyNAS 104's distro. It will more or less tell you what you need to know. You can just create a small script and have it write to a file. Then using awk, cat, grep, or whatever else you are comfortable with, just parse out the date, time, CPU / US (User), SY (system), NI (Nice), ID (Idle), and WA (Waits). If you want memory grab that too if you are so inclinded. What you want to do is throw this data into excel, make a pivot table, add date/time, user, sys, and idle. Here you will see how your ReadyNAS is doing vs. load. Pretty simple honstly.
Pay attention to the wa column w hich is I/O wait - or time waiting for I/O to complete. When that number is high you know you have reached the ReadyNAS's capacity with regards to I/O throughput and/or CPU.
Note: I thought someone had a application in the app store, for free, that did a single page presentation with regards to CPU, disk space, ram, etc. Again, I do not run any apps on my box has it only serves up files/media. The box does well with that but anything else running on it tends to bog the little CPU down. Mine is running 4x6 TB WD reds.
Thank you all for your replies and advice. I have come to the conclusion that I may be expecting too much from the ReadyNAS104? ie just because it can do something, such as run DVBLink, does not mean that it can do it well?
I assume that this low end ReadyNAS was primarily designed to serve files / media and as saf1 mentioned in his post it does this well. The fact that it is also able to do other things at the same time should be seen as a bonus perhaps?
Apologies for the delay in replying - I'm having desktop PC problems.
Regards,
Paul
- saf1Aspirant
That was just my opinion. It isn't bogus or misleading, just only so much the little Marvell Armada CPU can do :) Honestly, has I said it serves up my media files perfectly. I just found running some of the varous apps (Plex, the Virus scan, pigwo, and enabling iTunes or DNLA) running at the same time while trying to access the files via Plex (streaming mkv files) it isn't effient and uses a lot of CPU. That is why I mentioned running top and saving the output so you can see the CPU use and Waits.
The way we have it set up is probably simple but more or less it is the centralized storage for our home. All of our computers back up to it. It also serves our media (Music and Movies) via Plex. Plex is running on Ubuntu and NFS mounting the NAS shares. Once a week the 104 sends its data to another PC in the house with lots of storage who shoots it up to Crashplan. Documents, photos, computer backups, and music mostly - I don't back up the movies since I have the physical media still.
Down the road I'm sure I'll expand my Ubuntu server with a raid card and ZFS or some other files system/RAID and remove the 104 since it would be significantly faster with regards to disk I/O and network. But so far NAS to TV or other streaming device it is ok and I can tolerate the 20 - 30MB/Sec transfer rate it seems to see when transferring files.
So yeah, it is good at one or two things but not for running Plex or some of the more CPU intensive applications while also serving up media. I think that is pretty fair to say. It really comes down to the CPU and Memory amount it has as the limiting factor.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!