From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] TCP window based shaping
Date: Sat, 12 Feb 2005 13:19:05 +0000 [thread overview]
Message-ID: <420E0249.8020406@dsl.pipex.com> (raw)
In-Reply-To: <42095013.8030600@wildgooses.com>
Ed Wildgoose wrote:
> Sorry for the belated reply:
>
>> instead of shaping the incoming traffic and estimate rate from the
>> outgoing traffic, you can 'delay' the outgoing ACK, and estimate the rate
>> from the raise of the sequence number.
>>
>>
>
> I like the sound of this idea, but I don't follow the details?
>
> Certainly it seems to me that you can do most of the work by only
> looking at outgoing ACK packets. For example with certain assumptions
> we can simply measure the outgoing ACK rate, assume this is dependent on
> the amount of data being controlled by our bandwidth throttling, and
> therefore we get a really good estimate of the effect of our current
> incoming rate. However, this breaks down if for example the sender was
> not sending data as fast as possible.
Also delayed acks complicate things a bit - If you are not going to
deconstruct and spawn new acks then you will always be working with
pairs. If I had a meg I guess I wouldnt care (and for those with highly
asymmetric dsl links they are almost a must) but for slow links it's
nice to be able to get 1 ack = 1 packet.
>
> Also simply delaying ACK's doesn't seem to be the whole answer because
> the sender should simply see this as a longer RTT and increase the
> window size to keep more data in transit. Seems that we need to do a
> little of both, eg examine outgoing ACK speed, reduce the window to the
> approx correct size and then our RED/tail drop takes care of the fine
> tuning
>
> As others have said, it's stuff like Bittorrent which really shows the
> weaknesses in the current system. I find that even throttling
> bittorrent to say, half the incoming bandwidth still shows regular
> increases in latency, no doubt to the effects of the sudden rush of
> incoming connections. (or slow start effects basically).
IIRC you have 1 meg - I always assumed that this would be nicer that
my 1/2 meg. I'll have to do some tests when I get time and make some
graphs to see how my setup behaves, it's a bit tricky with bt though as
things can change alot over time on the same torrent.
If you are throttling to 50% and not using RED then it's going to be
more aggressive WRT over dropping and maybe this causes problems by its
self.
>
> In the BWMGR product (or whatever it is called), I get the impression
> they do more work on controlling initial windows to try and throttle
> slow start back some? Seems to me that one could do more work around
> the time of the initial ACK to get a window size more in keeping with
> the flow for that tcp class? If we only allocate 10Kb of our connection
> to that class, and we are connected via some broadband device, then
> nowhere in the world is more than 350ms away, and hence a window size of
> 65535 is clearly wayyy to large - lets fix this early?
I'm not sure about this one but if you are p2p with someone whose buffer
is flooded and you are competing for their bandwidth with others you may
actually over throttle yourself by reducing window.
The way broadband in the UK is going - higher bandwidth and usage caps I
think we may also see more contention and not knowing what your
bandwidth is, is going to be tricky :-) (policers to classify?)
Andy.
>
> How do we fit this thing into the linux QOS architecture anyway?
>
> Ed W
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2005-02-12 13:19 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-08 23:49 [LARTC] TCP window based shaping Ed Wildgoose
2005-02-08 23:57 ` David Boreham
2005-02-09 1:59 ` Andy Furniss
2005-02-09 11:34 ` marco ghidinelli
2005-02-09 22:38 ` Andy Furniss
2005-02-11 2:57 ` Ed Wildgoose
2005-02-11 11:05 ` marco ghidinelli
2005-02-11 18:18 ` Ed Wildgoose
2005-02-11 23:45 ` Ed Wildgoose
2005-02-12 2:16 ` Andy Furniss
2005-02-12 13:19 ` Andy Furniss [this message]
2005-02-13 0:46 ` Ed Wildgoose
2005-02-14 0:27 ` marco ghidinelli
2005-02-14 0:38 ` marco ghidinelli
2005-02-15 22:33 ` Andy Furniss
2005-02-15 22:54 ` Andy Furniss
2005-02-16 14:52 ` Ed Wildgoose
2005-02-17 3:45 ` gypsy
2005-02-17 14:09 ` Ed Wildgoose
2005-03-12 10:10 ` Ow Mun Heng
2005-03-15 15:24 ` Ed Wildgoose
2005-03-16 7:46 ` Ow Mun Heng
2005-07-09 4:01 ` Don Cohen
2005-07-10 19:55 ` Andy Furniss
2005-07-12 1:50 ` TAKANO Ryousei
2005-07-12 8:46 ` Andy Furniss
2005-07-12 13:44 ` TAKANO Ryousei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=420E0249.8020406@dsl.pipex.com \
--to=andy.furniss@dsl.pipex.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.