Skip to content

Support recordsize that's a multiple of 4k but not a power of two. #17419

Open
@strigeus

Description

@strigeus

Describe the feature would like to see added to OpenZFS

Support recordsize that's a multiple of 4k but not a power of two.

How will this feature improve OpenZFS?

When using raidz2 with a suboptimal number of disks using a smallish recordsize such as 128k the lost space due to raidz2 block padding could become 5-10%, especially noticable when storing relatively large uncompressible files.

If we could set recordsize to an optimal number (say 120k or 144k depending on the # of disks), the raidz2 padding overhead would become close to 0%.

Additional context

Obviously it should only be enabled on datasets where the possible performance penalty due to non power of 2 recordsize is low.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: FeatureFeature request or new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions