Re: [rmcat] Fw: New Version Notification for draft-hayes-rmcat-sbd-00.txt

David hayes <davihay@ifi.uio.no> Wed, 22 October 2014 17:12 UTC

Return-Path: <davihay@ifi.uio.no>
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 D69351ACE67 for <rmcat@ietfa.amsl.com>; Wed, 22 Oct 2014 10:12:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.31
X-Spam-Level:
X-Spam-Status: No, score=-1.31 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_21=0.6, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 t-Usljp3mhCC for <rmcat@ietfa.amsl.com>; Wed, 22 Oct 2014 10:12:19 -0700 (PDT)
Received: from mail-out5.uio.no (mail-out5.uio.no [IPv6:2001:700:100:10::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 15D1A1ACE56 for <rmcat@ietf.org>; Wed, 22 Oct 2014 10:12:18 -0700 (PDT)
Received: from mail-mx6.uio.no ([129.240.10.40]) by mail-out5.uio.no with esmtp (Exim 4.80.1) (envelope-from <davihay@ifi.uio.no>) id 1XgzSL-0008P0-4Q; Wed, 22 Oct 2014 19:12:17 +0200
Received: from 36.80-202-170.nextgentel.com ([80.202.170.36] helo=bilby.lan) by mail-mx6.uio.no with esmtpsa (SSLv3:AES128-SHA:128) user davihay (Exim 4.80.1) (envelope-from <davihay@ifi.uio.no>) id 1XgzSK-0006z0-4N; Wed, 22 Oct 2014 19:12:17 +0200
Date: Wed, 22 Oct 2014 19:12:14 +0200
From: David hayes <davihay@ifi.uio.no>
To: Stefan Holmer <stefan@webrtc.org>
Message-ID: <20141022191214.20694951@bilby.lan>
In-Reply-To: <CAEdus3+MzXQdDRxO5dT6DaPP-N-W1TMjDz5vmtZ5607jLR4t3Q@mail.gmail.com>
References: <20141010173710.1769e033@hayesd-laptop> <CAEdus3+MzXQdDRxO5dT6DaPP-N-W1TMjDz5vmtZ5607jLR4t3Q@mail.gmail.com>
Organization: University of Oslo
X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-mageia-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-UiO-SPF-Received:
X-UiO-Ratelimit-Test: rcpts/h 4 msgs/h 1 sum rcpts/h 7 sum msgs/h 1 total rcpts 1543 max rcpts/h 38 ratelimit 0
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, TVD_RCVD_IP=0.001, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO)
X-UiO-Scanned: AA6EED801C8A82B7308B724AF119D1428F960F4F
X-UiO-SPAM-Test: UIO-GREYLIST remote_host: 80.202.170.36 spam_score: -49 maxlevel 80 minaction 1 bait 0 mail/h: 1 total 86 max/h 4 blacklist 0 greylist 1 ratelimit 0
X-UiOonly: BCD0B7DD2D859272F4C806DAC4D4A7178D2D3DB7
Archived-At: http://mailarchive.ietf.org/arch/msg/rmcat/ZsTr3OmksarVxAOGLYrTdb0hdQY
Cc: "rmcat@ietf.org" <rmcat@ietf.org>, Simone Ferlin-Oliveira <ferlin@simula.no>, Michael Welzl Welzl <michawe@ifi.uio.no>
Subject: Re: [rmcat] Fw: New Version Notification for draft-hayes-rmcat-sbd-00.txt
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: Wed, 22 Oct 2014 17:12:22 -0000

Hi Stefan,

Thanks for your comments! They are very much appreciated.

I have added some responses inline.

Kind regards,

David

On Wed, 22 Oct 2014 16:36:32 +0200
Stefan Holmer <stefan@webrtc.org> wrote:

> Nice draft! I have a few comments:
> 
> You're mentioning that skewness would require all delay measurements
> to be stored, and therefore you're computing some different metric
> which is related to skew. I wonder if it shouldn't be possible to
> more accurately estimate the skew from a histogram instead? That way
> you at least won't need to store all delay measurements. Might not be
> worth the trouble if your metric works well.

The 3rd central moment is difficult to calculate for a
number of reasons. Yes you need the mean to start with, which would
require storing all the delay measurements so that when you have the
mean, you can compare them with it. The other problem is, that being a
cubic function, it is very sensitive to outliers and therefore requires
a high number of samples for an accurate result. Skew_est is efficient
to calculate and less sensitive to outliers (the test is only above and
below the mean), meaning we don't need quite as many samples.


Using a histogram was one of the ideas I looked at. In the end I didn't
go with it for the following reasons. To do this we need to know what a
good bin size is, and probably need to use the same bin size for each
flow (a common base for comparing). If we know the min/max network
delays of every flow we can work out a good bin size, but
generally we don't know this a priori -- and it could also change with
new flows or changes in the network paths. We could use the previous
NT's PDV as a guide for this, but the flows we are comparing with are
probably going to different receivers. In this case we would need to
communicate the information between sender and receivers.

> 
> As mentioned by Mirja, it seems a bit error prone to use the max of
> the OWD (also, shouldn't it be max_T(OWD)?) when computing the PDV.
> 

max_T would be more consistent with our notation. Thanks.

We used max_T instead of min_T because of their relationship to
skew_est in a MM1K queueing model(LCN paper). However, the difference
between MM1K and real networks and the problem of coping with outliers
and may make min_T a better choice. In our tests we did not have any
significant problems, but we would not have had processing delays Mirja
pointed to.

> Somewhat related to this, I wonder if you have any plans to test this
> algorithm on WiFi? I have seen many cases of WiFi with a lot of
> contention and/or interference, where the delay gets skewed not
> because lack of bandwidth, but because of lower layer retransmissions
> or because the access point was busy serving someone else for a
> moment. I wonder if that can cause you to incorrectly detect shared
> bottlenecks, where in reality there was only a shared WiFi... Now
> that I think of it, the WiFi effect should result in positive
> skewness, while you're looking for negative skewness, so you may be
> ok here. :)
> 
Simone has answered here. Thanks!


> It would be good to have the diff() operation defined somewhere. Is
> it the diff between successive measurements, or the diff between the
> flows?
> 

Can you elaborate on this suggestion a bit more please. Thanks!

> /Stefan
> 
> 
> On Fri, Oct 10, 2014 at 5:37 PM, David Hayes <davihay@ifi.uio.no>
> wrote:
> 
> > Dear All,
> >
> > We have just submitted of our initial shared bottleneck detection
> > draft and will value your comments and suggestions.
> >
> > Regards,
> >
> > David
> >
> > Begin forwarded message:
> >
> > Date: Fri, 10 Oct 2014 08:17:57 -0700
> > From: <internet-drafts@ietf.org>
> > To: Michael Welzl <michawe@ifi.uio.no>, David Hayes
> > <davihay@ifi.uio.no>, Michael Welzl <michawe@ifi.uio.no>, Simone
> > Ferlin <ferlin@simula.no>, Simone Ferlin <ferlin@simula.no>, David
> > Hayes <davihay@ifi.uio.no> Subject: New Version Notification for
> > draft-hayes-rmcat-sbd-00.txt
> >
> >
> >
> > A new version of I-D, draft-hayes-rmcat-sbd-00.txt
> > has been successfully submitted by David Hayes and posted to the
> > IETF repository.
> >
> > Name:           draft-hayes-rmcat-sbd
> > Revision:       00
> > Title:          Shared Bottleneck Detection for Coupled
> > Congestion Control for RTP Media. Document date:        2014-10-10
> > Group:          Individual Submission
> > Pages:          12
> > URL:
> > http://www.ietf.org/internet-drafts/draft-hayes-rmcat-sbd-00.txt
> > Status:
> > https://datatracker.ietf.org/doc/draft-hayes-rmcat-sbd/
> > Htmlized:       http://tools.ietf.org/html/draft-hayes-rmcat-sbd-00
> >
> >
> > Abstract:
> >    This document describes a mechanism to detect whether end-to-end
> > data flows share a common bottleneck.  It relies on summary
> > statistics that are calculated by a data receiver based on
> > continuous measurements and regularly fed to a grouping algorithm
> > that runs wherever the knowledge is needed.  This mechanism
> > complements the coupled congestion control mechanism in
> > draft-welzl-rmcat-coupled-cc.
> >
> >
> >
> >
> > Please note that it may take a couple of minutes from the time of
> > submission until the htmlized version and diff are available at
> > tools.ietf.org.
> >
> > The IETF Secretariat
> >
> >
> >
> > --
> >
> > -------------------------
> > David Hayes
> > davihay@ifi.uio.no
> > Department of Informatics
> > University of Oslo
> >
> >



-- 

+-------------------------------+
| David A. Hayes		|
| david.hayes@ieee.org		|
+-------------------------------+