Hello members of the fio forum.
In fio man it says that:
blocksize=int[,int], bs=int[,int]
Block size for I/O units. Default: 4k. Values for reads and
writes can be specified separately in the format/read/,/write/,
either of which may be empty to leave that value at its default.
What exactly is blocksize, i.e. block size for I/O units?
I'm rather new in this world of data storages and file systems, I/O
schedulers, block layers, etc., and I'm rather confused with the block
size terminology.
Judging by wiki page on block devices and block sizes:
http://wiki.linuxquestions.org/wiki/Block_devices_and_block_sizes, what
FIO impacts over its block size parameter is File system block size,
right? I saw that people also give another name for file system block
size: "cluster size".
So, by default block size (File system block size) is 4k. And my
disk physical sector size (disk block size) is also 4k (and there is
another thing: Kernel block size, and I really don't know how this
impacts data transfer to and from my sda disk (with or without caching)
or I have some vague idea...). Let's say that I change my fio block size
to 1m. My disk block size is still 4k. What is really the difference
here now, what is changed? Can someone explain or point me to some
source? I know it's rather newbie question...
And, does IO depth depends on my SATA disk physical characteristics? Can
I go higher that IO depth = 32 if my disk returns:
root@linaro-gnome:~# hdparm -I /dev/sda | grep Queue
Queue depth: 32
* Native Command Queueing (NCQ)
Thanks,
Vojislav
--
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