From: Matthew Brost <matthew.brost@intel.com>
To: intel-xe@lists.freedesktop.org
Subject: [PATCH v5 0/2] Enhance SVM stats
Date: Wed, 27 Aug 2025 11:43:50 -0700 [thread overview]
Message-ID: <20250827184352.175550-1-matthew.brost@intel.com> (raw)
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
next reply other threads:[~2025-08-27 18:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-27 18:43 Matthew Brost [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250827184352.175550-1-matthew.brost@intel.com \
--to=matthew.brost@intel.com \
--cc=intel-xe@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.