[dpdk-dev] generic load balancing

2013-12-06 Thread 吴亚东
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 t

[dpdk-dev] generic load balancing

2013-12-06 Thread Prashant Upadhyaya
ant From: ?? [mailto:ydwoo0...@gmail.com] Sent: Friday, December 06, 2013 7:47 AM To: Thomas Monjalon Cc: Michael Quicquaro; Prashant Upadhyaya; dev at dpdk.org Subject: Re: [dpdk-dev] generic load balancing RSS is a way to distribute packets to multi cores while packets order in the same flow still get

[dpdk-dev] generic load balancing

2013-12-06 Thread François-Frédéric Ozog
- > De : dev [mailto:dev-bounces at dpdk.org] De la part de Prashant Upadhyaya > Envoy? : vendredi 6 d?cembre 2013 05:04 > ? : ???; Thomas Monjalon > Cc : dev at dpdk.org > Objet : Re: [dpdk-dev] generic load balancing > > Hi, > > Regarding this point ? > > If i

[dpdk-dev] generic load balancing

2013-12-05 Thread Prashant Upadhyaya
27;Michael Quicquaro'; 'Stephen Hemminger'; dev at dpdk.org Subject: RE: [dpdk-dev] generic load balancing Hi, If the traffic you manage is above MPLS or GTP encapsulations, then you can use cards that provide flexible hash functions. Chelsio cxgb5 provides combination of "offse

[dpdk-dev] generic load balancing

2013-12-05 Thread Prashant Upadhyaya
, Bryan [mailto:bmben...@amazon.com] Sent: Thursday, December 05, 2013 1:14 PM To: Prashant Upadhyaya; Stephen Hemminger Cc: dev at dpdk.org Subject: RE: [dpdk-dev] generic load balancing Prashant, I assume your use case is not of one IP/UDP/TCP - or if it is, you are dealing with a single tuple that

[dpdk-dev] generic load balancing

2013-12-05 Thread Benson, Bryan
6:16 AM To: Benson, Bryan; Stephen Hemminger Cc: dev at dpdk.org Subject: RE: [dpdk-dev] generic load balancing Hi Bryan, Regarding your 1st point, the single core becomes the rx bottleneck which is clearly not desirable. I am not sure regarding how to use the stuff you mentioned in 2nd point, is

[dpdk-dev] generic load balancing

2013-12-05 Thread Thomas Monjalon
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

[dpdk-dev] generic load balancing

2013-12-05 Thread Prashant Upadhyaya
: Thursday, December 05, 2013 10:25 AM To: Prashant Upadhyaya Cc: Fran?ois-Fr?d?ric Ozog; Michael Quicquaro; dev at dpdk.org Subject: Re: [dpdk-dev] generic load balancing Round robin would actually be awful for any protocol because it would cause out of order packets. That is why flow based algorithms

[dpdk-dev] generic load balancing

2013-12-05 Thread Michael Quicquaro
- > From: Fran?ois-Fr?d?ric Ozog [mailto:ff at ozog.com] > Sent: Thursday, December 05, 2013 2:16 PM > To: Prashant Upadhyaya > Cc: 'Michael Quicquaro'; 'Stephen Hemminger'; dev at dpdk.org > Subject: RE: [dpdk-dev] generic load balancing > > Hi, >

[dpdk-dev] generic load balancing

2013-12-05 Thread Prashant Upadhyaya
al Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Fran?ois-Fr?d?ric Ozog Sent: Thursday, December 05, 2013 2:35 AM To: 'Michael Quicquaro' Cc: dev at dpdk.org Subject: Re: [dpdk-dev] generic load balancing Hi, As far as I can tell, this is really hardware dependent.

[dpdk-dev] generic load balancing

2013-12-05 Thread François-Frédéric Ozog
yaya [mailto:prashant.upadhyaya at aricent.com] > Envoy??: jeudi 5 d?cembre 2013 06:30 > ??: Stephen Hemminger > Cc?: Fran?ois-Fr?d?ric Ozog; Michael Quicquaro; dev at dpdk.org > Objet?: RE: [dpdk-dev] generic load balancing > > Hi Stepher, > > The awfulness depends upon

[dpdk-dev] generic load balancing

2013-12-05 Thread Benson, Bryan
ginal message From: Prashant Upadhyaya Date:12/04/2013 9:30 PM (GMT-08:00) To: Stephen Hemminger Cc: dev at dpdk.org Subject: Re: [dpdk-dev] generic load balancing Hi Stepher, The awfulness depends upon the 'usecase' I have eg. a usecase where I want this roundrobin behaviour. I ju

[dpdk-dev] generic load balancing

2013-12-04 Thread elevran
Hi Michael, As far as I know, RSS is used to distribute packets between cores based on hashing the packets' initial bytes, so round robin distribution is not possible in hardware. You can configure the hash seed and which fields to use in the hash. If the input packets have same or very similar by

[dpdk-dev] generic load balancing

2013-12-04 Thread François-Frédéric Ozog
ev [mailto:dev-bounces at dpdk.org] De la part de Michael Quicquaro > Envoy??: mercredi 4 d?cembre 2013 18:53 > ??: dev at dpdk.org > Objet?: [dpdk-dev] generic load balancing > > Hi all, > I am writing a dpdk application that will receive packets from one > interface and process

[dpdk-dev] generic load balancing

2013-12-04 Thread Stephen Hemminger
t; -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Fran?ois-Fr?d?ric Ozog > Sent: Thursday, December 05, 2013 2:35 AM > To: 'Michael Quicquaro' > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] generic load balancing > > Hi, > >

[dpdk-dev] generic load balancing

2013-12-04 Thread Michael Quicquaro
Hi all, I am writing a dpdk application that will receive packets from one interface and process them. It does not forward packets in the traditional sense. However, I do need to process them at full line rate and therefore need more than one core. The packets can be somewhat generic in nature a