[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B4F132B.7020001@gmail.com>
Date: Thu, 14 Jan 2010 13:50:51 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Torsten Schmidt <torsten.schmidt@...06.tu-chemnitz.de>
CC: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: add DiffServ priority based routing
Le 14/01/2010 12:50, Torsten Schmidt a écrit :
.
> Our company is more interested in IP DiffServ traffic accounting.
> So we simply need a fast mechanism which generates IP DiffServ traffic
> statistics, without setting the network interface in promiscuous mode,
> (which softflowd ore tcpdump does).
tcpdump can work in non promiscuous mode (-p). Anyway, switched networks makes
promiscuous a non issue nowaday.
>
> So first idea was to implement a virtual file e.g. called /proc/net/ip_dscp.
> If the main line peoples are not interested in, i will no longer send these
> patches.
Problem is, you might need many sets of counters...
1) General (for each net namespace ...)
2) Per interface
3) Per protocol ?
For performance reasons, SNMP counters are per cpu, so each set would be very large.
In any case, dont add yet another /proc/net file, this is considered as a hacky way to do
these things today.
Thanks
--
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