Sample Header Ad - 728x90

How does the --bsize option in fio work?

0 votes
1 answer
438 views
Since fio is a benchmarking tool that for each run, should simulate a real I/O workload, how does the --bsize option fit with that? My understanding is that the filesystem has a set block size for which an application issuing a read/write operation has to use? The app wants to read let's say 256KiB of data. If the filesystem uses a block size of 4KiB then that would be broken down into 64 blocks. If I were to use fio to simulate this, but set the bsize to 256KiB, would that have any effect on the read operation? The filesystem wouldn't write 1 block but still 64 blocks, correct?
Asked by Macondoman (1 rep)
Aug 19, 2022, 05:28 PM
Last activity: Aug 19, 2022, 06:37 PM