blob: 6155161460862cc978c022e5b2147e32e3b45ce8 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002menu "IO Schedulers"
3
Jens Axboed3484992017-01-13 14:43:58 -07004config MQ_IOSCHED_DEADLINE
5 tristate "MQ deadline I/O scheduler"
6 default y
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +09007 help
Jens Axboed3484992017-01-13 14:43:58 -07008 MQ version of the deadline IO scheduler.
9
Omar Sandoval00e04392017-04-14 01:00:02 -070010config MQ_IOSCHED_KYBER
11 tristate "Kyber I/O scheduler"
12 default y
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090013 help
Omar Sandoval00e04392017-04-14 01:00:02 -070014 The Kyber I/O scheduler is a low-overhead scheduler suitable for
15 multiqueue and other fast devices. Given target latencies for reads and
16 synchronous writes, it will self-tune queue depths to achieve that
17 goal.
18
Paolo Valenteaee69d72017-04-19 08:29:02 -060019config IOSCHED_BFQ
20 tristate "BFQ I/O scheduler"
Christoph Hellwig5ef16302021-12-09 07:31:31 +010021 select BLK_ICQ
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090022 help
Paolo Valenteaee69d72017-04-19 08:29:02 -060023 BFQ I/O scheduler for BLK-MQ. BFQ distributes the bandwidth of
24 of the device among all processes according to their weights,
25 regardless of the device parameters and with any workload. It
26 also guarantees a low latency to interactive and soft
27 real-time applications. Details in
Mauro Carvalho Chehab898bd372019-04-18 19:45:00 -030028 Documentation/block/bfq-iosched.rst
Paolo Valenteaee69d72017-04-19 08:29:02 -060029
Arianna Avanzinie21b7a02017-04-12 18:23:08 +020030config BFQ_GROUP_IOSCHED
31 bool "BFQ hierarchical scheduling support"
32 depends on IOSCHED_BFQ && BLK_CGROUP
Tejun Heo1d1566462019-11-07 11:18:04 -080033 select BLK_CGROUP_RWSTAT
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090034 help
Arianna Avanzinie21b7a02017-04-12 18:23:08 +020035
36 Enable hierarchical scheduling in BFQ, using the blkio
37 (cgroups-v1) or io (cgroups-v2) controller.
38
Christoph Hellwig8060c472019-06-06 12:26:24 +020039config BFQ_CGROUP_DEBUG
40 bool "BFQ IO controller debugging"
41 depends on BFQ_GROUP_IOSCHED
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090042 help
Christoph Hellwig8060c472019-06-06 12:26:24 +020043 Enable some debugging help. Currently it exports additional stat
44 files in a cgroup which can be useful for debugging.
45
Linus Torvalds1da177e2005-04-16 15:20:36 -070046endmenu