DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] config/thunderx: disable c11 mem model ring implementation
@ 2017-12-03 12:37 Jerin Jacob
  2018-01-29 15:14 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Jerin Jacob @ 2017-12-03 12:37 UTC (permalink / raw)
  To: dev; +Cc: thomas, jia.he, Jerin Jacob

On thunderx and octeontx, ring_perf_autotest and
ring_pmd_perf_autotest test shows better performance
when disabling CONFIG_RTE_RING_USE_C11_MEM_MODEL.
On the other hand, Enabling CONFIG_RTE_RING_USE_C11_MEM_MODEL
shows better performance on thunderx2.
Since thunderx2 is using the default armv8 config,
no particular change is required.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
---
This patch is depended on following patch from Jia He.
support c11 memory model barrier in librte_ring
http://dpdk.org/ml/archives/dev/2017-November/082368.html
---
 config/defconfig_arm64-thunderx-linuxapp-gcc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/defconfig_arm64-thunderx-linuxapp-gcc b/config/defconfig_arm64-thunderx-linuxapp-gcc
index 45038b119..60c68ec96 100644
--- a/config/defconfig_arm64-thunderx-linuxapp-gcc
+++ b/config/defconfig_arm64-thunderx-linuxapp-gcc
@@ -36,6 +36,7 @@ CONFIG_RTE_MACHINE="thunderx"
 CONFIG_RTE_CACHE_LINE_SIZE=128
 CONFIG_RTE_MAX_NUMA_NODES=2
 CONFIG_RTE_MAX_LCORE=96
+CONFIG_RTE_RING_USE_C11_MEM_MODEL=n
 
 #
 # Compile PMD for octeontx sso event device
-- 
2.15.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] config/thunderx: disable c11 mem model ring implementation
  2017-12-03 12:37 [dpdk-dev] [PATCH] config/thunderx: disable c11 mem model ring implementation Jerin Jacob
@ 2018-01-29 15:14 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2018-01-29 15:14 UTC (permalink / raw)
  To: Jerin Jacob; +Cc: dev, jia.he

03/12/2017 13:37, Jerin Jacob:
> On thunderx and octeontx, ring_perf_autotest and
> ring_pmd_perf_autotest test shows better performance
> when disabling CONFIG_RTE_RING_USE_C11_MEM_MODEL.
> On the other hand, Enabling CONFIG_RTE_RING_USE_C11_MEM_MODEL
> shows better performance on thunderx2.
> Since thunderx2 is using the default armv8 config,
> no particular change is required.
> 
> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-29 15:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-03 12:37 [dpdk-dev] [PATCH] config/thunderx: disable c11 mem model ring implementation Jerin Jacob
2018-01-29 15:14 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).