diff options
author | Bart Van Assche <[email protected]> | 2021-06-17 17:44:51 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-06-21 15:03:40 -0600 |
commit | 07757588e5076748308dd95ee2e3cd0b82ebb8c4 (patch) | |
tree | 57b729597e4e39e08f5b14c7e96bae905eff3b34 /scripts/gdb/linux/timerlist.py | |
parent | d6d7f013d65491eaff477b9bd83b80111f5be9e4 (diff) |
block/mq-deadline: Reserve 25% of scheduler tags for synchronous requests
For interactive workloads it is important that synchronous requests are
not delayed. Hence reserve 25% of scheduler tags for synchronous requests.
This patch still allows asynchronous requests to fill the hardware queues
since blk_mq_init_sched() makes sure that the number of scheduler requests
is the double of the hardware queue depth. From blk_mq_init_sched():
q->nr_requests = 2 * min_t(unsigned int, q->tag_set->queue_depth,
BLKDEV_MAX_RQ);
Cc: Damien Le Moal <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Ming Lei <[email protected]>
Cc: Johannes Thumshirn <[email protected]>
Cc: Himanshu Madhani <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions