All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] Enhance SVM stats
@ 2025-08-27 18:43 Matthew Brost
  2025-08-27 18:43 ` [PATCH v5 1/2] drm/xe: Add clearing stats to GT debugfs Matthew Brost
  2025-08-27 18:43 ` [PATCH v5 2/2] drm/xe: Add more SVM GT stats Matthew Brost
  0 siblings, 2 replies; 7+ messages in thread
From: Matthew Brost @ 2025-08-27 18:43 UTC (permalink / raw)
  To: intel-xe

Add ability to clear GT stats and add more SVM stats for profiling.
Scripts should be able to be built on top of stats to breakdown time
spent in parts of the SVM page fault handler, bandwidth of copy engine,
etc... Will help showing concrete performance improvements when
implementing SVM optimizations.

Open suggestions of more stats. Prefetch not considered - can be done in
a follow up.

Scritpt to parse stats for reference: https://pastebin.com/rZZN5sgh

v2:
 - Include local changes missed in first rev
v3:
 - More stats after putting together script to parse
v4:
 - Rebase
v5:
 - Rebase
 - Drop clear_stats entry

Matthew Brost (2):
  drm/xe: Add clearing stats to GT debugfs
  drm/xe: Add more SVM GT stats

 drivers/gpu/drm/xe/xe_gt_debugfs.c     |  25 +++-
 drivers/gpu/drm/xe/xe_gt_stats.c       |  47 ++++++
 drivers/gpu/drm/xe/xe_gt_stats.h       |   1 +
 drivers/gpu/drm/xe/xe_gt_stats_types.h |  33 +++++
 drivers/gpu/drm/xe/xe_svm.c            | 196 +++++++++++++++++++++++--
 5 files changed, 292 insertions(+), 10 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-08-27 20:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-27 18:43 [PATCH v5 0/2] Enhance SVM stats Matthew Brost
2025-08-27 18:43 ` [PATCH v5 1/2] drm/xe: Add clearing stats to GT debugfs Matthew Brost
2025-08-27 19:02   ` Michal Wajdeczko
2025-08-27 19:14     ` Matthew Brost
2025-08-27 18:43 ` [PATCH v5 2/2] drm/xe: Add more SVM GT stats Matthew Brost
2025-08-27 19:15   ` Michal Wajdeczko
2025-08-27 20:17     ` Matthew Brost

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.