[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161129.133715.278556028530429933.davem@davemloft.net>
Date: Tue, 29 Nov 2016 13:37:15 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, tariqt@...lanox.com
Subject: Re: [PATCH] mlx4: give precise rx/tx bytes/packets counters
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 25 Nov 2016 07:46:20 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> mlx4 stats are chaotic because a deferred work queue is responsible
> to update them every 250 ms.
>
> Even sampling stats every one second with "sar -n DEV 1" gives
> variations like the following :
...
> This patch allows rx/tx bytes/packets counters being folded at the
> time we need stats.
>
> We now can fetch stats every 1 ms if we want to check NIC behavior
> on a small time window. It is also easier to detect anomalies.
...
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Tariq Toukan <tariqt@...lanox.com>
Applied to net-next, thanks Eric.
Powered by blists - more mailing lists