linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] powerpc/powernv/npu: Improve ATSD invalidation overhead
@ 2018-10-03 18:51 Mark Hairgrove
  2018-10-03 18:51 ` [PATCH v2 1/3] powerpc/powernv/npu: Reduce eieio usage when issuing ATSD invalidates Mark Hairgrove
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mark Hairgrove @ 2018-10-03 18:51 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Alistair Popple, Mark Hairgrove, Reza Arbab

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


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

end of thread, other threads:[~2018-10-11  8:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-03 18:51 [PATCH v2 0/3] powerpc/powernv/npu: Improve ATSD invalidation overhead Mark Hairgrove
2018-10-03 18:51 ` [PATCH v2 1/3] powerpc/powernv/npu: Reduce eieio usage when issuing ATSD invalidates Mark Hairgrove
2018-10-04  5:20   ` Alistair Popple
2018-10-11  8:35   ` [v2, " Michael Ellerman
2018-10-03 18:51 ` [PATCH v2 2/3] powerpc/powernv/npu: Use size-based " Mark Hairgrove
2018-10-04  5:20   ` Alistair Popple
2018-10-03 18:51 ` [PATCH v2 3/3] powerpc/powernv/npu: Remove atsd_threshold debugfs setting Mark Hairgrove
2018-10-04  5:21   ` Alistair Popple

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).