Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2003 07:06:46 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        Eugene Grosbein <eugen@kuzbass.ru>
Cc:        net@freebsd.org
Subject:   Re: ipprecedence
Message-ID:  <20030706070646.B17595@xorpc.icir.org>
In-Reply-To: <3F07EEE6.1E4EBE41@kuzbass.ru>; from eugen@kuzbass.ru on Sun, Jul 06, 2003 at 05:41:58PM %2B0800
References:  <20030703002247.A2097@grosbein.pp.ru> <3F0310CE.5070302@tenebras.com> <3F03867A.79F82968@kuzbass.ru> <20030705123332.A60972@xorpc.icir.org> <3F078E39.ABC0822F@kuzbass.ru> <20030706002402.A58528@xorpc.icir.org> <3F07D3CD.4CC3B317@kuzbass.ru> <20030706021404.A94750@xorpc.icir.org> <3F07EEE6.1E4EBE41@kuzbass.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 06, 2003 at 05:41:58PM +0800, Eugene Grosbein wrote:
> Luigi Rizzo wrote:
> 
> > > > zero-bw pipes are only useful to add delay or to count
> > > > traffic (e.g. using masks), but will never cause queues
> > > > to build up and so won't help in your case.
> > >
> > > That's sad; it would be nice if dummynet would create queues for zero-bw
> > > pipes and perform dequeueing basing on weights.
> > 
> > that would be magic, not engineering :)
> > 
> > How could the scheduler decide when to drain the queue ?
> 
> It should move packets from zero-bw WFQ pipe the interface FIFO
> as soon as possible but should consider weights 

with infinite bandwidth (that is what 'bw 0' means),
"as soon as possible" means immediately, so you will
never have anything in the dummynet queues, and weights
would have no purpose.

> Well, I could do that but my configuration is different.
> My FreeBSD router does not have WaveLan interface. Instead, I have
> another device (named "RWR") with one 10Mbit Ethernet interface
> and one 2Mbit WaveLan interface. RWR can pass traffic with non-zero
> IP Precedence first. FreeBSD has fxp(4) 100Mbit Ethernet card that
> connects it to the RWR. So I see no reason to patch fxp(4) here :-)

so what's your problem then ???

	cheers
	luigi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030706070646.B17595>