[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48FF64E8.4050907@hp.com>
Date: Wed, 22 Oct 2008 10:37:44 -0700
From: Rick Jones <rick.jones2@...com>
To: "Brandeburg, Jesse" <jesse.brandeburg@...el.com>
CC: Stephen Hemminger <shemminger@...tta.com>,
"jeffery.t.kirsher@...el.com" <jeffery.t.kirsher@...el.com>,
"Allan, Bruce W" <bruce.w.allan@...el.com>,
"Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@...el.com>,
"e1000-devel@...ts.sourceforge.net"
<e1000-devel@...ts.sourceforge.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [RFC 1/2] igb: statistic optimization
> 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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists