[prev in list] [next in list] [prev in thread] [next in thread] 

List:       e1000-devel
Subject:    Re: [E1000-devel] [RFC 1/2] igb: statistic optimization
From:       Stephen Hemminger <shemminger () vyatta ! com>
Date:       2008-10-22 17:54:58
Message-ID: 20081022105458.59814157 () extreme
[Download RAW message or body]

On Wed, 22 Oct 2008 10:37:44 -0700
Rick Jones <rick.jones2@hp.com> wrote:

> > I don't think you want to put this in the code that can be called directly 
> > from IOCTL from userspace.  This function can take a lot of cycles and 
> > some silly applications like gkrellm call it quite frequently.  The 
> > update_stats function will be called as part of the watchdog anyway, and 
> > you already got the interesting stats for realtime with the tx and rx 
> > bytes/packets.
> 
> On the flip side aren't there "out of phase" issues with pulling stats 
> based on a timer vs something like a netstat -i 1 command?
> 
> rick jones

The only stats pulled are the error stats, so this is probably okay.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic