Re: [dpdk-dev] [PATCH] mempool: optimize copy in cache get

2019-07-01 Thread Olivier Matz
Hi, On Mon, Jul 01, 2019 at 02:21:41PM +, Wang, Xiao W wrote: > Hi, > > > -Original Message- > > From: Olivier Matz [mailto:olivier.m...@6wind.com] > > Sent: Monday, July 1, 2019 9:11 PM > > To: Andrew Rybchenko > > Cc: Wang, Xiao W ; dev@dpdk.org > > Subject: Re: [PATCH] mempool: op

Re: [dpdk-dev] [PATCH] mempool: optimize copy in cache get

2019-07-01 Thread Wang, Xiao W
Hi, > -Original Message- > From: Olivier Matz [mailto:olivier.m...@6wind.com] > Sent: Monday, July 1, 2019 9:11 PM > To: Andrew Rybchenko > Cc: Wang, Xiao W ; dev@dpdk.org > Subject: Re: [PATCH] mempool: optimize copy in cache get > > Hi, > > On Tue, May 21, 2019 at 12:34:55PM +0300, An

Re: [dpdk-dev] [PATCH] mempool: optimize copy in cache get

2019-07-01 Thread Olivier Matz
Hi, On Tue, May 21, 2019 at 12:34:55PM +0300, Andrew Rybchenko wrote: > On 5/21/19 12:03 PM, Xiao Wang wrote: > > Use rte_memcpy to improve the pointer array copy. This optimization method > > has already been applied to __mempool_generic_put() [1], this patch applies > > it to __mempool_generic_g

Re: [dpdk-dev] [PATCH] mempool: optimize copy in cache get

2019-05-21 Thread Andrew Rybchenko
On 5/21/19 12:03 PM, Xiao Wang wrote: Use rte_memcpy to improve the pointer array copy. This optimization method has already been applied to __mempool_generic_put() [1], this patch applies it to __mempool_generic_get(). Slight performance gain can be observed in testpmd txonly test. [1] 863bfb47

[dpdk-dev] [PATCH] mempool: optimize copy in cache get

2019-05-21 Thread Xiao Wang
Use rte_memcpy to improve the pointer array copy. This optimization method has already been applied to __mempool_generic_put() [1], this patch applies it to __mempool_generic_get(). Slight performance gain can be observed in testpmd txonly test. [1] 863bfb47449 ("mempool: optimize copy in cache")