[rmcat] Comments on draft-alvestrand-rmcat-congestion-02

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Thu, 06 March 2014 09:26 UTC

Return-Path: <ingemar.s.johansson@ericsson.com>
X-Original-To: rmcat@ietfa.amsl.com
Delivered-To: rmcat@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2754F1A019D for <rmcat@ietfa.amsl.com>; Thu, 6 Mar 2014 01:26:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.851
X-Spam-Level:
X-Spam-Status: No, score=-3.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MJ69k5EW1TsI for <rmcat@ietfa.amsl.com>; Thu, 6 Mar 2014 01:26:44 -0800 (PST)
Received: from mailgw2.ericsson.se (mailgw2.ericsson.se [193.180.251.37]) by ietfa.amsl.com (Postfix) with ESMTP id 509C11A018E for <rmcat@ietf.org>; Thu, 6 Mar 2014 01:26:43 -0800 (PST)
X-AuditID: c1b4fb25-b7f038e000005d01-34-53183f4fcf0d
Received: from ESESSHC021.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw2.ericsson.se (Symantec Mail Security) with SMTP id 34.D1.23809.F4F38135; Thu, 6 Mar 2014 10:26:39 +0100 (CET)
Received: from ESESSMB205.ericsson.se ([169.254.5.210]) by ESESSHC021.ericsson.se ([153.88.183.81]) with mapi id 14.02.0387.000; Thu, 6 Mar 2014 10:26:38 +0100
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: "rmcat@ietf.org" <rmcat@ietf.org>, "holmer@google.com" <holmer@google.com>, "l.decicco@poliba.it" <l.decicco@poliba.it>, "mascolo@poliba.it" <mascolo@poliba.it>
Thread-Topic: Comments on draft-alvestrand-rmcat-congestion-02
Thread-Index: Ac85E2PU6TOD6ZoqTRmcFuWj0MVbhg==
Date: Thu, 06 Mar 2014 09:26:38 +0000
Message-ID: <81564C0D7D4D2A4B9A86C8C7404A13DA31EF93AB@ESESSMB205.ericsson.se>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.146]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrELMWRmVeSWpSXmKPExsUyM+Jvja6/vUSwwd7XshZX959jsfh7+hGb Rd+vPewWq29+YHNg8ViwqdRjyZKfTB6bXnUyBzBHcdmkpOZklqUW6dslcGX07L7AVnBPpqJ1 IV8DY694FyMnh4SAiUTL33Z2CFtM4sK99WxdjFwcQgKHGCXu7odxFjNK7Ps9gQ2kik3ARmLl oe+MIAkRgRWMEj1vr7CAJJgFyiSO7DzADGILC1hKNP25ARYXEbCT2HJ2KSOErSdxdu4t1i5G Dg4WARWJZcsLQMK8Ar4S65YeAStnFJCVuP/9HtRIcYlbT+YzQVwnILFkz3lmCFtU4uXjf6wQ tpLEjw2XoOr1JG5MncIGYWtLLFv4mhlivqDEyZlPWCYwisxCMnYWkpZZSFpmIWlZwMiyipE9 NzEzJ73caBMjMB4ObvmtuoPxzjmRQ4zSHCxK4rwf3joHCQmkJ5akZqemFqQWxReV5qQWH2Jk 4uCUamAUnDL3vm5F7nq+sKC/aQGZi7JYvA/05p2Zz5WRwBrUbrPX2WhtiPGXhZaPXqndb7Dk OtghbZHyPbtNtl+omzfQfysLk6zpuzcvG6WZBDacjjO9qcz4IkaommvbmzXLVjOpHpOOOPHj /n2L2AdCS3MO75Q9mhmkYzTFS+BF1espnf/W1S+J+KfEUpyRaKjFXFScCAB+2D2jVQIAAA==
Archived-At: http://mailarchive.ietf.org/arch/msg/rmcat/KMJvmdXlU31s_4C5Bp6hXvwtdA8
Cc: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>, Zaheduzzaman Sarker <zaheduzzaman.sarker@ericsson.com>
Subject: [rmcat] Comments on draft-alvestrand-rmcat-congestion-02
X-BeenThere: rmcat@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "RTP Media Congestion Avoidance Techniques \(RMCAT\) Working Group discussion list." <rmcat.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rmcat>, <mailto:rmcat-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rmcat/>
List-Post: <mailto:rmcat@ietf.org>
List-Help: <mailto:rmcat-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rmcat>, <mailto:rmcat-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Mar 2014 09:26:50 -0000

Hi

Had a look at http://www.ietf.org/proceedings/89/slides/slides-89-rmcat-5.pdf . I have done some studies around the problem that FTP starves out the media flow.

The algorithm proposed on page 3 seems to do the job. There is however a risk that the algo in itself causes self-inflicted congestion in that it increases a threshold against a measured value(and in the process causes the measured value to increase). 

I have experienced this behavior with another algorithm that I have worked on for a while, the details are not the same as in your algo but I suspect that you may get the same problem that I describe. In any case, the solution that I have tried out which seems to work is to blank the video every once in a while and sense the one way delay during these periods. If the one way delay (or RTT) drops consideraby during the blank period  then the threshold (or gamma in your case) should be reduced. I have tried out a one RTT blank every 10seconds and it seems to do the job. With that said, it should be possible to solve the problem I outline above.

Another, possibly more complicating matter, which I have not managed to solve is that the media (video) is eventually starved out by FTP if I stick to reasonable settings in the congestion/flow control. The only way to avoid this is to make the algorithm very insensitive to packet loss. 
I believe (hypothesis) that the root cause to this problem is that while the FTP has an unlimited source bitrate (there are always bytes available for the flow control to send if possible), the media has a limited source bitrate as it is not possible to queue up too many bytes (delay constraint), add the fact that the media source bitrate can change due to content... The effect of this is that the media sender must become even more opportunistic when it has data to send than FTP. 
In my implementation I adjust a beta value (similar to Cubic's beta value) to control the backoff in case of congestion events. If I set the beta value for very little backoff then I can avoid that media is starved out by FTP* and even get a fair split of the bandwidth. The problem is also that I increase the packet loss rate when the FTP load is removed, this is particularly obvious when I use a CoDel AQM in the bottleneck. I believe that I can see that the packet loss rate increases quite considerably on page 5 in your presentation when you switch on AT (right figure), this indicates an aggressive behavior. 

All this is not a rant against your algorithm, rather it makes me wonder how reasonable it is with test cases that involves parallel FTP and media over the same bottleneck. Guess it is Ok to try it out but one can question what weight it should have when a figure of merit or whatever is computed. 

Comments welcome, even if you punch a hole in my hypothesis above. 

* I can also allow more video frames to be queued up in the sender to always have data to send but that that causes a higher  e2e delay.

/Ingemar


  


=================================
Ingemar Johansson  M.Sc. 
Senior Researcher

Ericsson AB
Wireless Access Networks
Labratoriegränd 11
971 28, Luleå, Sweden
Phone +46-1071 43042
SMS/MMS +46-73 078 3289
ingemar.s.johansson@ericsson.com
www.ericsson.com

"I was gratified to be able to answer promptly, and I did. 
 I said I didn't know."
Samuel Clemens
=================================