From: Stefan Baranoff <sbaranoff@gmail.com>
To: Daniel Kan <dan@nyansa.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] Is it possible to get symmetric hash from RSS for a given flow
Date: Thu, 27 Feb 2014 20:08:01 -0500 [thread overview]
Message-ID: <CAHzKxpbHUw_8ovQN_L3OCk+rrxOdMtkJ0URWudn992GzfYx11A@mail.gmail.com> (raw)
In-Reply-To: <75A2A7C4-F592-407C-92BA-7BBD6B6B2A72@nyansa.com>
Has anyone already applied this logic to IP only load balancing to get
SRC/DST and DST/SRC on the same queue and come up with an RSK value? If not
I'll spend some time with a calculator and see if I can get one.
Thanks,
Stefan
Sent from my smart phone; people don't make typos, Swype does!
On Feb 27, 2014 8:04 PM, "Daniel Kan" <dan@nyansa.com> wrote:
> Thanks, Sangjin. This is exactly i'm looking for. Sorry, I should've
> googled it first. It's good to know that hash key of repetitive 0x6d5a
> still yields good load balancing results.
>
> Dan
>
> On Feb 27, 2014, at 4:24 PM, Sangjin Han <sangjin@eecs.berkeley.edu>
> wrote:
>
> > Hi,
> >
> > This is exactly what you want:
> > http://www.ndsl.kaist.edu/~shinae/papers/TR-symRSS.pdf
> >
> > Sangjin
> >
> > On Thu, Feb 27, 2014 at 4:22 PM, Daniel Kan <dan@nyansa.com> wrote:
> >> Hi,
> >> It appears that the hash computed from RSS is unidirectional. Hence,
> for a 5-tuple flow, packet in one direction can be routed to a queue that
> may be different than packet in the other direction. I'm wondering if there
> is a configuration or mechanism to get a symmetric hash so that all packets
> for a given flow will be in the same queue. Thanks in advance.
> >>
> >> Dan
>
>
next prev parent reply other threads:[~2014-02-28 1:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-28 0:22 Daniel Kan
2014-02-28 0:24 ` Sangjin Han
2014-02-28 1:04 ` Daniel Kan
2014-02-28 1:08 ` Stefan Baranoff [this message]
2014-02-28 5:34 ` Daniel Kan
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=CAHzKxpbHUw_8ovQN_L3OCk+rrxOdMtkJ0URWudn992GzfYx11A@mail.gmail.com \
--to=sbaranoff@gmail.com \
--cc=dan@nyansa.com \
--cc=dev@dpdk.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;
as well as URLs for NNTP newsgroup(s).