netdev
[Top] [All Lists]

Re: [PATCH] proportional share accept()

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] proportional share accept()
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Wed, 25 Feb 2004 10:12:25 -0800
Cc: kashyapv@xxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20040225092116.2081ddfb@xxxxxxxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.44.0402250818060.2878-100000@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20040225092116.2081ddfb@xxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 25 Feb 2004 09:21:16 -0800
Stephen Hemminger <shemminger@xxxxxxxx> wrote:

> Just a cursory question, but would it be possible to just use iptables
> to classify the packets and assign them to different IP addresses.
> The the application could manage the priorities by opening two different
> sockets (bound to different IP addresses) and do the scheduling there?

That's how I would attempt to implement this.  I really don't like this
idea of putting a pseudo-classifier in the accept queue logic, and an
ugly GLOBAL one at that, if anything it ought to be per-socket but even
that I don't like.


<Prev in Thread] Current Thread [Next in Thread>