summaryrefslogtreecommitdiff
path: root/benches/dio-randwrite
diff options
context:
space:
mode:
Diffstat (limited to 'benches/dio-randwrite')
-rwxr-xr-xbenches/dio-randwrite7
1 files changed, 5 insertions, 2 deletions
diff --git a/benches/dio-randwrite b/benches/dio-randwrite
index 4eaf7a2..7055f6f 100755
--- a/benches/dio-randwrite
+++ b/benches/dio-randwrite
@@ -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=60 \
--size=16G \
@@ -9,5 +12,5 @@ fio --group_reporting \
--iodepth=64 \
--rw=randwrite \
--blocksize=4k \
- --cpus_allowed=0 \
- --overwrite=1
+ --overwrite=1 \
+ --filename=test