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

ZIL: Reduce maximum size of WR_COPIED to 7.5KB #15353

Merged
merged 1 commit into from
Oct 6, 2023

Commits on Oct 4, 2023

  1. ZIL: Reduce maximum size of WR_COPIED to 7.5KB

    Benchmarks show that at certain write sizes range lock/unlock take
    not so much time as extra memory copy.  The exact threshold is not
    obvious due to other overheads, but it is definitely lower than
    ~63KB used before.  Make it configurable, defaulting at 7.5KB,
    that is 8KB of nearest malloc() size minus itx and lr structs.
    
    Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
    Sponsored by:	iXsystems, Inc.
    amotin committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    23daafe View commit details
    Browse the repository at this point in the history