Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support advanced format drives, i.e. ashift=xx #111

Open
GoogleCodeExporter opened this issue Apr 2, 2015 · 1 comment
Open

Support advanced format drives, i.e. ashift=xx #111

GoogleCodeExporter opened this issue Apr 2, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Current large capacity hard disk tend to lie about their true physical sector 
size, claiming 512 byte sector while in fact using 4096 bytes.  This forces 
simple writes into expensive read-modify-write cycles, causing significant 
slowdown [1].

A technical clean solution (aside the drives stopping to lie) is difficult, as 
the blocksize should really be a per top-level vdev option, but that breaks the 
way properties are handled in ZFS.  While technically not fully correct, the 
approach taken by ZFSonLinux looks the least bad to me.  

I have started to port the ZFSonLinux approach to our much older code base.

[1] ZFSonLinux has performance data here: 
https://github.com/zfsonlinux/zfs/pull/280#issuecomment-1381910 

Original issue reported on code.google.com by [email protected] on 5 Aug 2012 at 8:19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant