Skip to contentSkip to conversation

Should minimum_io_size be adjustable (fake 512/4KB drives)?

DISCUSSION Markus Trippelsdorf 2 participants 2 messages Mar 4, 2011 libata

lore
Share & tools
lore
#0 lore raw

My new hard-drive (Seagate ST1500DL003) is a 4KB sector drive that unfortunately reports a "physical sector size" of 512 byte.

cat /sys/block/sda/queue/physical_block_size
512
cat /sys/block/sda/queue/logical_block_size
512
cat /sys/block/sda/queue/minimum_io_size
512

I have created my filesystems on it with "mkfs.xfs -s size=4096". Would there be any (performance) benefit if minimum_io_size could be adjusted to 4096 (by the administrator) in this case?

Signature · 1 line
Markus
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Markus" == Markus Trippelsdorf <[email protected]> writes:

Markus> Would there be any (performance) benefit if minimum_io_size Markus> could be adjusted to 4096 (by the administrator) in this case?

No. The topology information is only used at partitioning/mkfs time.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering