diff options
Diffstat (limited to 'block/Kconfig.iosched')
-rw-r--r-- | block/Kconfig.iosched | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched index 7e803fc88770..b71abfb0d726 100644 --- a/block/Kconfig.iosched +++ b/block/Kconfig.iosched | |||
@@ -12,24 +12,14 @@ config IOSCHED_NOOP | |||
12 | that do their own scheduling and require only minimal assistance from | 12 | that do their own scheduling and require only minimal assistance from |
13 | the kernel. | 13 | the kernel. |
14 | 14 | ||
15 | config IOSCHED_AS | ||
16 | tristate "Anticipatory I/O scheduler" | ||
17 | default y | ||
18 | ---help--- | ||
19 | The anticipatory I/O scheduler is generally a good choice for most | ||
20 | environments, but is quite large and complex when compared to the | ||
21 | deadline I/O scheduler, it can also be slower in some cases | ||
22 | especially some database loads. | ||
23 | |||
24 | config IOSCHED_DEADLINE | 15 | config IOSCHED_DEADLINE |
25 | tristate "Deadline I/O scheduler" | 16 | tristate "Deadline I/O scheduler" |
26 | default y | 17 | default y |
27 | ---help--- | 18 | ---help--- |
28 | The deadline I/O scheduler is simple and compact, and is often as | 19 | The deadline I/O scheduler is simple and compact. It will provide |
29 | good as the anticipatory I/O scheduler, and in some database | 20 | CSCAN service with FIFO expiration of requests, switching to |
30 | workloads, better. In the case of a single process performing I/O to | 21 | a new point in the service tree and doing a batch of IO from there |
31 | a disk at any one time, its behaviour is almost identical to the | 22 | in case of expiry. |
32 | anticipatory I/O scheduler and so is a good choice. | ||
33 | 23 | ||
34 | config IOSCHED_CFQ | 24 | config IOSCHED_CFQ |
35 | tristate "CFQ I/O scheduler" | 25 | tristate "CFQ I/O scheduler" |
@@ -37,9 +27,28 @@ config IOSCHED_CFQ | |||
37 | ---help--- | 27 | ---help--- |
38 | The CFQ I/O scheduler tries to distribute bandwidth equally | 28 | The CFQ I/O scheduler tries to distribute bandwidth equally |
39 | among all processes in the system. It should provide a fair | 29 | among all processes in the system. It should provide a fair |
40 | working environment, suitable for desktop systems. | 30 | and low latency working environment, suitable for both desktop |
31 | and server systems. | ||
32 | |||
41 | This is the default I/O scheduler. | 33 | This is the default I/O scheduler. |
42 | 34 | ||
35 | config CFQ_GROUP_IOSCHED | ||
36 | bool "CFQ Group Scheduling support" | ||
37 | depends on IOSCHED_CFQ && CGROUPS | ||
38 | select BLK_CGROUP | ||
39 | default n | ||
40 | ---help--- | ||
41 | Enable group IO scheduling in CFQ. | ||
42 | |||
43 | config DEBUG_CFQ_IOSCHED | ||
44 | bool "Debug CFQ Scheduling" | ||
45 | depends on CFQ_GROUP_IOSCHED | ||
46 | select DEBUG_BLK_CGROUP | ||
47 | default n | ||
48 | ---help--- | ||
49 | Enable CFQ IO scheduling debugging in CFQ. Currently it makes | ||
50 | blktrace output more verbose. | ||
51 | |||
43 | choice | 52 | choice |
44 | prompt "Default I/O scheduler" | 53 | prompt "Default I/O scheduler" |
45 | default DEFAULT_CFQ | 54 | default DEFAULT_CFQ |
@@ -47,9 +56,6 @@ choice | |||
47 | Select the I/O scheduler which will be used by default for all | 56 | Select the I/O scheduler which will be used by default for all |
48 | block devices. | 57 | block devices. |
49 | 58 | ||
50 | config DEFAULT_AS | ||
51 | bool "Anticipatory" if IOSCHED_AS=y | ||
52 | |||
53 | config DEFAULT_DEADLINE | 59 | config DEFAULT_DEADLINE |
54 | bool "Deadline" if IOSCHED_DEADLINE=y | 60 | bool "Deadline" if IOSCHED_DEADLINE=y |
55 | 61 | ||
@@ -63,7 +69,6 @@ endchoice | |||
63 | 69 | ||
64 | config DEFAULT_IOSCHED | 70 | config DEFAULT_IOSCHED |
65 | string | 71 | string |
66 | default "anticipatory" if DEFAULT_AS | ||
67 | default "deadline" if DEFAULT_DEADLINE | 72 | default "deadline" if DEFAULT_DEADLINE |
68 | default "cfq" if DEFAULT_CFQ | 73 | default "cfq" if DEFAULT_CFQ |
69 | default "noop" if DEFAULT_NOOP | 74 | default "noop" if DEFAULT_NOOP |