All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/2] Workload simulation and tracing
@ 2017-03-31 14:58 Tvrtko Ursulin
  2017-03-31 14:58 ` [PATCH i-g-t 1/2] benchmarks/gem_wsim: Command submission workload simulator Tvrtko Ursulin
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Tvrtko Ursulin @ 2017-03-31 14:58 UTC (permalink / raw)
  To: Intel-gfx

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

Another WIP posting with some interopability improvements this time.

Example usage:

root@scnuc:~/intel-gpu-tools# benchmarks/gem_wsim
Calibrating nop delay with 1% tolerance...
Nop calibration for 1000us delay is 438660.
root@scnuc:~/intel-gpu-tools# scripts/trace.pl --trace benchmarks/gem_wsim -n 438660 -r 600 -w benchmarks/wsim/workload1 -c 2 -x
Using 438660 nop calibration for 1000us delay.
2 clients.
Swapping VCS rings between clients.
0: 10.222053s elapsed (58.696622 workloads/s)
1: 10.225807s elapsed (58.675078 workloads/s)
10.226307s elapsed (117.344411 workloads/s)
[ perf record: Woken up 16 times to write data ]
[ perf record: Captured and wrote 3.929 MB perf.data (44688 samples) ]
root@scnuc:~/intel-gpu-tools# perf script | scripts/trace.pl -i 1 -i 4
Ring0: 4832 batches, 4329.07 (4348.11) avg batch us, 0.15% idle, 138.73% busy, 23.88% runnable, 79.66% queued, 0.01% wait)
Ring2: 1808 batches, 1715.68 (1719.99) avg batch us, 69.68% idle, 30.38% busy, 0.12% runnable, 112.04% queued, 99.32% wait)
Ring3: 1810 batches, 1727.59 (1739.31) avg batch us, 69.28% idle, 30.75% busy, 0.11% runnable, 105.37% queued, 99.46% wait)

Most interesting metric here is the engine idle time which will come into play
as I start adding the load balancing options to gem_wsim.

Secondary mode here would be:

root@scnuc:~/intel-gpu-tools# perf script | scripts/trace.pl -i 1 -i 4 --html >graph.html

This would enable a timeline of GPU request execution to be viewed with a little
bit of local setup as described in the trace.pl help text.

Tvrtko Ursulin (2):
  benchmarks/gem_wsim: Command submission workload simulator
  igt/scripts: trace.pl to parse the i915 tracepoints

 benchmarks/Makefile.sources |   1 +
 benchmarks/gem_wsim.c       | 593 +++++++++++++++++++++++++++
 benchmarks/wsim/workload1   |   7 +
 scripts/Makefile.am         |   2 +-
 scripts/trace.pl            | 946 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 1548 insertions(+), 1 deletion(-)
 create mode 100644 benchmarks/gem_wsim.c
 create mode 100644 benchmarks/wsim/workload1
 create mode 100755 scripts/trace.pl

-- 
2.9.3

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

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2017-04-25 12:31 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-31 14:58 [PATCH i-g-t 0/2] Workload simulation and tracing Tvrtko Ursulin
2017-03-31 14:58 ` [PATCH i-g-t 1/2] benchmarks/gem_wsim: Command submission workload simulator Tvrtko Ursulin
2017-03-31 15:19   ` Chris Wilson
2017-04-05 16:14   ` [PATCH i-g-t v3] " Tvrtko Ursulin
2017-04-05 16:48     ` Chris Wilson
2017-04-06  8:18       ` Tvrtko Ursulin
2017-04-06  8:55         ` Chris Wilson
2017-04-07  8:53           ` Tvrtko Ursulin
2017-04-07  9:51             ` Chris Wilson
2017-04-20 12:29   ` [PATCH i-g-t v4] " Tvrtko Ursulin
2017-04-20 14:23     ` Chris Wilson
2017-04-20 14:33       ` Chris Wilson
2017-04-20 14:45         ` Tvrtko Ursulin
2017-04-20 14:34       ` Tvrtko Ursulin
2017-04-20 15:11         ` Chris Wilson
2017-04-20 14:52     ` Chris Wilson
2017-04-20 15:06       ` Tvrtko Ursulin
2017-04-20 16:20     ` Chris Wilson
2017-04-21 15:21     ` [PATCH i-g-t v5] " Tvrtko Ursulin
2017-04-25 11:13       ` [PATCH i-g-t v6] " Tvrtko Ursulin
2017-04-25 11:35         ` Chris Wilson
2017-04-25 12:10           ` Tvrtko Ursulin
2017-04-25 12:25             ` Chris Wilson
2017-04-25 12:31               ` Chris Wilson
2017-03-31 14:58 ` [PATCH i-g-t 2/2] igt/scripts: trace.pl to parse the i915 tracepoints Tvrtko Ursulin
2017-04-24 14:42 ` [PATCH i-g-t v4] " Tvrtko Ursulin

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.