All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] arm64: tlb: add support for TLBI RANGE instructions
@ 2020-07-09  9:10 ` Zhenyu Ye
  0 siblings, 0 replies; 18+ messages in thread
From: Zhenyu Ye @ 2020-07-09  9:10 UTC (permalink / raw)
  To: catalin.marinas, will, suzuki.poulose, maz, steven.price,
	guohanjun, olof
  Cc: yezhenyu2, linux-arm-kernel, linux-kernel, linux-arch, linux-mm,
	arm, xiexiangyou, prime.zeng, zhangshaokun, kuhn.chenqun

NOTICE: this series are based on the arm64 for-next/tlbi branch:
git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/tlbi

--
ARMv8.4-TLBI provides TLBI invalidation instruction that apply to a
range of input addresses. This series add support for this feature.

I tested this feature on a FPGA machine whose cpus support the tlbi range.
As the page num increases, the performance is improved significantly. When
page num = 256, the performance is improved by about 10 times.

Below is the test data when the stride = PTE:

	[page num]	[classic]		[tlbi range]
	1		16051			13524
	2		11366			11146
	3		11582			12171
	4		11694			11101
	5		12138			12267
	6		12290			11105
	7		12400			12002
	8		12837			11097
	9		14791			12140
	10		15461			11087
	16		18233			11094
	32		26983			11079
	64		43840			11092
	128		77754			11098
	256		145514			11089
	512		280932			11111

See more details in:

https://lore.kernel.org/linux-arm-kernel/504c7588-97e5-e014-fca0-c5511ae0d256@huawei.com/

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

end of thread, other threads:[~2020-07-10  6:09 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-09  9:10 [PATCH v1 0/2] arm64: tlb: add support for TLBI RANGE instructions Zhenyu Ye
2020-07-09  9:10 ` Zhenyu Ye
2020-07-09  9:10 ` Zhenyu Ye
2020-07-09  9:10 ` Zhenyu Ye
2020-07-09  9:10 ` [PATCH v1 1/2] arm64: tlb: Detect the ARMv8.4 TLBI RANGE feature Zhenyu Ye
2020-07-09  9:10   ` Zhenyu Ye
2020-07-09  9:10   ` Zhenyu Ye
2020-07-09  9:10 ` [PATCH v1 2/2] arm64: tlb: Use the TLBI RANGE feature in arm64 Zhenyu Ye
2020-07-09  9:10   ` Zhenyu Ye
2020-07-09  9:10   ` Zhenyu Ye
2020-07-09  9:14   ` Zhenyu Ye
2020-07-09  9:14     ` Zhenyu Ye
2020-07-09  9:14     ` Zhenyu Ye
2020-07-09 17:36   ` Catalin Marinas
2020-07-09 17:36     ` Catalin Marinas
2020-07-10  6:07     ` Zhenyu Ye
2020-07-10  6:07       ` Zhenyu Ye
2020-07-10  6:07       ` Zhenyu Ye

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.