CPU Utilization

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
grogi
Posts: 11
Joined: Wed Apr 07, 2010 12:32 am

CPU Utilization

Post by grogi »

If I type top in the console, I get a CPU usage ~50% (~46% sys, 2% nice, 2% user).

The Gargoyle GUI only shows 0-2% CPU utilization in last minutes (1/5/15). Does it only count the user processes? If so, this does not make much sense, because all connection tracking happens in the kernel.
---
Edit: found it...

The CPU Load Averages shows not the CPU Utilization in 0-100%, but the average length of the queue of processes waiting for execution...

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: CPU Utilization

Post by pbix »

Gargoyle reports the contents of /proc/loadavg in the display you reference. Myself I am not sure of the precise meaning of this standard Linux file relative to the 'top' utility.

Since this is a Linux issue and not a Gargoyle issue you will have to research the difference between these two using Linux sources.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

grogi
Posts: 11
Joined: Wed Apr 07, 2010 12:32 am

Re: CPU Utilization

Post by grogi »

I have added the brief CPU Utilization monitor to the overview screen. It uses Ajax to dynamically update the current load.

I could supply the patch... If you want it of course :-) In what format?

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: CPU Utilization

Post by Eric »

Can you please send a diff to eric@gargoyle-router.com ?

Thanks!

Post Reply