Make GLOBAL_POLL_INTERVAL configurable #4651
Labels
A-tokio
Area: The main tokio crate
C-feature-request
Category: A feature request.
M-runtime
Module: tokio/runtime
I am part of a team using Tokio in production, with a specific workload that the default GLOBAL_POLL_INTERVAL isn't tuned well for. In experimentation, we've been able to greatly improve scheduling behavior by tuning down this interval.
Ideally, this polling interval would be part of the runtime configuration. Even better if it split out the "maintenance" (epoll etc) interval from the global queue polling interval.
I'd be happy to work on a PR along these lines, adding such configuration to the runtime builder, but wanted to check first whether such a change would be welcome.
The text was updated successfully, but these errors were encountered: