summaryrefslogtreecommitdiff
path: root/benches/dio-randread
diff options
context:
space:
mode:
Diffstat (limited to 'benches/dio-randread')
-rwxr-xr-xbenches/dio-randread5
1 files changed, 4 insertions, 1 deletions
diff --git a/benches/dio-randread b/benches/dio-randread
index 05faed9..e9f62b0 100755
--- a/benches/dio-randread
+++ b/benches/dio-randread
@@ -1,5 +1,8 @@
#!/bin/bash
+dd if=/dev/zero of=test bs=16M count=1024 oflag=direct 2>/dev/null
+
+#perf record -a -F max -o /root/perf.data -- \
fio --group_reporting \
--runtime=210 \
--size=16G \
@@ -9,4 +12,4 @@ fio --group_reporting \
--iodepth=64 \
--rw=randread \
--blocksize=4k \
- --cpus_allowed=0
+ --filename=test