512 vs 4k block size

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Myth

Member
Feb 27, 2018
148
7
18
Los Angeles
Hey Guys,

I'm a SAN server administrator and we work in media rich files. I'm just wondering what the difference is between 512 vs 4k block size. It seems that I can buy HDD's from seagate with these two options. Which do you guys think would work best for streaming media to multiple computers and why? I'd appreciate your help.

Best,
Myth
 

i386

Well-Known Member
Mar 18, 2016
4,244
1,546
113
34
Germany
The main difference is efficiency, 4k blocks store more data and use "better" crc than 512b blocks*.
According to some papers from dell 4k storage devices would perform better in most benchmarks as 4k is the default block size in most file systems and would cause more overhead (+ increase latency) on 512b devices.

*512 byte blocksizes were used in professional hdds since the 1950's (and early 80's in consumer hdds).

More information about 4k: Advanced Format - Wikipedia
 

Evan

Well-Known Member
Jan 6, 2016
3,346
598
113
If you want to add them to the SAN you administer then you should check carefully if it supports what... may even need 518 or 520 byte block as some SAN use the extra for error correction etc.

Some OS’s like ESX want 512k blocks. (By that I mean 512n not even 512e)