DPDK patches and discussions
 help / color / mirror / Atom feed
From: Matt Laswell <laswell@infiniteio.com>
To: Vladimir Medvedkin <medvedkinv@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Symmetric RSS Hashing, Part 2
Date: Mon, 30 Mar 2015 10:13:05 -0500	[thread overview]
Message-ID: <CA+GnqApbrXTaBvM1HzpSQU57d8csgfvpfG6APCGsjY4Kvz+mrQ@mail.gmail.com> (raw)
In-Reply-To: <CANDrEHkKgkc1=zqb-gUVzfxXKUPAMJq6GW8JDhy6=0_pLh1LRw@mail.gmail.com>

That's really encouraging.  Thanks!

One thing I'll note is that if my reading of the original paper is
accurate, the 0x6d5a value isn't there in order to cause symmetry - other
repeated 16 bit values will do that, as you've seen.  What the 0x6d5a value
gets you is symmetry while preserving RSS's effectiveness at load spreading
with typical traffic data.  Not all 16 bit values will do this.

--
Matt Laswell
infinite io, inc.
laswell@infiniteio.com

On Mon, Mar 30, 2015 at 10:00 AM, Vladimir Medvedkin <medvedkinv@gmail.com>
wrote:

> Matthew,
>
> I don't use any special tricks to make symmetric RSS work. Furthermore, it
> works not only with 0x6d5a.
>
> Regards,
> Vladimir
>
> 2015-03-28 23:11 GMT+03:00 Matthew Hall <mhall@mhcomputing.net>:
>
> > On Sat, Mar 28, 2015 at 12:10:20PM +0300, Vladimir Medvedkin wrote:
> > > I just verify RSS symmetric in my code, all works great.
> > > ...
> > > By the way, maybe it will be usefull to add softrss function in DPDK?
> >
> > Vladimir,
> >
> > All of this is super-awesome code. I agree having SW RSS would be quite
> > nice.
> > Then you could more easily support things like virtio-net and other stuff
> > which doesn't have RSS.
> >
> > Did you have to use any special tricks to get the 0x6d5a to work? I
> wasn't
> > quite
> > sure how to initialize that and get it to run right.
> >
> > Matthew.
> >
>

      reply	other threads:[~2015-03-30 15:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-14 20:47 Matthew Hall
2015-03-23 15:05 ` Matt Laswell
2015-03-23 15:20   ` Thomas Monjalon
2015-03-23 21:27     ` Matthew Hall
2015-03-27  5:30       ` Zhang, Helin
2015-03-27 14:37         ` Matthew Hall
2015-03-28  9:10           ` Vladimir Medvedkin
2015-03-28 20:11             ` Matthew Hall
2015-03-30 15:00               ` Vladimir Medvedkin
2015-03-30 15:13                 ` Matt Laswell [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

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

  git send-email \
    --in-reply-to=CA+GnqApbrXTaBvM1HzpSQU57d8csgfvpfG6APCGsjY4Kvz+mrQ@mail.gmail.com \
    --to=laswell@infiniteio.com \
    --cc=dev@dpdk.org \
    --cc=medvedkinv@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;
as well as URLs for NNTP newsgroup(s).