[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101006.234611.191419337.davem@davemloft.net>
Date: Wed, 06 Oct 2010 23:46:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: hawk@...x.dk, netdev@...r.kernel.org, jeffrey.t.kirsher@...el.com
Subject: Re: [net-next PATCH] igb: update adapter stats when reading
/proc/net/dev.
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 07 Oct 2010 08:44:08 +0200
> Le mercredi 06 octobre 2010 à 23:36 -0700, David Miller a écrit :
>> From: Jesper Dangaard Brouer <hawk@...x.dk>
>> Date: Tue, 05 Oct 2010 16:18:33 +0200
>>
>> > Network driver igb: Improve the accuracy of stats in /proc/net/dev, by
>> > updating the adapter stats when reading /proc/net/dev. Currently the
>> > stats are updated by the watchdog timer every 2 sec, or when getting
>> > stats via ethtool -S.
>> >
>> > A number of userspace apps read these /proc/net/dev stats every second,
>> > e.g. ifstat, which then gives a perceived very bursty traffic pattern,
>> > which is actually false.
>> >
>> > Signed-off-by: Jesper Dangaard Brouer <hawk@...x.dk>
>>
>> I assume that the Intel folks will take care of integrating this
>> now that the locking is fixed.
>>
>
> I integrated Jesper patch into my cumulative patch.
Ok.
--
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