From: Eric Dumazet <eric.dumazet@gmail.com>
To: Torsten Schmidt <torsten.schmidt@s2006.tu-chemnitz.de>
Cc: David Miller <davem@davemloft.net>, netdev@vger.kernel.org
Subject: Re: [PATCH] ipv4: add DiffServ priority based routing
Date: Thu, 14 Jan 2010 13:50:51 +0100 [thread overview]
Message-ID: <4B4F132B.7020001@gmail.com> (raw)
In-Reply-To: <201001141250.27287.schmto@hrz.tu-chemnitz.de>
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
next prev parent reply other threads:[~2010-01-14 12:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-12 13:32 [PATCH] ipv4: add DiffServ priority based routing Torsten Schmidt
2010-01-12 20:16 ` David Miller
2010-01-12 20:59 ` Philip A. Prindeville
2010-01-12 21:03 ` David Miller
2010-01-12 21:33 ` Philip A. Prindeville
2010-01-13 4:47 ` Steven Blake
2010-03-11 19:25 ` Philip A. Prindeville
2010-03-11 19:29 ` David Miller
2010-03-11 19:32 ` Philip A. Prindeville
2010-03-12 11:18 ` Benny Amorsen
2011-02-21 6:01 ` Philip Prindeville
2010-01-14 11:50 ` Torsten Schmidt
2010-01-14 12:50 ` Eric Dumazet [this message]
2010-01-15 0:51 ` David Miller
2010-01-15 8:24 ` Eric Dumazet
2010-01-15 8:26 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B4F132B.7020001@gmail.com \
--to=eric.dumazet@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=torsten.schmidt@s2006.tu-chemnitz.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).