From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vc0-x22a.google.com (mail-vc0-x22a.google.com [IPv6:2607:f8b0:400c:c03::22a]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id A440E21F18F for ; Thu, 5 Dec 2013 12:36:58 -0800 (PST) Received: by mail-vc0-f170.google.com with SMTP id ht10so13913666vcb.1 for ; Thu, 05 Dec 2013 12:36:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8vy/nQAYxSk3AMLJedJ/5WDo1z4ZZVbgHWEedmDA6qc=; b=OtehsGkUMCxVgm2Nzp2cq63h9MgDJTZNkeGwA1gygXYahmORBwgMpcY7aW4A11p4Zn bl5+Px1UEi1xb4FUObICBRrOAyf3pnU9R/zo1nHy/H2Ah033VjOCJvAMR3S+adg4SrDE xzyFuRu4/PpGByjK//tSTHmPE+Cpbn2aiFaLEyghZPueH+ZW4dzW2EW0iuKUrQZpaqEY tjV5Kd09ZogGQWDFPdhdoe+82ATYW1mXW2cjOy1HWso8M4/tZUpPrGCBP5c1ECiLwL8a w8F56Rj4+OavrTEyMeUY0XRmFarI7mir12mtbvinq6WsfmwJRv4J7GOOjlmxnVHwSGug wvKw== MIME-Version: 1.0 X-Received: by 10.221.39.195 with SMTP id tn3mr65460653vcb.2.1386275817428; Thu, 05 Dec 2013 12:36:57 -0800 (PST) Received: by 10.52.255.195 with HTTP; Thu, 5 Dec 2013 12:36:57 -0800 (PST) In-Reply-To: References: Date: Thu, 5 Dec 2013 15:36:57 -0500 Message-ID: From: Anirudh Sivaraman To: Dong Mo Content-Type: text/plain; charset=UTF-8 Cc: codel@lists.bufferbloat.net Subject: Re: [Codel] How to make a bufferbloat fairqueue with tc qdisc X-BeenThere: codel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: CoDel AQM discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Dec 2013 20:36:58 -0000 On Thu, Dec 5, 2013 at 2:52 PM, Dong Mo wrote: > Dear List, > I am trying to make a bufferbloat fairqueue with qdisc and compare that with > fq_codel. > However, I am now having some hard time doing it. > > The commands I am using are: > > tc qdisc add dev $IFACE root handle 1: htb default 1 > tc class add dev $IFACE parent 1: classid 1:1 htb rate 40mbit > tc qdisc del dev eth4 parent 1:1 handle 10: sfq perturb 10 > > And sending packet from the sender, where sfq qdisc is set, to the receiver, > the queuing delay is quite small and is approximately the same as when > fq_codel enabled. > > However, if I am not using sfq (only htb set), and send only one flow over > this link, the delay will explode again. > > So is sfq here cut off the queue length somehow? How should I make a > bufferbloat fair queue on linux box using tc qdisc? > You could start with the fq_codel qdisc and set the codel interval and target parameters to absurdly large values (say 1000 seconds each) to simulate a qdisc that has fair queuing but almost never drops a packet. Anirudh > Thanks > > -Mo Dong > > _______________________________________________ > Codel mailing list > Codel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/codel >