From 635d2d04b008324f6499951575d5ef9d9b2f1f38 Mon Sep 17 00:00:00 2001 From: Tvrtko Ursulin Date: Wed, 17 May 2017 13:10:18 +0100 Subject: media-bench: Simplify combined scoring I am failing to come up with a smart formula which would have a little bit of an exponential component and take into consideration both total thtoughput and single client performance. Simply adding the two scores together might work better than any complications. Signed-off-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 ea0e0ed8..a5a5b84e 100755 --- a/scripts/media-bench.pl +++ b/scripts/media-bench.pl @@ -383,7 +383,7 @@ foreach my $wrk (@workloads) { if ($realtime_target > 0 || $wps_target > 0) { $mwps{$bid} = $w * $c; } else { - $mwps{$bid} = $w * $w / $s + $s; + $mwps{$bid} = $w + $s; } say "$c clients ($w wps, $s wps single client, score=$mwps{$bid})."; -- cgit v1.2.3