Hi, Konstantin:
> -Original Message-
> From: Ananyev, Konstantin
> Sent: Friday, December 16, 2016 7:48 PM
> To: Yang, Zhiyong ; Thomas Monjalon
>
> Cc: dev@dpdk.org; yuanhan@linux.intel.com; Richardson, Bruce
> ; De Lara Guarch, Pablo
>
> Subject: RE:
> On Fri, Dec 16, 2016 at 10:19:43AM +, Yang, Zhiyong wrote:
> > > > I run the same virtio/vhost loopback tests without NIC.
> > > > I can see the throughput drop when running choosing functions at run
> > > > time compared to original code as following on the same platform(my
> > > machine i
On Fri, Dec 16, 2016 at 10:19:43AM +, Yang, Zhiyong wrote:
> > > I run the same virtio/vhost loopback tests without NIC.
> > > I can see the throughput drop when running choosing functions at run
> > > time compared to original code as following on the same platform(my
> > machine is haswell)
Hi Zhiyong,
> > > > > >
> > > > > extern void *(*__rte_memset_vector)( (void *s, int c, size_t n);
> > > > >
> > > > > static inline void*
> > > > > rte_memset_huge(void *s, int c, size_t n) {
> > > > >return __rte_memset_vector(s, c, n); }
> > > > >
> > > > > static inline void *
> > > > > rt
ng, Zhiyong
> > > Sent: Sunday, December 11, 2016 8:33 PM
> > > To: Ananyev, Konstantin ; Thomas
> > > Monjalon
> > > Cc: dev@dpdk.org; yuanhan....@linux.intel.com; Richardson, Bruce
> > > ; De Lara Guarch, Pablo
> > >
> > &
on
> >
> > Cc: dev@dpdk.org; yuanhan@linux.intel.com; Richardson, Bruce
> > ; De Lara Guarch, Pablo
> >
> > Subject: RE: [dpdk-dev] [PATCH 1/4] eal/common: introduce rte_memset
> > on IA platform
> >
> > Hi, Thomas, Konstantin:
> >
> > &
PM
> > To: Ananyev, Konstantin ; Thomas
> > Monjalon
> > Cc: dev@dpdk.org; yuanhan@linux.intel.com; Richardson, Bruce
> > ; De Lara Guarch, Pablo
> >
> > Subject: Re: [dpdk-dev] [PATCH 1/4] eal/common: introduce rte_memset on
> > IA platform
> >
; Thomas
> > Monjalon
> > Cc: dev@dpdk.org; yuanhan@linux.intel.com; Richardson, Bruce
> > ; De Lara Guarch, Pablo
> >
> > Subject: Re: [dpdk-dev] [PATCH 1/4] eal/common: introduce rte_memset on
> > IA platform
> >
> > Hi, Konstantin, Bruce:
&g
> ; De Lara Guarch, Pablo
>
> Subject: Re: [dpdk-dev] [PATCH 1/4] eal/common: introduce rte_memset on
> IA platform
>
> Hi, Konstantin, Bruce:
>
> > -Original Message-
> > From: Ananyev, Konstantin
> > Sent: Thursday, December 8, 2016 6:31 PM
> >
dk.org; yuanhan@linux.intel.com; Richardson, Bruce
> > ; De Lara Guarch, Pablo
> >
> > Subject: RE: [dpdk-dev] [PATCH 1/4] eal/common: introduce rte_memset
> > on IA platform
> >
> > Hi, Konstantin:
> >
> > > -Original Message
h, Pablo
>
> Subject: Re: [dpdk-dev] [PATCH 1/4] eal/common: introduce rte_memset on
> IA platform
>
> 2016-12-08 07:41, Yang, Zhiyong:
> > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> > > 2016-12-05 16:26, Zhiyong Yang:
> > > > +#ifndef _RTE_
2016-12-08 07:41, Yang, Zhiyong:
> From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> > 2016-12-05 16:26, Zhiyong Yang:
> > > +#ifndef _RTE_MEMSET_X86_64_H_
> >
> > Is this implementation specific to 64-bit?
> >
>
> Yes.
So should we rename this file?
rte_memset.h -> rte_memset_64.h
Yo
dk.org; yuanhan@linux.intel.com; Richardson, Bruce
> > ; De Lara Guarch, Pablo
> >
> > Subject: RE: [dpdk-dev] [PATCH 1/4] eal/common: introduce rte_memset on
> > IA platform
> >
> >
> > Hi Zhiyong,
> >
> > >
> > > HI, Thomas:
g; yuanhan@linux.intel.com; Richardson, Bruce
> > ; De Lara Guarch, Pablo
> >
> > Subject: RE: [dpdk-dev] [PATCH 1/4] eal/common: introduce rte_memset on
> > IA platform
> >
> >
> > Hi Zhiyong,
> >
> > >
>
; > > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com]
> > > Sent: Friday, December 2, 2016 6:25 PM
> > > To: Yang, Zhiyong
> > > Cc: dev@dpdk.org; yuanhan@linux.intel.com; Richardson, Bruce
> > > ; Ananyev, Konstantin
> > > ; De Lara Guarch, P
gt; > To: Yang, Zhiyong
> > Cc: dev@dpdk.org; yuanhan@linux.intel.com; Richardson, Bruce
> > ; Ananyev, Konstantin
> > ; De Lara Guarch, Pablo
> >
> > Subject: Re: [dpdk-dev] [PATCH 1/4] eal/common: introduce rte_memset on
> > IA platform
> >
> &g
linux.intel.com; Richardson, Bruce
> ; Ananyev, Konstantin
> ; De Lara Guarch, Pablo
>
> Subject: Re: [dpdk-dev] [PATCH 1/4] eal/common: introduce rte_memset on
> IA platform
>
> 2016-12-05 16:26, Zhiyong Yang:
> > +#ifndef _RTE_MEMSET_X86_64_H_
>
> Is
2016-12-05 16:26, Zhiyong Yang:
> +#ifndef _RTE_MEMSET_X86_64_H_
Is this implementation specific to 64-bit?
> +
> +#define rte_memset memset
> +
> +#else
> +
> +static void *
> +rte_memset(void *dst, int a, size_t n);
> +
> +#endif
If I understand well, rte_memset (as rte_memcpy) is using the mo
Performance drop has been caused in some cases when DPDK code calls glibc
function memset. reference to discussions about memset in
http://dpdk.org/ml/archives/dev/2016-October/048628.html
It is necessary to introduce more high efficient function to fix it.
One important thing about rte_memset is t
19 matches
Mail list logo