Re: [dpdk-dev] Question about cache_size in rte_mempool_create

2017-11-24 Thread Bruce Richardson
On Fri, Nov 24, 2017 at 01:01:08PM +0200, Roy Shterman wrote: > > > נשלח מה-iPhone שלי > > ‫ב-24 בנוב׳ 2017, בשעה 12:03, ‏‏Bruce Richardson > ‏ כתב/ה:‬ > > >> On Fri, Nov 24, 2017 at 11:39:54AM +0200, roy wrote: > >> Thanks for your answer, but I cannot understand the dimension of the ring > >

Re: [dpdk-dev] Question about cache_size in rte_mempool_create

2017-11-24 Thread Roy Shterman
נשלח מה-iPhone שלי ‫ב-24 בנוב׳ 2017, בשעה 12:03, ‏‏Bruce Richardson ‏ כתב/ה:‬ >> On Fri, Nov 24, 2017 at 11:39:54AM +0200, roy wrote: >> Thanks for your answer, but I cannot understand the dimension of the ring >> and it is affected by the cache size. >> >>> On 24/11/17 11:30, Bruce Richardso

Re: [dpdk-dev] Question about cache_size in rte_mempool_create

2017-11-24 Thread Bruce Richardson
On Fri, Nov 24, 2017 at 11:39:54AM +0200, roy wrote: > Thanks for your answer, but I cannot understand the dimension of the ring > and it is affected by the cache size. > > On 24/11/17 11:30, Bruce Richardson wrote: > > On Thu, Nov 23, 2017 at 11:05:11PM +0200, Roy Shterman wrote: > > > Hi, > > >

Re: [dpdk-dev] Question about cache_size in rte_mempool_create

2017-11-24 Thread roy
Thanks for your answer, but I cannot understand the dimension of the ring and it is affected by the cache size. On 24/11/17 11:30, Bruce Richardson wrote: On Thu, Nov 23, 2017 at 11:05:11PM +0200, Roy Shterman wrote: Hi, In the documentation it says that: * @param cache_size * If cache

Re: [dpdk-dev] Question about cache_size in rte_mempool_create

2017-11-24 Thread Bruce Richardson
On Thu, Nov 23, 2017 at 11:05:11PM +0200, Roy Shterman wrote: > Hi, > > In the documentation it says that: > > * @param cache_size > * If cache_size is non-zero, the rte_mempool library will try to > * limit the accesses to the common lockless pool, by maintaining a > * per-lcore object

[dpdk-dev] Question about cache_size in rte_mempool_create

2017-11-23 Thread Roy Shterman
Hi, In the documentation it says that: * @param cache_size * If cache_size is non-zero, the rte_mempool library will try to * limit the accesses to the common lockless pool, by maintaining a * per-lcore object cache. This argument must be lower or equal to * CONFIG_RTE_MEMPOOL_CACHE_