Skip to content

Commit

Permalink
fio: avoid overwrite/fallocate
Browse files Browse the repository at this point in the history
overwrite is too much time consuming.
fallocate is rather slow on ext3.
  • Loading branch information
Wu Fengguang committed Dec 8, 2011
1 parent 095dcca commit 4531890
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions fio_fat_mmap_randwrite_4k
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ bs=4k
numjobs=1
loops=1
create_sparse=1
fallocate=0
overwrite=0
group_reporting
invalidate=0
Expand Down
4 changes: 2 additions & 2 deletions fio_fat_mmap_randwrite_64k
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ size=10G
bs=64k
ioengine=mmap
rw=randwrite
fallocate=1
directory=/fs
# create_sparse=1
create_sparse=1
fallocate=0
overwrite=0
end_fsync=1

Expand Down

0 comments on commit 4531890

Please sign in to comment.