[PATCH v2 0/3] powerpc/powernv/npu: Improve ATSD invalidation overhead
Mark Hairgrove
mhairgrove at nvidia.com
Thu Oct 4 04:51:31 AEST 2018
When ATS is used in a process, all CPU TLB invalidates in that process
also trigger ATSD invalidates via mmu_notifiers. This additional overhead
is noticeable in applications which do heavy memory allocation or page
migration among nodes, particularly to and from GPUs.
This patch set reduces that overhead by rearranging how the ATSDs are
issued and by using size-based ATSD invalidates.
Mark Hairgrove (3):
powerpc/powernv/npu: Reduce eieio usage when issuing ATSD invalidates
powerpc/powernv/npu: Use size-based ATSD invalidates
powerpc/powernv/npu: Remove atsd_threshold debugfs setting
arch/powerpc/platforms/powernv/npu-dma.c | 198 ++++++++++++++----------------
1 files changed, 94 insertions(+), 104 deletions(-)
--
1.7.2.5
More information about the Linuxppc-dev
mailing list