From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (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 7889621F118 for ; Sat, 23 Nov 2013 02:23:28 -0800 (PST) Received: by mail-lb0-f171.google.com with SMTP id q8so1789795lbi.2 for ; Sat, 23 Nov 2013 02:23:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=C43cYEVMLAQNkcDph35v7tYo0hvZFEk5S/5xS450lMw=; b=WlTxqyEl2fRiPzdePVQSNIkDq1Nw4ZvtB4U8cVVPGDWvEC3NNtAe36WvH84Aw8NJ3q c8SD4dPTH1HDjA/OIm/WEhPbG4v0tYAoBhpVP9EGhUGoxVTi4ry8ufqNDRxScFwoKMoa GxSOZ1y0ZPURRc+JO6pG6jpINMS3yNdCweS9K6FDtNvyVyT9qntR5QfJ/6tJSxDXkWM5 IQgKs1MLKpgmJT8nDROGjOHHMEZDRvttV8RYtwOeXuqMIWSvW91S62XNbLN9giCcPung U1U/291aWbxcD+K5D43kUH0QuW1HHdH1s1Ky8VzukeY1ovRoKHusfoMIKQiB2Lk4w5oS CxEw== X-Received: by 10.112.92.112 with SMTP id cl16mr428087lbb.33.1385202205561; Sat, 23 Nov 2013 02:23:25 -0800 (PST) Received: from [192.168.239.204] (87-95-22-97.bb.dnainternet.fi. [87.95.22.97]) by mx.google.com with ESMTPSA id vz9sm30050668lbb.17.2013.11.23.02.23.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 23 Nov 2013 02:23:24 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Jonathan Morton In-Reply-To: Date: Sat, 23 Nov 2013 12:23:20 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Dong Mo X-Mailer: Apple Mail (2.1085) Cc: codel@lists.bufferbloat.net Subject: Re: [Codel] New to codel-- how to run codel on a linux box? 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: Sat, 23 Nov 2013 10:23:29 -0000 On 23 Nov, 2013, at 7:04 am, Dong Mo wrote: > I am new to codel and I would like to run some experiments with codel = on a linux box acting as a router. I see on the wiki that running codel = on linux requires BQL support from NIC driver. I would like to know is = this an essential requirement to run codel on linux box or it is = optional? It's not a hard requirement - but large hardware queues (which BQL tries = to solve) tend to interfere with line-rate operation. > I don't require line rate performance, something like 100Mbps = throughput will be enough for the experiment. However, It is also not = clear to me that how Codel is going to interact with some software = traffic shaping say bandwidth limiting? tc qdisc add dev $IFACE root handle 1: htb default 1 tc class add dev $IFACE parent 1: classid 1:1 htb rate $RATE burst 15k tc qdisc add dev $IFACE parent 1:1 handle 10: fq_codel That works perfectly well if $RATE is less than line rate, even without = BQL. - Jonathan Morton