General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: "aqm@ietf.org" <aqm@ietf.org>, bloat <bloat@lists.bufferbloat.net>
Subject: [Bloat] stochastic hashing in hardware with a limited number of queues
Date: Fri, 14 Mar 2014 07:06:50 -0700	[thread overview]
Message-ID: <CAA93jw53-F_rnLUce_aDgd_m4XEeyH+ZRXCFeL43-Q5o2TjgZA@mail.gmail.com> (raw)

The thread on netdev starting here:

http://comments.gmane.org/gmane.linux.network/307532

was pretty interesting, where a research group at suny looked hard
at the behavior of a 64 hw queue system running giant flows:

http://www.fsl.cs.sunysb.edu/~mchen/fast14poster-hashcast-portrait.pdf

They ran smack into the birthday problem inherent in a small number
of queues. And also a bug (now fixed).

The conclusion of the thread was amusing, in that with the new
sch_fq scheduler with a single hardware queue (and a string
of fixes over the past year for tcp small queues and tso offloads),
performed as well as the multi queue implementation... with utter
fairness.

"On Sun, Mar 9, 2014 at 9:44 AM, Eric Dumazet <eric.dumazet <at>
gmail.com> wrote:
>
> Multiqueue is not a requirement in your case. You can easily reach line
> rate with a single queue on a 10Gbe NIC.
>

I repeated the experiment for 10 times using one tx queue with FQ, and
all clients get fair share of the bandwidth. The overall throughout
showed no difference between the single queue case and the mq case,
and the throughput in both cases are close to the line rate.
"

Sometimes merely because a feature is available on the hardware
does not mean it should be used. Certainly multiple hw queues is
a good idea for some traffic mixes, but not for the circumstances of
this particular test series.


-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

             reply	other threads:[~2014-03-14 14:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-14 14:06 Dave Taht [this message]
2014-03-15 15:28 ` Juliusz Chroboczek

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/bloat.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=CAA93jw53-F_rnLUce_aDgd_m4XEeyH+ZRXCFeL43-Q5o2TjgZA@mail.gmail.com \
    --to=dave.taht@gmail.com \
    --cc=aqm@ietf.org \
    --cc=bloat@lists.bufferbloat.net \
    /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