Skip to contentSkip to conversation

4k sector sizes

DISCUSSION Walter R. Fletcher 2 participants 2 messages Feb 26, 2010

lore
Share & tools
lore
#0 lore raw

Western Digital has announced hard drives that will have 4K sized sectors instead of 512 bytes. I'm sure other manufacturers will do so too...

I wonder about potential effects on performance one might see re: xfs with a 4k block size and the WD hard drives with the 4k sectors. Is this a valid question?

Just a curious (xfs-using) fly on the wall...

__Reid__

Reid Fletcher
Chief Engineer, Wyoming Public Radio
University of Wyoming
Laramie, WY

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 10 lines · Walter R. Fletcher

Western Digital has announced hard drives that will have 4K sized sectors instead of 512 bytes. I'm sure other manufacturers will do so too...

I wonder about potential effects on performance one might see re: xfs with a 4k block size and the WD hard drives with the 4k sectors. Is this a valid question?

Just a curious (xfs-using) fly on the wall...

Totally valid question; by and large, XFS should detect this and cope just fine. There may be one hole where if you manually specify a block size < 4k at mkfs time, it will continue without complaint, when in fact this may be sub-optimal for the drive.

A lot of work has been done upstream and in Fedora, at least, to be sure that partitioning and mkfs tools can and do query the block device for this (and other) information, to be sure that the results are well-aligned and efficient.

Recent userspace & kernel is needed for all this to work nicely together, though.

-Eric

Quoted 6 lines

__Reid__

Reid Fletcher
Chief Engineer, Wyoming Public Radio
University of Wyoming
Laramie, WY

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs