Kconfig.iosched 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. default y
  23. ---help---
  24. The CFQ I/O scheduler tries to distribute bandwidth equally
  25. among all processes in the system. It should provide a fair
  26. and low latency working environment, suitable for both desktop
  27. and server systems.
  28. This is the default I/O scheduler.
  29. choice
  30. prompt "Default I/O scheduler"
  31. default DEFAULT_CFQ
  32. help
  33. Select the I/O scheduler which will be used by default for all
  34. block devices.
  35. config DEFAULT_DEADLINE
  36. bool "Deadline" if IOSCHED_DEADLINE=y
  37. config DEFAULT_CFQ
  38. bool "CFQ" if IOSCHED_CFQ=y
  39. config DEFAULT_NOOP
  40. bool "No-op"
  41. endchoice
  42. config DEFAULT_IOSCHED
  43. string
  44. default "deadline" if DEFAULT_DEADLINE
  45. default "cfq" if DEFAULT_CFQ
  46. default "noop" if DEFAULT_NOOP
  47. endmenu
  48. endif