From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nm18-vm4.bullet.mail.ne1.yahoo.com (nm18-vm4.bullet.mail.ne1.yahoo.com [98.138.91.178]) (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 5E23E3B29E for ; Wed, 12 Apr 2017 10:02:13 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1492005732; bh=fESxAAicFUGpsBGOy4yvNghxgmidt1cBlDCW5f4m7iQ=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject; b=hC3+e1MmjKgnlfPt9IAvhZZPM5VADylXbwboqORMXplkJ2hRuTd4UGZvxGdWD2cDgmWD42Wv7OFLlHvoGJKVFGXsRKZYi3NO7AhGMQc3CUtfEWnNC7mGUi9YiMc9incv8xM0XiI3iLjVUMKa9OvxHTYFlI0O48ADBLI4K4Yzgntp1ixjsiKcLdXCbXwHCQZzkR0pQOONr2nwWMmrT9XUB+6vwcpKxYU3UZu8/1AOYOHpsrxylrErQipGOETxL1ew5/YHKTwpn1Nc2iq3pkbsiEqH6oCs/YbXPThk4iAuxHUyGnx62YQIzwviZel2jS1MYsRYIQaGLVmx321s6SyP7A== Received: from [98.138.100.115] by nm18.bullet.mail.ne1.yahoo.com with NNFMP; 12 Apr 2017 14:02:12 -0000 Received: from [98.138.89.244] by tm106.bullet.mail.ne1.yahoo.com with NNFMP; 12 Apr 2017 14:02:12 -0000 Received: from [127.0.0.1] by omp1058.mail.ne1.yahoo.com with NNFMP; 12 Apr 2017 14:02:12 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 544117.73517.bm@omp1058.mail.ne1.yahoo.com X-YMail-OSG: Cp3nZ5sVM1k9dT996eRvcOOBnRKazw481sbZjFt8LpRY77WRFBm2J0sA33QJRc. _svejDHVVbN_Qlvo5hpCMV8zSx65EimyExQ3ydQv1Fbe1HfKIL7bcWrhWxZNY18.viYWsDH6oFwF NEA.RISBoyKdc3aR0FszUt2ePCi3UD_V15AEKaBWbKK1D1itzLKLYsTR3uvEvjUDrJvcFy2P1cVG tNfNGjchVpnn6W1h9JzsuNqz9zgfI7niE.c.HP8yPDF0Pfhyba28ATqrd_1ul3S0umLAw5rmychI MyIWQelXirz0qeSXcQCPPd8gbumbeg3WeVg_WRo3QxCMjozDhmoxS8AsO_wDZMNqw5_jM83HQyrX tNlARw1HwtGhZdbAl6DDPUX8HPvdBpEYEZAVqVp8MjTrY1B1vO0NYMY0LV2Bdq7GgLJ8oFfBN79Q hNJDRfN0Hu3RjnvL1UaxBeVK4_sYQhrMHYdGX1O8JoBbFIRnGsbwH2kpqgZy7iGon9ePBQemMQQJ aqw2Ta.PAtNK2Sr1y8Oh.PeuXrgA- Received: from jws200165.mail.ne1.yahoo.com by sendmailws146.mail.ne1.yahoo.com; Wed, 12 Apr 2017 14:02:12 +0000; 1492005732.160 Date: Wed, 12 Apr 2017 14:02:00 +0000 (UTC) From: George Amanakis To: Jonathan Morton , xnor Cc: Kevin Darbyshire-Bryant , Message-ID: <256563281.425923.1492005720224@mail.yahoo.com> In-Reply-To: <228FEE75-471C-4F92-9176-62F8A8A71E9C@gmail.com> References: <1698783902.612018.1491919195146.ref@mail.yahoo.com> <1698783902.612018.1491919195146@mail.yahoo.com> <322beef3-fd84-144c-6718-795eff0e4435@darbyshire-bryant.me.uk> <228FEE75-471C-4F92-9176-62F8A8A71E9C@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_425922_842753349.1492005720221" X-Mailer: WebService/1.1.9386 YMailNorrin Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36 Subject: Re: [Cake] Choosing a tin to work on 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: Wed, 12 Apr 2017 14:02:13 -0000 ------=_Part_425922_842753349.1492005720221 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I think I got the point. For example in diffserv3: tdiff values -2, 2, -1 for tins 1, 0, 2, then:"if (tdiff<=0 || tdiff<=best_time)" returns best_time -1 and tin 2. Highest priority tin with packet overdue."if (tdiff<=best_time)" would return best_time -2 and tin 1. Not the highest priority tin with packet overdue. Thank you,George ------=_Part_425922_842753349.1492005720221 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
I think I got the point.

For example in diffserv3: tdiff values -2, 2, -1 for tins 1, 0, 2, then:
"if (tdiff<=0 || tdiff<=best_time)" returns best_time -1 and tin 2. Highest priority tin with packet overdue.
"if (tdiff<=best_time)" would return best_time -2 and tin 1. Not the highest priority tin with packet overdue.

Thank you,
George
------=_Part_425922_842753349.1492005720221--