[RFC i-g-t 0/3] New intel-gpu-top

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>

I've found a new potential lead vehicle to sell my per-client engine busyness
patches and that is a rewrite of intel-gpu-top.

Old one is neglected and dangerous - so how about a new one which looks like
this?

intel-gpu-top - load avg  9.47,  3.34,  0.13; 1000/ 950 MHz;    0% RC6;   5202mW;     1206 irqs/s

    rcs0 100.00% ( 0.56/ 4.78/ 3.86) |██████████████████████████████████████████████████████████████████|  0.00% wait,   0.00% sema
    bcs0  17.72% ( 0.81/ 0.00/ 0.17) |███████████▋                                                      |  0.00% wait,   0.00% sema
    vcs0  61.08% ( 0.81/ 0.00/ 0.63) |████████████████████████████████████████▎                         |  0.00% wait,   0.00% sema
   vecs0   0.00% ( 0.00/ 0.00/ 0.00) |                                                                  |  0.00% wait,   0.00% sema

  PID            NAME           rcs0                       bcs0                       vcs0                       vecs0
 9654       neverball |████████████             ||                         ||                         ||                         |
 7792            Xorg |████████▊                ||                         ||                         ||                         |
 9659        gem_wsim |████                     ||████▍                    ||███████████████▎         ||                         |
 7846           xfwm4 |                         ||                         ||                         ||                         |

So this series renames the old one to intel_legacy_top and replaces it with a
new one which uses PMU and some extra patches as well.

Code is not production quality but an attempt to spark some interest on the
topic.

Tvrtko Ursulin (3):
  intel-gpu-top: Rename to intel-legacy-top
  intel-gpu-top: New version using PMU
  intel-gpu-top: Support for client stats

 tools/.gitignore         |    1 +
 tools/Makefile.am        |    2 +
 tools/Makefile.sources   |    1 +
 tools/intel_gpu_top.c    | 1311 +++++++++++++++++++++++++---------------------
 tools/intel_legacy_top.c |  718 +++++++++++++++++++++++++
 tools/meson.build        |    3 +-
 6 files changed, 1446 insertions(+), 590 deletions(-)
 create mode 100644 tools/intel_legacy_top.c

-- 
2.14.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux