From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 2C5143CB39 for ; Mon, 14 Jan 2019 10:24:32 -0500 (EST) Received: by mail-lf1-x12e.google.com with SMTP id i26so15907736lfc.0 for ; Mon, 14 Jan 2019 07:24:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=A8uwb5jlLtmhclBLpnT3viRPRHl/azxJ3Ydimp2uzWI=; b=AaWDEefFf5f+YKzxFek+GCBgpKCbL04Tfu1pvhpbHfUKa1NK8TgaOmpQb1l7B4ogsP LZ/joJRF6Ax9bD7ftFSVoo8Yz2rP6+lxJqPm09+L57Gw51b3zColhpj7+oBGFibAXnTv 4tunwwwdCS7aHy4xWQOoC8GKpMkoy6wVyVkHfa+GmAXxO+u4fFK1AZXQApII/Uvz16j9 ro3Fge9RxDrUEEb8bFnzg0K0tGkHa4w8Po29NlFUAkKrXRXSLJf0yn5ncjzM2ymw+1ey nXQuzYRlkmf0EiK55fYYJ1N56CSbr1SV3iZy103T3o7HUbQ+I6YGiQEKaH9YHhSUPvYt ZoHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=A8uwb5jlLtmhclBLpnT3viRPRHl/azxJ3Ydimp2uzWI=; b=VWIHPfsqn7lP05CD8dN2hXo+o9BHXKyKLXyNi8A5nNI20eooNbGPS2OqSrIV2kxsR/ fs1pVh0oglk4WxLwGTUaqohabgR7DQCnUAUszgXofb9KQmjPnGhhLW+dVqCCRed9yArx i3Q6iCqESlLlU0mkx98Ex8VPHFKujoJctuk5r4iX3tEA/DOYHrvaCvIrSFuoRAmGi2Ki kuaETLPQcDmvDFd8BjnJMti2TpVYvrorJ8ej0yHuMWA78Ng0Y53HxyWHrPcLQ1GENrso 5lW1GjFuHOPYHdkVQoyAGZUswEIQIU5kGVlEg15yCyFEssDMpTC3KGnrrJb1kiGlPMll UFIw== X-Gm-Message-State: AJcUukdonbQ6p6QWW7zGOWb0+UuihYVFpCyEbgQ0UE1fURkoiC7LGMc3 Czgv4y+yReuW6fyC4zN0BbA= X-Google-Smtp-Source: ALg8bN728rFpgFctbOtQ01crgP/8QPGYAnQQWQeAn5MRKLWaKIKDQP1GFzkFlHGX+GB7LR3VZVFRlg== X-Received: by 2002:a19:e01e:: with SMTP id x30mr13373572lfg.89.1547479470926; Mon, 14 Jan 2019 07:24:30 -0800 (PST) Received: from jonathartonsmbp.lan (83-245-238-230-nat-p.elisa-mobile.fi. [83.245.238.230]) by smtp.gmail.com with ESMTPSA id k14sm123955lfc.70.2019.01.14.07.24.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Jan 2019 07:24:29 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) From: Jonathan Morton In-Reply-To: Date: Mon, 14 Jan 2019 17:24:26 +0200 Cc: codel@lists.bufferbloat.net Content-Transfer-Encoding: quoted-printable Message-Id: <4D6E822B-A866-4513-90CF-93C6E6308F41@gmail.com> References: To: Rodrigo Alvarez Dominguez X-Mailer: Apple Mail (2.3445.9.1) Subject: Re: [Codel] Codel configuration X-BeenThere: codel@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: CoDel AQM discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2019 15:24:32 -0000 > On 14 Jan, 2019, at 12:54 pm, Rodrigo Alvarez Dominguez = wrote: >=20 > I would like to know if it is possible to have the following = configuration where there is a rate limit and codel algorithm configured = over the same interface > =20 > tc qdisc add dev r1-eth0 root handle 1: htb > tc class add dev r1-eth0 parent 1: classid 1:1 htb rate 10000kbit = burst 15kbit > tc qdisc add dev r1-eth0 parent 1:1 handle 10: fq_codel limit 1000 = target 5000 interval 10000 noecn > tc filter add dev r1-eth0 protocol ip prio 1 u32 match ip dst = 0.0.0.0/0 flowid 1:1 Yes, this is an extensively tested configuration. Have you tried it? You could also just use Cake, which does all the above, better, with = only one tc invocation: tc qdisc replace dev r1-eth0 root handle 1: cake bandwidth = 10000kbit besteffort flows - Jonathan Morton