Unique block count

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am looking to count the number of unique blocks written by fio.
Could you advise on the best approach to do this? Is it possible?

I see that one approach might be to set random_generator to lfsr,
which guarantees that no offset will be generated twice. If this
guarantee holds, then I could calculate the number of blocks by the
io_bytes reported at the end of the fio job.

> LFSR guarantees that we never generate the same offset twice, and it's also less computationally expensive.

Older docs also mention that the 'block number' is stored in the
header information. I'm not sure what this would be in the header
struct, because the closes I found as verify_header>numberio, but that
seems to just be the I/O issuance number?

> meta
> Write extra information about each I/O (timestamp, block number, etc.). The block number is verified. See verify_pattern as well.

Thanks!



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux