[dpdk-dev] [PATCH] mempool: limit cache_size

2015-05-18 Thread Zoltan Kiss
On 18/05/15 15:13, Ananyev, Konstantin wrote: > > >> -Original Message- >> From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] >> Sent: Monday, May 18, 2015 2:31 PM >> To: Ananyev, Konstantin; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] mempool

[dpdk-dev] [PATCH] mempool: limit cache_size

2015-05-18 Thread Zoltan Kiss
On 18/05/15 14:14, Ananyev, Konstantin wrote: > > >> -Original Message- >> From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] >> Sent: Monday, May 18, 2015 1:50 PM >> To: Ananyev, Konstantin; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] mempool

[dpdk-dev] [PATCH] mempool: limit cache_size

2015-05-18 Thread Ananyev, Konstantin
> -Original Message- > From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] > Sent: Monday, May 18, 2015 2:31 PM > To: Ananyev, Konstantin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mempool: limit cache_size > > > > On 18/05/15 14:14

[dpdk-dev] [PATCH] mempool: limit cache_size

2015-05-18 Thread Zoltan Kiss
On 18/05/15 13:41, Ananyev, Konstantin wrote: > > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zoltan Kiss >> Sent: Monday, May 18, 2015 1:28 PM >> To: dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] mempool:

[dpdk-dev] [PATCH] mempool: limit cache_size

2015-05-18 Thread Bruce Richardson
On Mon, May 18, 2015 at 01:27:45PM +0100, Zoltan Kiss wrote: > Hi, > > Any opinion on this patch? > > Regards, > > Zoltan > > On 13/05/15 19:59, Zoltan Kiss wrote: > >Otherwise cache_flushthresh can be bigger than n, and > >a consumer can starve others by keeping every element > >either in use

[dpdk-dev] [PATCH] mempool: limit cache_size

2015-05-18 Thread Zoltan Kiss
Hi, Any opinion on this patch? Regards, Zoltan On 13/05/15 19:59, Zoltan Kiss wrote: > Otherwise cache_flushthresh can be bigger than n, and > a consumer can starve others by keeping every element > either in use or in the cache. > > Signed-off-by: Zoltan Kiss > --- > lib/librte_mempool/rte_

[dpdk-dev] [PATCH] mempool: limit cache_size

2015-05-18 Thread Ananyev, Konstantin
> -Original Message- > From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] > Sent: Monday, May 18, 2015 1:50 PM > To: Ananyev, Konstantin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mempool: limit cache_size > > > > On 18/05/15 13:41

[dpdk-dev] [PATCH] mempool: limit cache_size

2015-05-18 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zoltan Kiss > Sent: Monday, May 18, 2015 1:28 PM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mempool: limit cache_size > > Hi, > > Any opinion on this patch? > >

[dpdk-dev] [PATCH] mempool: limit cache_size

2015-05-13 Thread Zoltan Kiss
Otherwise cache_flushthresh can be bigger than n, and a consumer can starve others by keeping every element either in use or in the cache. Signed-off-by: Zoltan Kiss --- lib/librte_mempool/rte_mempool.c | 3 ++- lib/librte_mempool/rte_mempool.h | 2 +- 2 files changed, 3 insertions(+), 2 deletio