Re: [aqm] FQ-PIE kernel module implementation

"Rong Pan (ropan)" <ropan@cisco.com> Tue, 07 July 2015 23:00 UTC

Return-Path: <ropan@cisco.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 0E9531B2A29 for <aqm@ietfa.amsl.com>; Tue, 7 Jul 2015 16:00:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.211
X-Spam-Level:
X-Spam-Status: No, score=-14.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 NSiX5vvkgELf for <aqm@ietfa.amsl.com>; Tue, 7 Jul 2015 16:00:21 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4853D1B2A15 for <aqm@ietf.org>; Tue, 7 Jul 2015 16:00:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4382; q=dns/txt; s=iport; t=1436310022; x=1437519622; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=bMcmuDzhLZTlmLinbv/gopt5etfTs90l/D1avY3ubH8=; b=RIciBOdlDDJuyqJdZIfmg9mu76I6SkxUXu4uG27ghVbiENva6z5i8vBY 78KSaileeq2DGnnTrxXMIdyp8T0ILOslEQRAVSf8dM4/vFniFKsB1JrTR UgkIFkz0diKMlNikSYA6nTWgQ2oDAsTsJUW5hXEgNK3xZbeaCydBmb4+k 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DAAwDNWZxV/5pdJa1bDoMEVGAGgxq6TQmBZQqFdwIcgUI4FAEBAQEBAQGBCoQjAQEBBAEBATE6CwwEAgEIEQQBAQEEIwUCAiULFAkIAgQBDQWILQENmSCdEQaWRQEBAQEBAQEBAQEBAQEBAQEBAQEBARMEgRuKMIRrGwcGglyBSQWUGAGEYYcHgTqPGYQqg10mY4EpHIEVPm+BR4EEAQEB
X-IronPort-AV: E=Sophos;i="5.15,427,1432598400"; d="scan'208";a="166374534"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by alln-iport-6.cisco.com with ESMTP; 07 Jul 2015 23:00:17 +0000
Received: from xhc-aln-x14.cisco.com (xhc-aln-x14.cisco.com [173.36.12.88]) by rcdn-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id t67N0FT7031207 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 7 Jul 2015 23:00:15 GMT
Received: from xmb-aln-x15.cisco.com ([169.254.9.203]) by xhc-aln-x14.cisco.com ([173.36.12.88]) with mapi id 14.03.0195.001; Tue, 7 Jul 2015 18:00:15 -0500
From: "Rong Pan (ropan)" <ropan@cisco.com>
To: "Francini, Andrea (Andrea)" <andrea.francini@alcatel-lucent.com>, Polina Goltsman <uucpf@student.kit.edu>, "Fred Baker (fred)" <fred@cisco.com>, Toke Høiland-Jørgensen <toke@toke.dk>
Thread-Topic: [aqm] FQ-PIE kernel module implementation
Thread-Index: AQHQnxLHo+U4nRH5VEqK1N9uhqwYK52lzHSAgCN6BID//7b8qYAAVkSAgACr3QCABqphAIAAfKeA//+LFAA=
Date: Tue, 07 Jul 2015 23:00:14 +0000
Message-ID: <D1C1A7DF.5A59%ropan@cisco.com>
References: <D1961A16.1087%hokano@cisco.com> <5577FBD3.5000804@student.kit.edu> <97EDD2D8-CC0A-4AFA-9A74-3F2C282CF5C2@cisco.com> <87mvzem9i9.fsf@alrua-karlstad.karlstad.toke.dk> <7E6C797B-EE6F-4390-BC8F-606FDD8D5195@cisco.com> <559659A8.9030104@student.kit.edu> <D1C1965D.59EA%ropan@cisco.com> <1BFAC0A1D7955144A2444E902CB628F865B044BB@US70TWXCHMBA12.zam.alcatel-lucent.com>
In-Reply-To: <1BFAC0A1D7955144A2444E902CB628F865B044BB@US70TWXCHMBA12.zam.alcatel-lucent.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.5.2.150604
x-originating-ip: [171.71.131.12]
Content-Type: text/plain; charset="euc-kr"
Content-ID: <5BED012BA15C154E865812A9667D3A71@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/aqm/QAjh-UByklW2ka3LGchwF-Zp7hg>
Cc: "draft-ietf-aqm-pie@tools.ietf.org" <draft-ietf-aqm-pie@tools.ietf.org>, "Hironori Okano -X (hokano - AAP3 INC at Cisco)" <hokano@cisco.com>, AQM IETF list <aqm@ietf.org>
Subject: Re: [aqm] FQ-PIE kernel module implementation
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 07 Jul 2015 23:00:23 -0000

