CPU usage when idle, ?average, ?how to improve/reduce usage

Status
Not open for further replies.

fisheater

Explorer
Joined
Jun 29, 2011
Messages
53
Hi all,

This is a screenshot of my CPU usage when my FN is idle. It seems that there is activity every minute, and a bigger bump every 5 min.



Uploaded with ImageShack.us

Is this average/typical for a standard install?

Is there a way to put the FN system a bit more to sleep? i.e. use less power?

Thanks for your insight.

FE
 

louisk

Patron
Joined
Aug 10, 2011
Messages
441
It looks pretty typical of an unloaded system. Is this typical use for your nas? How much power is it consuming?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Yeah, there's stuff that runs periodically. On an otherwise-silent system, it'll be noticeable.
 

Milhouse

Guru
Joined
Jun 1, 2011
Messages
564
Is this average/typical for a standard install?

It's the stats collection process (collectd). It runs every minute to collect the network, cpu, memory etc. stats and then generates the associated PNG images. It also has to aggregate up and roll over (tar/compress) the stats plus create/refresh the daily, weekly, yearly graphs at appropriate intervals.

It's likely to be the graph generation that is causing the CPU spikes, and these are being generated as static images even when they are not being viewed. It would be better (and entirely possible, although it would incur a small delay on low power systems) for the the graphs to be generated dynamically on demand as they are viewed by the user.

Is there a way to put the FN system a bit more to sleep? i.e. use less power?

Only by completely disabling all stats collection and associated image generation, which might be something you want to request as an enhancement if this is of no value to you or you are monitoring stats externally. At the very least, dynamic rather than static image generation would be a worthwhile enhancement.

Dynamic graph generation may even need to become an essential requirement as more and more stats are collected and graphed, not to mention each volume and/or dataset results in an additional set of graphs etc. so as you add more volumes/datasets/interfaces/etc you increase the periodic load on the server while it grinds away creating graphs you very rarely - if ever - look at.

Finally, if you keep the the web GUI open in a browser tab frequent HTTP polls will keep the python process busy, and every HTTP access is logged to the file system. Even when no browser is connected, a watchdog process appears to be monitoring the state of the web server every 30 seconds or so (purpose, unknown as I very much doubt any "alarms" would go off should the web server become unavailable).
 

fisheater

Explorer
Joined
Jun 29, 2011
Messages
53
Thanks for all the insight, it seems like system is about average. I resisted the urge to buy a watt meter today, I'll see if I can find one to borrow and post my results. Thanks again, this has been a fun experiment that has become s very useful NAS.

FE
 
Status
Not open for further replies.
Top