DPDK patches and discussions
 help / color / mirror / Atom feed
From: 吴亚东 <ydwoo0722@gmail.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] generic load balancing
Date: Fri, 6 Dec 2013 10:16:34 +0800	[thread overview]
Message-ID: <CAGbq_NweTxOfzY2twfkQ8SjJF0=7jMrk=R=Tnw-j5MZkdN7bvg@mail.gmail.com> (raw)
In-Reply-To: <201312051721.51070.thomas.monjalon@6wind.com>

RSS is a way to distribute packets to multi cores while packets order in
the same flow still get maintained.

Round robin distribution of packets may cause ooo(out of order) of packets
in the same flow.
We also meet this problem in ipsec vpn case.
The tunneled packets are rss to the same queue if they are on the same
tunnel.
But if we dispatch the packets to the other cores to process, ooo packets
may occur and tcp performance may be greatly hurt.

If you enable rss on udp packets and some udp packets are ip fragmented,
rss of udp fragments(hash only calculated from ip addr) may be different
fom rss of udp non-fragment packets(hash with information of udp ports),
ooo may occur too.
So in kernel driver disables udp rss by default.

If intel supports round robin distribution of packets in the same flow,
Intel needs to provide some way like Cavium's SSO(tag switch) to maintain
packet order in the same flow. And it is hard to do so because intel's cpu
and nic are decoupled.





2013/12/6 Thomas Monjalon <thomas.monjalon@6wind.com>

> Hello,
>
> 05/12/2013 16:42, Michael Quicquaro :
> > This is a good discussion and I hope Intel can see and benefit from it.
>
> Don't forget that this project is Open Source.
> So you can submit your patches for review.
>
> Thanks for participating
> --
> Thomas
>

  reply	other threads:[~2013-12-06  2:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-04 17:53 Michael Quicquaro
2013-12-04 20:48 ` elevran
2013-12-04 21:04 ` François-Frédéric Ozog
2013-12-05  4:31   ` Prashant Upadhyaya
2013-12-05  4:54     ` Stephen Hemminger
2013-12-05  5:29       ` Prashant Upadhyaya
2013-12-05  7:44         ` Benson, Bryan
2013-12-05 14:16           ` Prashant Upadhyaya
2013-12-05 18:33             ` Benson, Bryan
2013-12-05  8:45         ` François-Frédéric Ozog
2013-12-05 14:29           ` Prashant Upadhyaya
2013-12-05 15:42             ` Michael Quicquaro
2013-12-05 16:21               ` Thomas Monjalon
2013-12-06  2:16                 ` 吴亚东 [this message]
2013-12-06  4:03                   ` Prashant Upadhyaya
2013-12-06  7:53                     ` François-Frédéric Ozog

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='CAGbq_NweTxOfzY2twfkQ8SjJF0=7jMrk=R=Tnw-j5MZkdN7bvg@mail.gmail.com' \
    --to=ydwoo0722@gmail.com \
    --cc=dev@dpdk.org \
    --cc=thomas.monjalon@6wind.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).