My bad, my memory has slipped… What you quote below is accurate….

Rong

On 7/7/15, 3:58 PM, "Francini, Andrea (Andrea)"
<andrea.francini@alcatel-lucent.com> wrote:

>Hi Rong,
>
>In the ns2 version of (then) SFQ-PIE described in the May 2014 CableLabs
>document titled "ACTIVE QUEUE MANAGEMENT IN DOCSIS 3.X CABLE MODEMS", a
>different formula than the one you gave below was used to compute the
>drop probability of Queue i:
>
>Drop_Queue_i = (Queue_lenth_i / Longest_Queue_length) * drop_prob
>
>i.e., the length of the longest queue was used at the denominator instead
>of the aggregate queue length (Total_Queue_Length).
>
>I am curious about the reason that required that particular algorithmic
>change. 
>
>Thank you,
>
>Andrea
>
>
>-----Original Message-----
>From: aqm [mailto:aqm-bounces@ietf.org] On Behalf Of Rong Pan (ropan)
>Sent: Tuesday, July 07, 2015 6:33 PM
>To: Polina Goltsman; Fred Baker (fred); Toke Høiland-Jørgensen
>Cc: draft-ietf-aqm-pie@tools.ietf.org; Hironori Okano -X (hokano - AAP3
>INC at Cisco); AQM IETF list
>Subject: Re: [aqm] FQ-PIE kernel module implementation
>
>FQ_PIE still uses rate estimation so the aggregated queue length would
>give us more precise estimation of the latency. Actually, on second
>thought, if we are going to afford the complexity of FQ, then timestamp
>packets become trivial. If we use time stamp in FQ_PIE, all these concerns
>would be gone. 
>
>Having said that, drop probability can be easily tuned according to each
>queue¹s queue length:
>Drop_Queue_i = Queue_lenth_i/Total_Queue_length*drop_prob. This has shown
>to work. Hiro¹s previous implementation of FQ_PIE has it and it is
>working. Unfortunately, in his new version of FQ_PIE, this somehow gets
>lost. 
>
>He will update FQ_PIE accordingly. But I will vote for timestamp this time
>as FQ is a lot more complicated than time stamp. If one decides to use FQ,
>timestamp comes easy as well.
>
>Thanks,
>
>Rong
>
>
>
>
>
>On 7/3/15, 2:45 AM, "Polina Goltsman" <uucpf@student.kit.edu> wrote:
>
>>
>>
>>On 07/03/2015 01:30 AM, Fred Baker (fred) wrote:
>>>> On Jul 2, 2015, at 4:21 PM, Toke Høiland-Jørgensen <toke@toke.dk>
>>>>wrote:
>>>>
>>>> This is, as far as I can tell from your explanation, different than
>>>>what
>>>> fq_pie does.
>>> OK, apologies for the misinformation.
>>>
>>> In any event, the matter is not fundamental to fair queuing.
>>According to the code and Toke in FQ-Codel there are separate state
>>variables for each queue,
>>whereas in FQ-PIE there is a single instance of state (see line 72-75 in
>>sch_fq_pie.c
>>  <https://github.com/hironoriokano/fq-pie/blob/master/sch_fq_pie.c>).
>>This is [should be] equivalent to a PIE queue
>>which uses FQ instead of FIFO as a child queue.
>>
>>As I understand the FQ-Codel draft, it seems to be fundamental to
>>FQ-Codel that each queue has separate state variables.
>>So my question is: is it indeed fundamental ?
>>
>>P.S. comment on line sch_fq_pie.c  should probably be updated
>
>_______________________________________________
>aqm mailing list
>aqm@ietf.org
>https://www.ietf.org/mailman/listinfo/aqm