From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (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 2885021FCCF for ; Fri, 14 Aug 2015 08:59:16 -0700 (PDT) Received: by lbbsx3 with SMTP id sx3so48067906lbb.0 for ; Fri, 14 Aug 2015 08:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=29bb9mbYfJq9s3k8vc/X211J8UfoOg/u8mOy39Tdwd8=; b=jCML/SewKHK6Mv9lD27PwATRhLxWUz7tolgtqTrBonWlF3Ej47BHAdcnihM8Y0wTaN +ktpkcVVxRBX0ozCP86YN+22VrWyE8v6fhVOAFGaA1adht/ExmNFBxXylsxqzGrnN29g rJskqu8l4bELrSeFEIrG0hMcqfppEnIo0OFqTb/lDWZpqkSkALI5AWD4CigXyNpcB61+ rYauNOH1DxvX6oAY0n/oc2oR9zl2PlNd1vkiCmINTeXwZ73k2o6LNdIizNwqYMV86w/X a8EBoQXqnBB7nfecYQOOFIy4tCcW5RBPRzt3RkFnQaFXaTFwEHgqA8+JcahhTusaBhtz 0RIg== X-Received: by 10.112.171.167 with SMTP id av7mr15129634lbc.48.1439567954677; Fri, 14 Aug 2015 08:59:14 -0700 (PDT) Received: from bass.home.chromatix.fi (176-93-44-124.bb.dnainternet.fi. [176.93.44.124]) by smtp.gmail.com with ESMTPSA id ld2sm1560704lac.49.2015.08.14.08.59.12 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Aug 2015 08:59:14 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) From: Jonathan Morton In-Reply-To: <55CE085F.5080700@student.kit.edu> Date: Fri, 14 Aug 2015 18:59:08 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <29E9D01D-F0B3-4F1B-A4B3-057668148E82@gmail.com> References: <55AD2695.8050605@kit.edu> <07D540E8-1184-4DBD-B372-40C55A485C40@gmail.com> <55CDE8E3.4080207@student.kit.edu> <9EEB70FD-2B99-49AC-8C58-A74CFC0DEFC2@gmail.com> <55CE085F.5080700@student.kit.edu> To: Polina Goltsman X-Mailer: Apple Mail (2.2102) Cc: Roland Bless , codel@lists.bufferbloat.net, aqm@ietf.org Subject: Re: [Codel] [aqm] Codel's count variable and re-entering dropping state at small time intervals 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: Fri, 14 Aug 2015 15:59:39 -0000 > On 14 Aug, 2015, at 18:25, Polina Goltsman = wrote: >=20 > What is the default value of "threshold" for default interval and = target? =46rom sch_cake.c 694-696: fqcd->cparams.target =3D max(byte_target_ns, ns_target); fqcd->cparams.interval =3D max(MS2TIME(100) + = fqcd->cparams.target - ns_target, fqcd->cparams.target * 8); fqcd->cparams.threshold =3D (fqcd->cparams.target >> 15) * = (fqcd->cparams.interval >> 15) * 2; Given default interval is 100ms (100,000,000 ns) and target is 5ms = (5,000,000 ns), threshold will be about 931,322. This is compared to = the scaled product of sojourn time and the time since the target was = first exceeded, so its units are not time but time-squared. The calculation is designed to place the trigger when the queue is = growing as slowly as possible (ie. resting just above the target sojourn = time) at twice the nominal interval. This also places the fastest = possible trigger at about a third of the nominal interval. - Jonathan Morton