Skip to content

Unexpectedly low special vdev usage with special_small_blocks #16852

Answered by amotin
intelfx asked this question in Q&A
Discussion options

You must be logged in to vote

As I can see from int bin = highbit64(BP_GET_PSIZE(bp)) - 1, the histograms in zdb are rounding block sizes down to the nearest power of 2. So the bins for 128K actually include blocks with size 128K <= size < 256K. Same time special_small_blocks=128K really means size <= 128KB. May be the rounding in zdb could benefit from a closer look.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@intelfx
Comment options

@amotin
Comment options

amotin Dec 13, 2024
Collaborator

Answer selected by intelfx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants