[dpdk-users] MEMPOOL contentions
jmanbal at gmail.com
Fri Sep 2 20:37:59 CEST 2016
Thank you for reply.
I reached those setup.
My question is when I run my app after these setup, how to get statistics?
In other words, where can I see some statistics like file or screen?
2016-09-02 12:35 GMT-06:00 Wiles, Keith <keith.wiles at intel.com>:
> > On Sep 2, 2016, at 1:27 PM, Junguk Cho <jmanbal at gmail.com> wrote:
> > Hi,
> > In my setup, I created one mempool which is shared with 5 rings.
> > So, I want to know statistics of contentions between 5 rings like taking
> > time to get one mbuf.
> > In the manual, there are some options like CONFIG_RTE_LIBRTE_MEMPOOL_
> Add the option to your config file uses in the build of DPDK and set the
> value to ‘y’ instead of ’n’.
> Example: edit or copy say defconfig_x86_64-native-linuxapp-gcc and add
> something like this;
> Then rebuild DPDK using something like ‘make install
> T=x86_64-native-linux-gcc -j'
> > However, I don't know how to use it.
> > Is there any reference?
> > Intuitively, as the number of rings are increase, I think the contention
> > happened frequently.
> > So, to avoid this, is increasing CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE one
> > solution?
> > Thanks,
> > Junguk
More information about the users