[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B502644.4070000@gmail.com>
Date: Fri, 15 Jan 2010 09:24:36 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
CC: torsten.schmidt@...06.tu-chemnitz.de, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: add DiffServ priority based routing
Le 15/01/2010 01:51, David Miller a écrit :
> From: Eric Dumazet <eric.dumazet@...il.com>
> Date: Thu, 14 Jan 2010 13:50:51 +0100
>
>> Problem is, you might need many sets of counters...
>
> Why nobody has suggested using existing kernel facilities for this is
> beyond me.
>
> We have a diffserv packet scheduler queueing discipline, so you can
> classify traffic arbitrarily based upon the diffserv bits in the
> packet and then shape them using that classification into different
> packet scheduler queues.
>
> Simply attach those child queues to that default pfifo qdisc, nothing
> fancy.
>
> Then you can dump the queue stats using 'tc'.
Well, its a good idea but it has drawbacks, for example if your eth0 device
has 64 tx queues. Parsing tc output can be... interesting :)
--
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