Re: [Tsvwg] Is a TFRC sender allowed to increase the send rate more than twice?

"Andrei Gurtov" <andrei.gurtov@sonera.com> Tue, 14 January 2003 01:00 UTC

Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA00255 for <tsvwg-archive@odin.ietf.org>; Mon, 13 Jan 2003 20:00:26 -0500 (EST)
Received: (from mailnull@localhost) by www1.ietf.org (8.11.6/8.11.6) id h0E1EJl05343 for tsvwg-archive@odin.ietf.org; Mon, 13 Jan 2003 20:14:19 -0500
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h0E1DsJ05329; Mon, 13 Jan 2003 20:13:54 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h0D95KJ05686 for <tsvwg@optimus.ietf.org>; Mon, 13 Jan 2003 04:05:20 -0500
Received: from smtp.dave.sonera.fi (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA04700 for <tsvwg@ietf.org>; Mon, 13 Jan 2003 03:51:15 -0500 (EST)
Received: from gurtoan1-nb2.etela.sonera.fi ([131.177.37.47]:1273 "HELO gurtoannb2") by inside.dave.sonera.fi with SMTP id <S74978AbTAMIyb>; Mon, 13 Jan 2003 10:54:31 +0200
Message-ID: <007b01c2bae1$6a406c10$2f25b183@gurtoannb2>
From: Andrei Gurtov <andrei.gurtov@sonera.com>
To: Mark Handley <mjh@icir.org>
Cc: tsvwg@ietf.org, Sally Floyd <floyd@icir.org>
References: <65115.1042318072@vulture.icir.org>
Subject: Re: [Tsvwg] Is a TFRC sender allowed to increase the send rate more than twice?
Date: Mon, 13 Jan 2003 10:54:42 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit

> >Hi,
> >
> >In draft-ietf-tsvwg-tfrc-05.txt on p. 11 a TFRC sender computes its send
> >rate as
> >
> >If (p > 0)
> >                   Calculate X_calc using the TCP throughput equation.
> >                   X = max(min(X_calc, 2*X_recv), s/t_mbi);
> >
> >when there are some losses detected. A question is, when X_recv and
X_calc
> >suddenly increase, is the sender allowed to increase its transmission
rate X
> >more than twice? Such situation could appear when a number of delayed or
> >reordered packets show up at the receiver causing the loss rate become
low
> >and the receive rate higher than the current transmit rate.
Alternatively,
> >the receiver or PEP having good knowledge of the bottleneck link could
> >adjust the loss rate and X_recv in feedback packets to make the sender
adapt
> >faster to significant changes in available bandwidth. Yet another
> >possibility is a spoofing attack doing the same.
> >
> >According to the equation above more than twofold increase of the send
rate
> >is ok, but the NS implementation clamps the send rate increase at twice
the
> >current in all cases.
>
> In practice, I believe the difference has no effect on behaviour.
>
>  - During slowstart, the send rate increase is capped to twice the
>    send rate explicitly.
>
>  - During normal operation, the normal increase rate due to the expiry
>    of old higher-loss history is (from memory) about 0.12 packets per
>    RTT.  Thus to double the sending rate would take about 6 RTTs.  It
>    seems rate unlikely that any bunching would cause more than 6
>    RTTs of packets to arrive at once without having previously causing
>    the receiver to signal the sender to reduce rate because the
>    receive rate was so low while the packets were being delayed.
>
>  - If history discounting has cut in, the 6 RTTs above would be 3
>    RTTs, but delaying of 3 RTTs of traffic would still likely trigger
>    the receiver to clamp the senders rate to twice the (very low) receive
>    rate before the delayed traffic arrives.
>
> Limiting the send rate to twice the receive rate is a safety measure
> that prevents serious overshoot on links with low levels of
> statistical multiplexing.  In the case where you can delay several
> RTTs worth of packets without losing any, and then deliver them all in
> a high-rate burst, it seems rather likely that the level of
> statistical multiplexing isn't all that low, so this additional safety
> mechanism isn't required.  In the worst and very unlikely case, you
> take some losses in the next RTT and slow down again pretty quickly.
>
> So, to summarise, restricting the increase to twice the send rate (as
> ns does) is a reasonable thing to do, but not doing it is very
> unlikely to have any significant effect, and even less likely to have
> any significant adverse effect.
>
> Does this answer your question?

Thank you, this answers the first part of the question.

I do think that links with delays and with low level of statistical
multiplexing exist. For example GPRS has a dedicated buffer per user and has
delay spikes of x10 RTT due to handovers.

My own interest in asking this question is a possibility to explicitly
control the rate of the TFRC sender from the receiver or from the network.
Currently it takes more than 1 min for TFRC to reach the full rate after a
handover from GPRS to UMTS. It seems that some push to the TFRC sender is
needed to make it transmit at the full rate faster. My guess is that one
leap change in transmission rate is preferrable by applications than many
small incremental changes.

After a handover the receiver can set X_rcv to the new link's rate and p to
some small none-zero value which will cause the TFRC sender to send at the
higher rate immediately.
Of couse this shouldn't be used to the sender over the shared Internet, but
for servers connected by LAN it seems quite appropriate.

Now that I'm certain that this is supported by specs, I can go on with
experiments.

Andrei

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
https://www1.ietf.org/mailman/listinfo/tsvwg