summaryrefslogtreecommitdiff
path: root/benchmarks/wsim
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2020-05-19 17:17:52 +0100
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2020-06-19 16:37:11 +0100
commit41c74eed892e126742450c8b1a567f58909232e0 (patch)
tree366c118a7214baeb811d5e518db387b5a4599b23 /benchmarks/wsim
parent0c1c033c70d4083e395ce6d260ad364928ad9caf (diff)
gem_wsim: Support random buffer sizes
See README for more details. v2: * No need to mess with flags. (Chris) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks/wsim')
-rw-r--r--benchmarks/wsim/README4
1 files changed, 4 insertions, 0 deletions
diff --git a/benchmarks/wsim/README b/benchmarks/wsim/README
index 3d914322..8c71f2fe 100644
--- a/benchmarks/wsim/README
+++ b/benchmarks/wsim/README
@@ -307,11 +307,15 @@ For size a byte size can be given, or suffix 'k', 'm' or 'g' can be used (case
insensitive). Prefix in the format of "<int>n<size>" can also be given to create
multiple objects of the same size.
+Ranges can also be specified using the <min>-<max> syntax.
+
Examples:
w.1.4k - Working set 1 with a single 4KiB object in it.
W.2.2M/32768 - Working set 2 with one 2MiB and one 32768 byte object.
w.3.10n4k/2n20000 - Working set 3 with ten 4KiB and two 20000 byte objects.
+ w.4.4n4k-1m - Working set 4 with four objects of random size between 4KiB and
+ 1MiB.
Working set objects can be referenced as data dependency targets using the new
'r'/'w' syntax. Simple example: