mirror of
https://github.com/Zygo/bees.git
synced 2025-05-18 13:55:44 +02:00
Perf was blaming more than 50% of cycles on TREE_SEARCH_V2. strace showed 4 TREE_SEARCH_V2 calls for every pread in grow_backward(). Fix by increasing the extent fetch batch size so it is more likely to include the desired items in the first fetch attempt. This removes TREE_SEARCH_V2 from the top 10 list of cycle consumers. Signed-off-by: Zygo Blaxell <bees@furryterror.org>