blob: 2f2158e05a91c1eaa85bdaa142e33a1748441d65 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
David Howells93614012006-09-30 20:45:40 +02002if BLOCK
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
4menu "IO Schedulers"
5
Jens Axboed3484992017-01-13 14:43:58 -07006config MQ_IOSCHED_DEADLINE
7 tristate "MQ deadline I/O scheduler"
8 default y
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +09009 help
Jens Axboed3484992017-01-13 14:43:58 -070010 MQ version of the deadline IO scheduler.
11
Omar Sandoval00e04392017-04-14 01:00:02 -070012config MQ_IOSCHED_KYBER
13 tristate "Kyber I/O scheduler"
14 default y
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090015 help
Omar Sandoval00e04392017-04-14 01:00:02 -070016 The Kyber I/O scheduler is a low-overhead scheduler suitable for
17 multiqueue and other fast devices. Given target latencies for reads and
18 synchronous writes, it will self-tune queue depths to achieve that
19 goal.
20
Paolo Valenteaee69d72017-04-19 08:29:02 -060021config IOSCHED_BFQ
22 tristate "BFQ I/O scheduler"
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090023 help
Paolo Valenteaee69d72017-04-19 08:29:02 -060024 BFQ I/O scheduler for BLK-MQ. BFQ distributes the bandwidth of
25 of the device among all processes according to their weights,
26 regardless of the device parameters and with any workload. It
27 also guarantees a low latency to interactive and soft
28 real-time applications. Details in
Mauro Carvalho Chehab898bd372019-04-18 19:45:00 -030029 Documentation/block/bfq-iosched.rst
Paolo Valenteaee69d72017-04-19 08:29:02 -060030
Arianna Avanzinie21b7a02017-04-12 18:23:08 +020031config BFQ_GROUP_IOSCHED
32 bool "BFQ hierarchical scheduling support"
33 depends on IOSCHED_BFQ && BLK_CGROUP
Tejun Heo1d1566462019-11-07 11:18:04 -080034 select BLK_CGROUP_RWSTAT
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090035 help
Arianna Avanzinie21b7a02017-04-12 18:23:08 +020036
37 Enable hierarchical scheduling in BFQ, using the blkio
38 (cgroups-v1) or io (cgroups-v2) controller.
39
Christoph Hellwig8060c472019-06-06 12:26:24 +020040config BFQ_CGROUP_DEBUG
41 bool "BFQ IO controller debugging"
42 depends on BFQ_GROUP_IOSCHED
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090043 help
Christoph Hellwig8060c472019-06-06 12:26:24 +020044 Enable some debugging help. Currently it exports additional stat
45 files in a cgroup which can be useful for debugging.
46
Linus Torvalds1da177e2005-04-16 15:20:36 -070047endmenu
David Howells93614012006-09-30 20:45:40 +020048
49endif