Skip to contentSkip to conversation

intel_gpu_mon: continous CPU, GPU and power monitoring tool.

PATCH In review Eugeni Dodonov 2 participants 3 messages Sep 5, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 intel_gpu_mon: continous CPU, GPU and power monitoring tool.

From: Eugeni Dodonov <[email protected]>

This tool is based on ideas from intel_gpu_top, top and powertop applications, combining them into one continous profiler which generates human-readable output further processable by gnuplot and similar applications.

It can be used either in continuous monitoring way (e.g., like top and powertop, it will run until stopped), or could be used to execute and profile specific applications with parameters.

Sample execution:
CAIRO_TEST_TARGET=gl intel_gpu_mon -s 100 -o cairo_perf_trace.log \
-b BAT0 "cairo-perf-trace gvim"
Profiling: /home/eugeni/intel/src/cairo/perf/cairo-perf-trace /tmp/gvim
time user% sys% volts render% ops bits% ops ...

 1.00	26.63	1.01	0	  4	7	  0	0	...
 2.00	25.12	1.23	0	  0	0	  0	0	...
 3.01	25.88	0.50	0	  7	14	  0	0	...

...

---
 tools/Makefile.am     |    1 +
 tools/intel_gpu_mon.c |  582 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 583 insertions(+), 0 deletions(-)
tools/Makefile.am +1 -0
index 86fafd7..5057495 100644
@@ -5,6 +5,7 @@ bin_PROGRAMS = \
 	intel_bios_dumper \
 	intel_bios_reader \
 	intel_error_decode \
+	intel_gpu_mon \
 	intel_gpu_top \
 	intel_gpu_time \
 	intel_gtt \
tools/intel_gpu_mon.c new file +582 -0

582 lines not on this page · raw message

Signature · 6 lines
1.7.6.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw
Quoted 10 lines · Eugeni Dodonov

From: Eugeni Dodonov <[email protected]>

This tool is based on ideas from intel_gpu_top, top and powertop applications, combining them into one continous profiler which generates human-readable output further processable by gnuplot and similar applications.

It can be used either in continuous monitoring way (e.g., like top and powertop, it will run until stopped), or could be used to execute and profile specific applications with parameters.

Ok, this looks like a useful extension to intel_gpu_top (until the day arrives when we have a real, integrated profiler!). I don't see the need for a separate utility with lots of code duplicated just for a couple of extra features. Care to respin as a patch against intel_gpu_top? (I want to resist the temptation of making a second perf... especially as I'd like to make all this information available through perf!) -Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
#2 lore raw
Quoted 13 lines · Chris Wilson
Quoted 10 lines · Eugeni Dodonov

From: Eugeni Dodonov <[email protected]>

This tool is based on ideas from intel_gpu_top, top and powertop applications, combining them into one continous profiler which generates human-readable output further processable by gnuplot and similar applications.

It can be used either in continuous monitoring way (e.g., like top and powertop, it will run until stopped), or could be used to execute and profile specific applications with parameters.

Quoted 7 lines

Ok, this looks like a useful extension to intel_gpu_top (until the day arrives when we have a real, integrated profiler!). I don't see the need for a separate utility with lots of code duplicated just for a couple of extra features. Care to respin as a patch against intel_gpu_top? (I want to resist the temptation of making a second perf... especially as I'd like to make all this information available through perf!)

Sure, will do.

Signature · 1 line
Eugeni Dodonov <http://eugeni.dodonov.net/>

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx