From 9024a72d29150f05e2ad62aa088d19a662bbf815 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 30 Oct 2015 15:01:33 +0000 Subject: 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 --- benchmarks/.gitignore | 1 + 1 file changed, 1 insertion(+) (limited to 'benchmarks/.gitignore') diff --git a/benchmarks/.gitignore b/benchmarks/.gitignore index 3937d46b..67afa18c 100644 --- a/benchmarks/.gitignore +++ b/benchmarks/.gitignore @@ -7,6 +7,7 @@ gem_exec_trace gem_mmap gem_prw gem_userptr_benchmark +gem_wait intel_upload_blit_large intel_upload_blit_large_gtt intel_upload_blit_large_map -- cgit v1.2.3