All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: enable ARCH_WANT_RELAX_ORDER for aarch64
@ 2017-03-13 12:03 ` Ding Tianhong
  0 siblings, 0 replies; 16+ messages in thread
From: Ding Tianhong @ 2017-03-13 12:03 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel
  Cc: alexander.duyck

The ARCH_WANT_RELAX_ORDER will enable Relaxed Ordering (RO) which allows
transactions that do not have any order of completion requirements to
complete more efficiently compare to the Stricted Ordering (SO) for ixbge
nic card. The system will see high write-to-memory performance when RO is
enabled on the data transactions just like the SPARC did.

The aarch64 pcie controller could both support Relaxed Ordering (RO)
and Stricted Ordering (SO), so enable ARCH_WANT_RELAX_ORDER for ixgbe
nic card to get much more better performance, and didn't see any
adverse effects.

Nic Card(Ixgbe)			Disable RO	|	Enable RO
Performance(Per thread)		8.4Gb/s		|	9.4Gb/s

Tested by Iperf on Hip06/Hip07 Soc Board.

Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
---
 arch/arm64/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 8c7c244..36249a3 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -115,6 +115,7 @@ config ARM64
 	select SPARSE_IRQ
 	select SYSCTL_EXCEPTION_TRACE
 	select THREAD_INFO_IN_TASK
+	select ARCH_WANT_RELAX_ORDER
 	help
 	  ARM 64-bit (AArch64) Linux support.

-- 
1.9.0

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

end of thread, other threads:[~2017-04-13  5:37 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-13 12:03 [PATCH] arm64: enable ARCH_WANT_RELAX_ORDER for aarch64 Ding Tianhong
2017-03-13 12:03 ` Ding Tianhong
2017-03-13 13:31 ` Robin Murphy
2017-03-13 13:31   ` Robin Murphy
2017-03-14 14:06   ` Ding Tianhong
2017-03-14 14:06     ` Ding Tianhong
2017-03-20 11:52     ` Will Deacon
2017-03-20 11:52       ` Will Deacon
2017-03-20 14:00     ` Robin Murphy
2017-03-20 14:00       ` Robin Murphy
2017-03-31 12:25       ` Ding Tianhong
2017-03-31 12:25         ` Ding Tianhong
2017-04-07 15:57       ` Gabriele Paoloni
2017-04-07 15:57         ` Gabriele Paoloni
2017-04-13  5:35         ` Ding Tianhong
2017-04-13  5:35           ` Ding Tianhong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.