Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2002 01:22:40 +0200
From:      Christoph Moench-Tegeder <cmt@rz.uni-karlsruhe.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Traffic shaping
Message-ID:  <20021007232239.GB16659@rz-ewok.rz.uni-karlsruhe.de>
In-Reply-To: <20021007215449.GI495@gsmx07.alcatel.com.au>
References:  <200210050655.g956t3Mp091313@lurza.secnetix.de> <006501c26d35$f6904720$1001a8c0@jennie> <20021006132624.GA27191@rz-ewok.rz.uni-karlsruhe.de> <1033912218.4051.2.camel@chowder.dons.net.au> <20021006141906.GB27191@rz-ewok.rz.uni-karlsruhe.de> <20021007215449.GI495@gsmx07.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
## Peter Jeremy (peter.jeremy@alcatel.com.au):

> ipfw/dummynet pipes only handle a single flow direction:  If you
> have something like
>   ipfw NUMBER pipe 1 ip from any to any via ifX
> then both incoming and outgoing traffic share the pipe and you are
> limiting the combined uplink and downlink traffic - which probably
> isn't what you want.

Yes, I see.
My last experience with things like this suffered a little from a
slightly underfunctional implementation of bandwidth control (and
using dummynet/FreeBSD was not an option). I only had control
over the outgoing queue on the external interface, so I tried
slowing down slow start by limiting the acks from teh destination
to the source of the transfer based on calculations with packet
sizes and -rates (which seemed to be more than a little unreliable).
[Perhaps I could construct a scenario with some more interfaces,
where limiting the outgoing rates would be easier, but that would
be too far fetched for now].
So my problem in short: How much do I have to limit acks in the
direction with the lower bandwidth in order to control the
usage of the other direction? This is a little away from the
original thread, but I just would like to know (might come in
handy some time and perhaps I can "ptimize" my old "solution"
a little with other people's experience).

Regards,
cmt

-- 
Spare Space

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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