Re: How to fix the net graphs

Bill Wilson <[email protected]>
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On Tue, 17 Feb 2009 14:23:48 +0100
Mathijs Krullaars <[email protected]> wrote:

> I have multiple gkrellmd running on different servers, some display the net 
> graphs right, others do the twice the amount - 0 thing.
> 
> I have the idea lots of users have this but no solution can be found when 
> googling intensively.
> 
> Is it so that the kernel on this machines does update /proc/net only once in 2 
> seconds?
> What option in the kernel causes this / can fix this?
> 
> When someone knows any solution to this problem, please reply.
> I will post the info on multiple places afterwards

Yes, it's that the kernel driver code for some net interface cards updates
its internal counters only once per 2 seconds and there is no kernel option
to fix this.  You would have to edit the kernel source and compile a custom
kernel to change the update rate to at least once per second.

See:
    http://article.gmane.org/gmane.comp.gnome.apps.gkrellm/986
    http://lkml.indiana.edu/hypermail/linux/kernel/0308.0/0329.html

Bill

______________________________________________
Gkrellm mailing list
[email protected]
Read archives-join-leave-set RSS feed:
http://archive.lists.netservicesgroup.com
This service is provided by The Network Services Group:
http://www.netservicesgroup.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.