Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: George Amanakis <g_amanakis@yahoo.com>
To: xnor <xnoreq@gmail.com>,
	 Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Cc: <cake@lists.bufferbloat.net>
Subject: Re: [Cake] Choosing a tin to work on
Date: Wed, 12 Apr 2017 13:45:14 +0000 (UTC)	[thread overview]
Message-ID: <1012846747.423736.1492004714038@mail.yahoo.com> (raw)
In-Reply-To: <em4f3d2347-f768-4a28-ad1e-5f44b9637d59@gaming>

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]


>The last value less than or equal to zero will always win as best_tin.
>If all tdiff values are positive then best_time will end up as the lowest value however.
I agree with xnoreq. The algorithm as it is will not always return the least overdue tin. It returns either the lowest positive tdiff (if all tdiff values are positive), or the lowest negative one (if not all tdiff values are positive). This could be accomplished just with "if (tdiff<=best_time)" as xnoreq pointed out.
George

[-- Attachment #2: Type: text/html, Size: 716 bytes --]

      parent reply	other threads:[~2017-04-12 13:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1698783902.612018.1491919195146.ref@mail.yahoo.com>
2017-04-11 13:59 ` George Amanakis
2017-04-11 14:11   ` [Cake] Fw: " George Amanakis
2017-04-12  9:15   ` [Cake] " Kevin Darbyshire-Bryant
2017-04-12 12:48     ` xnor
2017-04-12 13:44       ` Jonathan Morton
2017-04-12 14:02         ` George Amanakis
2017-04-12 13:45       ` George Amanakis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1012846747.423736.1492004714038@mail.yahoo.com \
    --to=g_amanakis@yahoo.com \
    --cc=cake@lists.bufferbloat.net \
    --cc=kevin@darbyshire-bryant.me.uk \
    --cc=xnoreq@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox