mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35: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:
parent
8f92b1dacc
commit
44810d6df8
@ -839,8 +839,8 @@ BeesContext::scan_one_extent(const BeesFileRange &bfr, const Extent &e)
|
|||||||
}
|
}
|
||||||
lock_seen.unlock();
|
lock_seen.unlock();
|
||||||
|
|
||||||
// Still hurts benchmarks...or does it?
|
// Now causes 75% loss of performance in benchmarks
|
||||||
bees_unreadahead(bfr.fd(), bfr.begin(), bfr.size());
|
// bees_unreadahead(bfr.fd(), bfr.begin(), bfr.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
shared_ptr<Exclusion>
|
shared_ptr<Exclusion>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user