Re: [aqm] FQ-PIE kernel module implementation
"Agarwal, Anil" <Anil.Agarwal@viasat.com> Wed, 08 July 2015 08:06 UTC
Return-Path: <prvs=8631cdd40d=anil.agarwal@viasat.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 6724B1B3256 for <aqm@ietfa.amsl.com>; Wed, 8 Jul 2015 01:06:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.823
X-Spam-Level: *
X-Spam-Status: No, score=1.823 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_FUCK2=3.434, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001, 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 mBJ3rmM3BZHG for <aqm@ietfa.amsl.com>; Wed, 8 Jul 2015 01:06:31 -0700 (PDT)
Received: from mta-us-west-01.viasat.com (mta-us-west-01.viasat.com [8.37.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 297141B3249 for <aqm@ietf.org>; Wed, 8 Jul 2015 01:06:30 -0700 (PDT)
Received: from pps.filterd (VCASPAM01.hq.corp.viasat.com [127.0.0.1]) by VCASPAM01.hq.corp.viasat.com (8.14.5/8.14.5) with SMTP id t6886PuY006499; Wed, 8 Jul 2015 08:06:26 GMT
From: "Agarwal, Anil" <Anil.Agarwal@viasat.com>
To: "Rong Pan (ropan)" <ropan@cisco.com>, "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//7b8qYAAVkSAgACr3QCABqphAIAAjWuAgAAAbACAAC25cA==
Date: Wed, 08 Jul 2015 08:06:24 +0000
Message-ID: <7A2801D5E40DD64A85E38DF22117852C70AD421B@wdc1exchmbxp05.hq.corp.viasat.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> <D1C1A7DF.5A59%ropan@cisco.com>
In-Reply-To: <D1C1A7DF.5A59%ropan@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33, 0.0.0000 definitions=2015-07-08_04:2015-07-07,2015-07-08,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 kscore.is_bulkscore=0 kscore.compositescore=1 compositescore=0.9 suspectscore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 rbsscore=0.9 spamscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1506180000 definitions=main-1507080141
Archived-At: <http://mailarchive.ietf.org/arch/msg/aqm/SPpgf3J3VqalDbaPx7fpoJoZEms>
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: Wed, 08 Jul 2015 08:06:32 -0000
Rong, Can you please elaborate on how packet timestamps would be used with FQ-PIE? It is not obvious. Is there a written description of FQ-PIE? Does it describe use of timestamps as well? For equation - Drop_Queue_i = (Queue_lenth_i / Longest_Queue_length) * drop_prob is there a fast algorithm for computing Longest_Queue_length for large number of queues? Thanks, Anil -----Original Message----- From: aqm [mailto:aqm-bounces@ietf.org] On Behalf Of Rong Pan (ropan) Sent: Tuesday, July 07, 2015 7:00 PM To: Francini, Andrea (Andrea); 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 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://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_hironoriokano_fq-2Dpie_blob_master_sch-5Ffq-5Fpie.c&d=AwIGog&c=jcv3orpCsv7C4ly8-ubDob57ycZ4jvhoYZNDBA06fPk&r=FyvaklKYrHaSCPjbBTdviWIW9uSbnxdNSheSGz1Jvq4&m=ZhwYVG7trmH21ngvxzmFV1-mkreFJJEBMToS4eye5KU&s=90jYjRUO0hcRiGb1Kd3owxwftY2Pd3WrK2Hs-sq619E&e= >). >>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://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_aqm&d=AwIGog&c=jcv3orpCsv7C4ly8-ubDob57ycZ4jvhoYZNDBA06fPk&r=FyvaklKYrHaSCPjbBTdviWIW9uSbnxdNSheSGz1Jvq4&m=ZhwYVG7trmH21ngvxzmFV1-mkreFJJEBMToS4eye5KU&s=hAK-RY-wfp0zIHzoazmmKJ03TrFqQ2TM9SqbDo_ku3Q&e= _______________________________________________ aqm mailing list aqm@ietf.org https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_aqm&d=AwIGog&c=jcv3orpCsv7C4ly8-ubDob57ycZ4jvhoYZNDBA06fPk&r=FyvaklKYrHaSCPjbBTdviWIW9uSbnxdNSheSGz1Jvq4&m=ZhwYVG7trmH21ngvxzmFV1-mkreFJJEBMToS4eye5KU&s=hAK-RY-wfp0zIHzoazmmKJ03TrFqQ2TM9SqbDo_ku3Q&e=
- [aqm] FQ-PIE kernel module implementation Hironori Okano -X (hokano - AAP3 INC at Cisco)
- Re: [aqm] FQ-PIE kernel module implementation Dave Taht
- Re: [aqm] [Bloat] FQ-PIE kernel module implementa… Simon Barber
- Re: [aqm] [Bloat] FQ-PIE kernel module implementa… Bill Ver Steeg (versteb)
- Re: [aqm] [Bloat] FQ-PIE kernel module implementa… Bill Ver Steeg (versteb)
- Re: [aqm] FQ-PIE kernel module implementation Polina Goltsman
- Re: [aqm] [Bloat] FQ-PIE kernel module implementa… Fred Baker (fred)
- Re: [aqm] FQ-PIE kernel module implementation Fred Baker (fred)
- Re: [aqm] FQ-PIE kernel module implementation Toke Høiland-Jørgensen
- Re: [aqm] FQ-PIE kernel module implementation Fred Baker (fred)
- Re: [aqm] FQ-PIE kernel module implementation Fred Baker
- Re: [aqm] FQ-PIE kernel module implementation Toke Høiland-Jørgensen
- Re: [aqm] FQ-PIE kernel module implementation Bless, Roland (TM)
- Re: [aqm] FQ-PIE kernel module implementation Polina Goltsman
- Re: [aqm] FQ-PIE kernel module implementation Simon Barber
- Re: [aqm] FQ-PIE kernel module implementation Dave Taht
- Re: [aqm] FQ-PIE kernel module implementation Michael Welzl
- Re: [aqm] FQ-PIE kernel module implementation Fred Baker (fred)
- Re: [aqm] FQ-PIE kernel module implementation Dave Taht
- Re: [aqm] FQ-PIE kernel module implementation Agarwal, Anil
- Re: [aqm] FQ-PIE kernel module implementation Fred Baker (fred)
- Re: [aqm] FQ-PIE kernel module implementation Bless, Roland (TM)
- Re: [aqm] FQ-PIE kernel module implementation Polina Goltsman
- Re: [aqm] FQ-PIE kernel module implementation Dave Taht
- Re: [aqm] FQ-PIE kernel module implementation Agarwal, Anil
- Re: [aqm] FQ-PIE kernel module implementation Francini, Andrea (Andrea)
- Re: [aqm] FQ-PIE kernel module implementation Rong Pan (ropan)
- Re: [aqm] FQ-PIE kernel module implementation Francini, Andrea (Andrea)
- Re: [aqm] FQ-PIE kernel module implementation Rong Pan (ropan)
- Re: [aqm] FQ-PIE kernel module implementation Agarwal, Anil
- Re: [aqm] FQ-PIE kernel module implementation Agarwal, Anil
- Re: [aqm] FQ-PIE kernel module implementation Polina Goltsman
- Re: [aqm] FQ-PIE kernel module implementation Francini, Andrea (Andrea)
- Re: [aqm] FQ-PIE kernel module implementation Rong Pan (ropan)
- Re: [aqm] FQ-PIE kernel module implementation Agarwal, Anil
- Re: [aqm] FQ-PIE kernel module implementation Rong Pan (ropan)
- Re: [aqm] FQ-PIE kernel module implementation Agarwal, Anil
- Re: [aqm] FQ-PIE kernel module implementation Francini, Andrea (Andrea)
- Re: [aqm] FQ-PIE kernel module implementation Rong Pan (ropan)
- Re: [aqm] FQ-PIE kernel module implementation Agarwal, Anil
- Re: [aqm] FQ-PIE kernel module implementation Francini, Andrea (Andrea)