[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-29 Thread Fu, JingguoX
#RTE>> Test OK Test Result- PASSED -Original Message- From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of zhihong.w...@intel.com Sent: Monday, January 19, 2015 09:54 To: dev at dpdk.org Subject: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization This patch

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-29 Thread Wang, Zhihong
> -Original Message- > From: EDMISON, Kelvin (Kelvin) [mailto:kelvin.edmison at alcatel-lucent.com] > Sent: Thursday, January 29, 2015 5:48 AM > To: Wang, Zhihong; Stephen Hemminger; Neil Horman > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK m

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-28 Thread EDMISON, Kelvin (Kelvin)
On 2015-01-27, 3:22 AM, "Wang, Zhihong" wrote: > > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of EDMISON, Kelvin >> (Kelvin) >> Sent: Friday, January 23, 2015 2:22 AM >> To: dev at dpdk.org >

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-28 Thread Wang, Zhihong
> -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, January 27, 2015 8:20 PM > To: Wang, Zhihong; Richardson, Bruce; 'Marc Sune' > Cc: 'dev at dpdk.org' > Subject: RE: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization > > > &

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-27 Thread Ananyev, Konstantin
> -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, January 27, 2015 11:30 AM > To: Wang, Zhihong; Richardson, Bruce; Marc Sune > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization > > > > > -Ori

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-27 Thread Ananyev, Konstantin
> -Original Message- > From: Wang, Zhihong > Sent: Tuesday, January 27, 2015 1:42 AM > To: Ananyev, Konstantin; Richardson, Bruce; Marc Sune > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization > > > > > -Origin

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-27 Thread Wang, Zhihong
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of EDMISON, Kelvin > (Kelvin) > Sent: Friday, January 23, 2015 2:22 AM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization > > > > On 2015-01-21,

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-27 Thread Wang, Zhihong
esign flaw. Thanks Zhihong (John) From: lukego at gmail.com [mailto:luk...@gmail.com] On Behalf Of Luke Gorrie Sent: Monday, January 26, 2015 4:03 PM To: Wang, Zhihong Cc: dev at dpdk.org; snabb-devel at googlegroups.com Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization On 26 January 201

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-27 Thread Wang, Zhihong
> -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, January 27, 2015 2:29 AM > To: Wang, Zhihong; Richardson, Bruce; Marc Sune > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization > > Hi Zhihong, > > > --

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-26 Thread Ananyev, Konstantin
Hi Zhihong, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wang, Zhihong > Sent: Friday, January 23, 2015 6:52 AM > To: Richardson, Bruce; Marc Sune > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK m

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-26 Thread Luke Gorrie
On 26 January 2015 at 02:30, Wang, Zhihong wrote: > Hi Luke, > > > > I?m very glad that you?re interested in this work. J > Great :). I never published any performance data, and haven?t run cachebench. > > We use test_memcpy_perf.c in DPDK to do the test mainly, because it?s the > environmen

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-26 Thread Wang, Zhihong
: Sunday, January 25, 2015 10:50 PM To: Wang, Zhihong Cc: dev at dpdk.org; snabb-devel at googlegroups.com Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization Hi John, On 19 January 2015 at 02:53, mailto:zhihong.wang at intel.com>> wrote: This patch set optimizes memcpy for DPDK for bo

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-25 Thread Luke Gorrie
Hi John, On 19 January 2015 at 02:53, wrote: > This patch set optimizes memcpy for DPDK for both SSE and AVX platforms. > It also extends memcpy test coverage with unaligned cases and more test > points. > I am really interested in this work you are doing on memory copies optimized for packet d

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-23 Thread Wang, Zhihong
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Wednesday, January 21, 2015 9:26 PM > To: Marc Sune > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization > > On Wed, Jan 21,

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-23 Thread Wang, Zhihong
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Wednesday, January 21, 2015 8:38 PM > To: Ananyev, Konstantin > Cc: Wang, Zhihong; Richardson, Bruce; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization &

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-22 Thread Luke Gorrie
On 22 January 2015 at 14:29, Jay Rolette wrote: > Microseconds matter. Scaling up to 100GbE, nanoseconds matter. > True. Is there a cut-off point though? Does one nanosecond matter? AVX512 will fit a 64-byte packet in one register and move that to or from memory with one instruction. L1/L2 cach

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-22 Thread EDMISON, Kelvin (Kelvin)
> >>>>From: Richardson, Bruce >> > > >>>>Sent: Wednesday, January 21, 2015 12:15 AM >> > > >>>>To: Neil Horman >> > > >>>>Cc: Wang, Zhihong; dev at dpdk.org >> > > >>>>Subject: Re: [

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-22 Thread Jay Rolette
On Thu, Jan 22, 2015 at 12:27 PM, Luke Gorrie wrote: > On 22 January 2015 at 14:29, Jay Rolette wrote: > >> Microseconds matter. Scaling up to 100GbE, nanoseconds matter. >> > > True. Is there a cut-off point though? > There are always engineering trade-offs that have to be made. If I'm optimiz

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-22 Thread Luke Gorrie
Howdy! This memcpy discussion is absolutely fascinating. Glad to be a fly on the wall! On 21 January 2015 at 22:25, Jim Thompson wrote: > > The differences with DPDK are that a) entire cores (including the AVX/SSE > units and even AES-NI (FPU) are dedicated to DPDK, and b) DPDK is a library, >

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-22 Thread Jay Rolette
On Thu, Jan 22, 2015 at 3:06 AM, Luke Gorrie wrote: Here is another thought: when is it time to start thinking of packet copy > as a cheap unit-time operation? > Pretty much never short of changes to memory architecture, IMO. Frankly, there are never enough cycles for deep packet inspection appl

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-21 Thread Stephen Hemminger
On Wed, 21 Jan 2015 15:25:40 -0600 Jim Thompson wrote: > I?m not as concerned with compile times given the potential performance boost. Compile time matters. Right now full build of large project is fast. Like 2 minutes or less. Is this only the test applications (which can be disabled from th

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-21 Thread Neil Horman
n 20, 2015 at 10:11:18AM -0500, Neil Horman wrote: > > > >>>>>On Tue, Jan 20, 2015 at 03:01:44AM +, Wang, Zhihong wrote: > > > >>>>>>>-Original Message- > > > >>>>>>>From: Neil Horman [mailto:nhorman at tux

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-21 Thread Jim Thompson
une wrote: >>>>>> On 21/01/15 04:44, Wang, Zhihong wrote: >>>>>>>> -Original Message- >>>>>>>> From: Richardson, Bruce >>>>>>>> Sent: Wednesday, January 21, 2015 12:15 AM >>>>>>>

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-21 Thread Marc Sune
5 12:15 AM >>>> To: Neil Horman >>>> Cc: Wang, Zhihong; dev at dpdk.org >>>> Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization >>>> >>>> On Tue, Jan 20, 2015 at 10:11:18AM -0500, Neil Horman wrote: >>>>> On

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-21 Thread Marc Sune
On 21/01/15 04:44, Wang, Zhihong wrote: > >> -Original Message- >> From: Richardson, Bruce >> Sent: Wednesday, January 21, 2015 12:15 AM >> To: Neil Horman >> Cc: Wang, Zhihong; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy opt

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-21 Thread Bruce Richardson
t;>From: Richardson, Bruce > >>>>Sent: Wednesday, January 21, 2015 12:15 AM > >>>>To: Neil Horman > >>>>Cc: Wang, Zhihong; dev at dpdk.org > >>>>Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization > >>>> > >

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-21 Thread Bruce Richardson
Cc: Wang, Zhihong; dev at dpdk.org > >>Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization > >> > >>On Tue, Jan 20, 2015 at 10:11:18AM -0500, Neil Horman wrote: > >>>On Tue, Jan 20, 2015 at 03:01:44AM +, Wang, Zhihong wrote: > >>>> &

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-21 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wang, Zhihong > Sent: Wednesday, January 21, 2015 3:44 AM > To: Richardson, Bruce; Neil Horman > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization > &g

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-21 Thread Stephen Hemminger
21/01/15 04:44, Wang, Zhihong wrote: > > >>>>-Original Message- > > >>>>From: Richardson, Bruce > > >>>>Sent: Wednesday, January 21, 2015 12:15 AM > > >>>>To: Neil Horman > > >>>>Cc: Wang, Zhihong; dev at dpdk.org

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-21 Thread Bruce Richardson
On Wed, Jan 21, 2015 at 03:44:23AM +, Wang, Zhihong wrote: > Neil, Bruce, > > Some data first. > > Sandy Bridge without AVX2: > 1. original w/ 10 constant memcpy: 2'25" > 2. patch w/ 12 constant memcpy: 2'41" > 3. patch w/ 63 constant memcpy: 9'41" > > Haswell with AVX2: > 1. original w/

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-21 Thread Neil Horman
Horman > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization > > > > > > > > > -Original Message- > > > From: Richardson, Bruce > > > Sent: Wednesday, January 21, 2015 12:15 AM > > > To: Neil Horma

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-21 Thread Wang, Zhihong
> -Original Message- > From: Richardson, Bruce > Sent: Wednesday, January 21, 2015 12:15 AM > To: Neil Horman > Cc: Wang, Zhihong; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization > > On Tue, Jan 20, 2015 at 10:11:18AM -0500, Neil

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-20 Thread Bruce Richardson
y 19, 2015 9:02 PM > > > To: Wang, Zhihong > > > Cc: dev at dpdk.org > > > Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization > > > > > > On Mon, Jan 19, 2015 at 09:53:30AM +0800, zhihong.wang at intel.com wrote: > > > > This patc

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-20 Thread Neil Horman
On Tue, Jan 20, 2015 at 03:01:44AM +, Wang, Zhihong wrote: > > > > -Original Message- > > From: Neil Horman [mailto:nhorman at tuxdriver.com] > > Sent: Monday, January 19, 2015 9:02 PM > > To: Wang, Zhihong > > Cc: dev at dpdk.org > > Subje

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-20 Thread Wang, Zhihong
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Monday, January 19, 2015 9:02 PM > To: Wang, Zhihong > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/4] DPDK memcpy optimization > > On Mon, Jan 19, 2015 at 09:53:30A

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-19 Thread zhihong.w...@intel.com
This patch set optimizes memcpy for DPDK for both SSE and AVX platforms. It also extends memcpy test coverage with unaligned cases and more test points. Optimization techniques are summarized below: 1. Utilize full cache bandwidth 2. Enforce aligned stores 3. Apply load address alignment based

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-19 Thread Neil Horman
On Mon, Jan 19, 2015 at 09:53:30AM +0800, zhihong.wang at intel.com wrote: > This patch set optimizes memcpy for DPDK for both SSE and AVX platforms. > It also extends memcpy test coverage with unaligned cases and more test > points. > > Optimization techniques are summarized below: > > 1. Utili