-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
limit read_many concurrency based on inflight IO memory
Add the option to limit the amount of concurrent IO requests based on memory usage. This is a useful knob in conjunction with IO requests coalescing because it makes sense to keep a high number of concurrent small IO requests but less so if they are extremely large. i.e., if all the IO requests are 4MiB large, it doesn't make much sense to schedule more than a few at a time. Scheduling too many at once could starve other concurrent IO tasks for no throughput benefit. Conversely, It makes sense to schedule 4KiB requests with a higher concurrency level.
- Loading branch information
Showing
1 changed file
with
68 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters