1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 13:25:45 +02:00

scan_one_extent: remove the unreadahead after benchmark results

That unreadahead used to result in a 10% hit on benchmarks.  Now it's
closer to 75%.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell 2024-11-29 19:22:53 -05:00
parent 8f92b1dacc
commit 44810d6df8

View File

@ -839,8 +839,8 @@ BeesContext::scan_one_extent(const BeesFileRange &bfr, const Extent &e)
}
lock_seen.unlock();
// Still hurts benchmarks...or does it?
bees_unreadahead(bfr.fd(), bfr.begin(), bfr.size());
// Now causes 75% loss of performance in benchmarks
// bees_unreadahead(bfr.fd(), bfr.begin(), bfr.size());
}
shared_ptr<Exclusion>