]> git.hungrycats.org Git - bees/commit
context: add experimental code for avoiding tiny extents
authorZygo Blaxell <bees@furryterror.org>
Thu, 9 Sep 2021 16:47:02 +0000 (12:47 -0400)
committerZygo Blaxell <bees@furryterror.org>
Tue, 30 Nov 2021 02:27:48 +0000 (21:27 -0500)
commit11fabd66a84b6631fb39bb6b2c066c689351fc26
tree4faa085953ffdfce0ecd60773ceffd3f1c4d34cd
parenta60c53a9e103b9ec28796bc127cdb86a35f5215c
context: add experimental code for avoiding tiny extents

In the current architecture we can't directly measure the physical extent
size, and we can't make good decisions with the extent data (reference)
item alone.  If the early return is enabled here, there is a small speedup
and a large drop in dedupe hit rate, especially when extent splits occur.

Leave the early return commented for now, but collect the event statistics.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
docs/event-counters.md
src/bees-context.cc