[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AA14377.9020200@trash.net>
Date: Fri, 04 Sep 2009 18:42:31 +0200
From: Patrick McHardy <kaber@...sh.net>
To: netdev@...r.kernel.org
Subject: Re: net_sched 00/07: classful multiqueue dummy scheduler
Patrick McHardy wrote:
> These patches contain a classful multiqueue ("mq") dummy scheduler to fix a
> couple of problems with the current multiqueue TC API integration. The
> changelogs of patch 05 and 07 contain more details.
>
> The mq scheduler does two things:
>
> - present device TX queues as classes, allowing to attach different qdiscs
> to them, which are grafted to the TX queues
>
> - present accumulated statistics of all device queue root qdiscs
>
> Its used by default for multiqueue devices instead of the regular pfifo_fast
> qdisc, but can also be attached manually to restore multiqueue behaviour
> after attaching a non-multiqueue (shared) qdisc.
>
> Patches 1-4 contain some preparatory cleanups because I was getting tired
> of copying unnecessary checks and dummy functions :)
>
> Patch 5 introduces a dev->qdisc pointer, which points to the root qdisc from
> userspace's point of view. This is later used for the mq qdisc, which isn't
> actually attached to any device queues. Patch 7 contains the mq scheduler.
>
> I've tested the scheduler with a hacked macvlan version which uses 4 queues,
> but since I don't own a multiqueue capable device I couldn't test this on
> real hardware.
And for reference, this is the script I used for testing:
Download attachment "test.sh" of type "application/x-sh" (929 bytes)
Powered by blists - more mailing lists