summaryrefslogtreecommitdiff
path: root/benchmarks/Makefile.sources
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-10-30 15:01:33 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2015-10-30 15:04:55 +0000
commit9024a72d29150f05e2ad62aa088d19a662bbf815 (patch)
tree5dbca8425f4816d990bfec298d4fee99bded0ddb /benchmarks/Makefile.sources
parentfe548fab0a63f95b729f0df4137753212e75375e (diff)
benchmark/gem_wait: poc for benchmarking i915_wait_request overhead
One scenario under recent discussion is that of having a thundering herd in i915_wait_request - where the overhead of waking up every waiter for every batchbuffer was significantly impacting customer throughput. This benchmark tries to replicate something to that effect by having a large number of consumers generating a busy load (a large copy followed by lots of small copies to generate lots of interrupts) and tries to wait upon all the consumers concurrenctly (to reproduce the thundering herd effect). To measure the overhead, we have a bunch of cpu hogs - less kernel overhead in waiting should allow more CPU throughput. 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 94e0ea34..453f2234 100644
--- a/benchmarks/Makefile.sources
+++ b/benchmarks/Makefile.sources
@@ -14,5 +14,6 @@ benchmarks_PROGRAMS = \
gem_mmap \
gem_prw \
gem_userptr_benchmark \
+ gem_wait \
kms_vblank \
$(NULL)