Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Dave Taht <dave.taht@gmail.com>
Cc: jdb@comx.dk, David Miller <davem@davemloft.net>,
	netdev <netdev@vger.kernel.org>
Subject: Re: [PATCH] sch_sfq: revert dont put new flow at the end of flows
Date: Tue, 13 Mar 2012 22:02:12 -0700	[thread overview]
Message-ID: <1331701332.2456.25.camel@edumazet-laptop> (raw)
In-Reply-To: <CAA93jw4kYqCWg424SXkrtQeg9bPfpfgH-x_7tjg=m8uxk_GNaA@mail.gmail.com>

Le mercredi 14 mars 2012 à 04:52 +0000, Dave Taht a écrit :

> I had some hope for a semi-random alternating queue
> 

I spent some time implementing two queues, one for new flows, one for
old flows. As soon as a new flow uses its initial quantum, its moved at
the tail of 'old flows queue'.

But I always could find a way to starve some flows, even adding some
kind of persistence. Right now, as soon as we empty one flow, we forget
its history.

Next packet coming will create a "new flow" with a full quantum credit,
even if we nearly consume all flow quantum in the last micro second.

Thats definitely not a trivial problem.

  reply	other threads:[~2012-03-14  5:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1327570722.8191.46.camel@probook>
2012-03-14  4:04 ` [PATCH] sch_sfq: revert dont put new flow at the end of flows Eric Dumazet
2012-03-14  4:52   ` Dave Taht
2012-03-14  5:02     ` Eric Dumazet [this message]
2012-03-14  6:07       ` Dave Taht
2012-03-14 11:32     ` Jesper Dangaard Brouer
2012-03-14 14:04       ` Eric Dumazet
2012-03-14 17:22         ` Dave Taht
2012-03-16  8:56   ` David Miller

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

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

  git send-email \
    --in-reply-to=1331701332.2456.25.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=dave.taht@gmail.com \
    --cc=davem@davemloft.net \
    --cc=jdb@comx.dk \
    --cc=netdev@vger.kernel.org \
    /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