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

Increase default volblocksize from 8KB to 16KB. #12406

Merged
merged 1 commit into from
Aug 17, 2021

Commits on Jul 26, 2021

  1. Increase default volblocksize from 8KB to 16KB.

    Many things has changed since previous default was set many years ago.
    Nowadays 8KB does not allow adequate compression or even decent space
    efficiency on many of pools due to 4KB disk physical block rounding,
    especially on RAIDZ and DRAID.  It effectively limits write throughput
    to only 2-3GB/s (250-350K blocks/s) due to sync thread, allocation,
    vdev queue and other block rate bottlenecks.  It keeps L2ARC expensive
    despite many optimizations and dedup just unrealistic.
    
    In FreeNAS/TrueNAS we for years default to at least 16KB volblocksize
    for mirror pools and even bigger (32-64KB) for RAIDZ, and so far we
    can find very few scenarios (not synthetic benchmarks) when smaller
    blocks would show sufficient benefits.
    
    Signed-off-by: Alexander Motin <mav@FreeBSD.org>
    amotin committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    383cedd View commit details
    Browse the repository at this point in the history