public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Tvrtko Ursulin <tursulin@ursulin.net>
To: Intel-gfx@lists.freedesktop.org
Subject: [RFC i-g-t 0/3] New intel-gpu-top
Date: Wed, 14 Feb 2018 18:52:04 +0000	[thread overview]
Message-ID: <20180214185207.8111-1-tvrtko.ursulin@linux.intel.com> (raw)

From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2018-02-14 18:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-14 18:52 Tvrtko Ursulin [this message]
2018-02-14 18:52 ` [RFC i-g-t 1/3] intel-gpu-top: Rename to intel-legacy-top Tvrtko Ursulin
2018-02-15  9:10   ` Petri Latvala
2018-02-15  9:17     ` Chris Wilson
2018-02-15  9:57     ` Tvrtko Ursulin
2018-02-15 10:05       ` Chris Wilson
2018-02-14 18:52 ` [RFC i-g-t 2/3] intel-gpu-top: New version using PMU Tvrtko Ursulin
2018-02-14 18:52 ` [RFC i-g-t 3/3] intel-gpu-top: Support for client stats Tvrtko Ursulin
2018-02-14 19:30 ` ✓ Fi.CI.BAT: success for New intel-gpu-top Patchwork

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=20180214185207.8111-1-tvrtko.ursulin@linux.intel.com \
    --to=tursulin@ursulin.net \
    --cc=Intel-gfx@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox