From 13632f2414fc911a0e983bb5d5eb644a7c11a1fe Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 13 May 2019 16:10:23 +0100 Subject: benchmarks/gem_wsim: Perturb static_vcs selection across clients Use the client id to alternate the static_vcs balancer (-b context) across clients with the round robin flag (-R) - otherwise all clients end up on vcs0 and do not match the context balancing employed by media-driver. v2: Put it behind the -R flag. v3: Don't skip -R flag for -b context in scripts/media-bench.pl Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Reviewed-by: Tvrtko Ursulin --- scripts/media-bench.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/media-bench.pl b/scripts/media-bench.pl index 066b542f..f1cd59a2 100755 --- a/scripts/media-bench.pl +++ b/scripts/media-bench.pl @@ -52,7 +52,7 @@ my @balancers = ( 'rr', 'rand', 'qd', 'qdr', 'qdavg', 'rt', 'rtr', 'rtavg', 'context', 'busy', 'busy-avg' ); my %bal_skip_H = ( 'rr' => 1, 'rand' => 1, 'context' => 1, , 'busy' => 1, 'busy-avg' => 1 ); -my %bal_skip_R = ( 'context' => 1 ); +my %bal_skip_R = (); my @workloads = ( 'media_load_balance_17i7.wsim', -- cgit v1.2.3