From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 569593CB35 for ; Thu, 7 Mar 2019 06:05:10 -0500 (EST) Received: by mail-ed1-f48.google.com with SMTP id b20so13054679edw.11 for ; Thu, 07 Mar 2019 03:05:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=lHlGq8wkWFnMkPisT5fSVpohwzU9NK7iPyLEn7CVPDQ=; b=GTaS7qiS8n40xUBAbg0hY1yPPWpXfEcpe5xcNe8U76fe2HJwXG5ns3+hwf1NDTmdSI s7ffiuPUAcq2dBjyxPylKjsdTbJvjwk3iJBKGLQq7o5AxjqRyDYA58RYYR7qR91eYiOc MrkVfD6O6m/d5TZF2mVJ8BCjIB16plbZkNMq3HI2QsbVVz85sJt8t7ejOTdnK3C4jNLc t1eh12+OnsfYNNcE/nZBD4LeSPLkgwoopbcPTr0um9pSFNk+avjvTZf3eID3IXL76nBn nLUpHOIQEF01faxXzZ6Yf8qF0ATQhT8/vY/FU0Lw2iP8SOmSala0/yl+u5+EcBFz+2js 73yg== X-Gm-Message-State: APjAAAVRBFrH61S4VPaQKeFxSi+XT3VIR9q0k28MbgkXMyQ8JU8nftxH awaorkyilYg6mpjoLpj2S7F4nzEfT+g= X-Google-Smtp-Source: APXvYqxEkBRPFQl/Mfohx1L4Y6KXG/Nu3MJhY09JmSAQNWn30A3r4S7kNXlZJR98Bdg6uj/de8SI1g== X-Received: by 2002:a17:906:378e:: with SMTP id n14mr7561963ejc.168.1551956709456; Thu, 07 Mar 2019 03:05:09 -0800 (PST) Received: from alrua-x1.borgediget.toke.dk (borgediget.toke.dk. [85.204.121.218]) by smtp.gmail.com with ESMTPSA id z23sm1267124edz.50.2019.03.07.03.05.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 03:05:08 -0800 (PST) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 8E6F8182F5B; Thu, 7 Mar 2019 12:05:08 +0100 (CET) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Martin Zaharinov Cc: cake@lists.bufferbloat.net In-Reply-To: References: <8736nz11mt.fsf@toke.dk> <87o96nyo1n.fsf@toke.dk> <87lg1r0xp0.fsf@toke.dk> X-Clacks-Overhead: GNU Terry Pratchett Date: Thu, 07 Mar 2019 12:05:08 +0100 Message-ID: <87h8cf0wt7.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Cake] Bug or not Cake + hfsc or Cake + Drr X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2019 11:05:10 -0000 Martin Zaharinov writes: > in original script i use sfq > > I what to change this line : tc qdisc add dev eth1 parent 1:000b sfq > perturb 10 > to this > tc qdisc add dev eth1 parent 1:000b cake bandwidth 10mbit > and set on preview line ul rate to 15mbit or other. Yeah, you can't do that. You will have to set the bandwidth in the HFSC classes, and elide it from the cake invocation. So basically, just replace 'sfq perturb 10' with 'cake' in your existing script. And modify the bandwidth parameter in your 'tc class add' for HFSC. -Toke