summaryrefslogtreecommitdiff
path: root/benchmarks/Makefile.sources
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-12-18 14:45:03 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2015-12-19 01:30:57 +0000
commitc9da0b5221cfd7dd2f22bbc5bcddf73d31214e2e (patch)
tree832d8a61211d1732d8ee4415aa3ab106e748c166 /benchmarks/Makefile.sources
parent8bf09f3d12f5a8d984f084f116b195925dca571b (diff)
benchmark: Measure of latency of producers -> consumers, gem_latency
The goal is measure how long it takes for clients waiting on results to wakeup after a buffer completes, and in doing so ensure scalibilty of the kernel to large number of clients. We spawn a number of producers. Each producer submits a busyload to the system and records in the GPU the BCS timestamp of when the batch completes. Then each producer spawns a number of waiters, who wait upon the batch completion and measure the current BCS timestamp register and compare against the recorded value. By varying the number of producers and consumers, we can study different aspects of the design, in particular how many wakeups the kernel does for each interrupt (end of batch). The more wakeups on each batch, the longer it takes for any one client to finish. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks/Makefile.sources')
-rw-r--r--benchmarks/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmarks/Makefile.sources b/benchmarks/Makefile.sources
index fd811955..55c8fde3 100644
--- a/benchmarks/Makefile.sources
+++ b/benchmarks/Makefile.sources
@@ -11,6 +11,7 @@ benchmarks_PROGRAMS = \
gem_exec_nop \
gem_exec_reloc \
gem_exec_trace \
+ gem_latency \
gem_mmap \
gem_prw \
gem_set_domain \