Kconfig.iosched 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. if BLOCK
  2. menu "IO Schedulers"
  3. config IOSCHED_NOOP
  4. bool
  5. default y
  6. ---help---
  7. The no-op I/O scheduler is a minimal scheduler that does basic merging
  8. and sorting. Its main uses include non-disk based block devices like
  9. memory devices, and specialised software or hardware environments
  10. that do their own scheduling and require only minimal assistance from
  11. the kernel.
  12. config IOSCHED_DEADLINE
  13. tristate "Deadline I/O scheduler"
  14. default y
  15. ---help---
  16. The deadline I/O scheduler is simple and compact. It will provide
  17. CSCAN service with FIFO expiration of requests, switching to
  18. a new point in the service tree and doing a batch of IO from there
  19. in case of expiry.
  20. config IOSCHED_CFQ
  21. tristate "CFQ I/O scheduler"
  22. select BLK_CGROUP
  23. default y
  24. ---help---
  25. The CFQ I/O scheduler tries to distribute bandwidth equally
  26. among all processes in the system. It should provide a fair
  27. and low latency working environment, suitable for both desktop
  28. and server systems.
  29. This is the default I/O scheduler.
  30. choice
  31. prompt "Default I/O scheduler"
  32. default DEFAULT_CFQ
  33. help
  34. Select the I/O scheduler which will be used by default for all
  35. block devices.
  36. config DEFAULT_DEADLINE
  37. bool "Deadline" if IOSCHED_DEADLINE=y
  38. config DEFAULT_CFQ
  39. bool "CFQ" if IOSCHED_CFQ=y
  40. config DEFAULT_NOOP
  41. bool "No-op"
  42. endchoice
  43. config DEFAULT_IOSCHED
  44. string
  45. default "deadline" if DEFAULT_DEADLINE
  46. default "cfq" if DEFAULT_CFQ
  47. default "noop" if DEFAULT_NOOP
  48. endmenu
  49. endif