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

volblocksize and 4kn dirves #91

Closed
oetiker opened this issue Apr 11, 2016 · 1 comment
Closed

volblocksize and 4kn dirves #91

oetiker opened this issue Apr 11, 2016 · 1 comment
Assignees

Comments

@oetiker
Copy link
Collaborator

oetiker commented Apr 11, 2016

Having volumes with 8k volblocksize on 4k drives is rather inefficient. It can lead to up to 50% space loss ... since blocks are compressed, they will always be less than 8k but often more then 4k ... with 4k drives the allocation size is 4k.

We found (not excessively tested) that things look much better with 128k volblock size for such volumes. Space use is similar to the 8k volblocks on 512 disk blocks ...

There will probably be a performance penalty for small read/writes ... but we also found the large reads at least are up to twice as fast as with 8k volblocks (probably due to the lower amount of wasted space)

see also openzfs/zfs/issues/548

@oetiker oetiker changed the title volumeblocksize and 4kn dirves volblocksize and 4kn dirves Apr 11, 2016
@hadfl hadfl self-assigned this Apr 18, 2016
@hadfl
Copy link
Owner

hadfl commented May 6, 2016

--> #92

@hadfl hadfl closed this as completed May 6, 2016
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

2 participants