Hi Jeff, Thanks for the response. That's the exact command I am using in the script to get sector size and multiply sector size with no. of sectors to get the size in Bytes. The size in Bytes is passed to the FIO in --size parameter I wasn't sure if FIO has an option to pass in the LBA count as parameter so that the above logic can be skipped Regards, Gnana On Wed, Jan 3, 2018 at 4:37 PM, Jeff Furlong <jeff.furlong@xxxxxxx> wrote: >> how will I arrive at block size of 4k > On Linux platforms, you may want to look at "blockdev --getss /dev/nvme0n1" to determine the sector size of your device. Various other blockdev options will report various other device parameters. > > Regards, > Jeff > -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html