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

throttle: set default to 0.0

Longer latency testing runs are not showing a consistent gain from a
throttle factor of 1.0.  Make the default more conservative.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell 2024-12-27 13:01:28 -05:00
parent bd9dc0229b
commit 81bbf7e1d4

View File

@ -305,7 +305,7 @@ bees_unreadahead(int const fd, off_t offset, size_t size)
BEESCOUNTADD(readahead_unread_ms, unreadahead_timer.age() * 1000); BEESCOUNTADD(readahead_unread_ms, unreadahead_timer.age() * 1000);
} }
static double bees_throttle_factor = 1.0; static double bees_throttle_factor = 0.0;
void void
bees_throttle(const double time_used, const char *const context) bees_throttle(const double time_used, const char *const context)