[aqm] PIE departure rate estimation

Dave Dolson <ddolson@sandvine.com> Wed, 01 April 2015 20:22 UTC

Return-Path: <ddolson@sandvine.com>
X-Original-To: aqm@ietfa.amsl.com
Delivered-To: aqm@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 97ADF1A1B03 for <aqm@ietfa.amsl.com>; Wed, 1 Apr 2015 13:22:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01] 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 Id1hMXT1sTJV for <aqm@ietfa.amsl.com>; Wed, 1 Apr 2015 13:22:35 -0700 (PDT)
Received: from mail1.sandvine.com (mail1.sandvine.com [64.7.137.165]) by ietfa.amsl.com (Postfix) with ESMTP id 81F351A1A07 for <aqm@ietf.org>; Wed, 1 Apr 2015 13:22:34 -0700 (PDT)
Received: from WTL-EXCHP-2.sandvine.com ([fe80::68ac:f071:19ff:3455]) by WTL-EXCHP-3.sandvine.com ([::1]) with mapi id 14.03.0195.001; Wed, 1 Apr 2015 16:22:34 -0400
From: Dave Dolson <ddolson@sandvine.com>
To: "aqm@ietf.org" <aqm@ietf.org>
Thread-Topic: PIE departure rate estimation
Thread-Index: AdBsuZXDQTjdQGZHSkyfX7tnDoer/g==
Date: Wed, 01 Apr 2015 20:22:33 +0000
Message-ID: <E8355113905631478EFF04F5AA706E9830BB0786@wtl-exchp-2.sandvine.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [192.168.200.63]
Content-Type: multipart/alternative; boundary="_000_E8355113905631478EFF04F5AA706E9830BB0786wtlexchp2sandvi_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/aqm/3mFE-ZMjMowghPblmUcanbxZhIs>
Subject: [aqm] PIE departure rate estimation
X-BeenThere: aqm@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discussion list for active queue management and flow isolation." <aqm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/aqm>, <mailto:aqm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/aqm/>
List-Post: <mailto:aqm@ietf.org>
List-Help: <mailto:aqm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/aqm>, <mailto:aqm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Apr 2015 20:22:37 -0000

In https://tools.ietf.org/html/draft-ietf-aqm-pie-00#section-4.3,

it says, "We only measure the departure rate when there are sufficient data in the buffer"

Why can't departure rate be estimated regardless of queue size? Just count packets leaving over time? I'm wondering how to avoid the estimate getting stuck at the last value sampled when the queue had a certain quantity in it.

Section 4.2 cites Little's Law as "est_del = qlen/depart_rate",
but according to Wikipedia<http://en.wikipedia.org/wiki/Little%27s_law>, the law uses arrival rate, not departure rate.
I don't know if it matters (I didn't read Little's proof), but this gives credence to the suggestion in section 6 that the algorithm could use arrival rate.
And I think it might be easier to measure when the queue has few items in it.


David Dolson
Senior Software Architect, Sandvine Inc.