Skip to content

Enhance SVM stats

Matthew Brost intel-xe 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest2 patches 1 replyIn review
  2. v62 patches 0 repliesSuperseded
  3. v52 patches 4 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v42 patches3 repliesSuperseded
v32 patches5 repliesSuperseded
v22 patches2 repliesSuperseded
v12 patches0 repliesSuperseded

Changes in v7 from the cover letter

- Add macro to define stats strings (Michal)

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe: Add clearing stats to GT debugfsdrivers/gpu/drm/xe/xe_gt_debugfs.c drivers/gpu/drm/xe/xe_gt_stats.c drivers/gpu/drm/xe/xe_gt_stats.h+34 -11 reply
2/2drm/xe: Add more SVM GT statsdrivers/gpu/drm/xe/xe_gt_stats.c drivers/gpu/drm/xe/xe_gt_stats_types.h drivers/gpu/drm/xe/xe_svm.c+257 -130 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchFrancois DugastMichal Wajdeczko
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 0/2] Enhance SVM stats

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
v6:
- Rebase
- Address Michal's comments
v7:
- Add macro to define stats strings (Michal)

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     |  20 ++-
 drivers/gpu/drm/xe/xe_gt_stats.c       |  57 +++++++-
 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            | 194 +++++++++++++++++++++++--
 5 files changed, 291 insertions(+), 14 deletions(-)
Signature · 1 line
2.34.1