|
|
Subscribe / Log in / New account

Two new block I/O schedulers for 4.12

Two new block I/O schedulers for 4.12

Posted May 8, 2017 10:32 UTC (Mon) by zdzichu (subscriber, #17118)
In reply to: Two new block I/O schedulers for 4.12 by micka
Parent article: Two new block I/O schedulers for 4.12

Linux supports pluggable, per-device I/O schedulers; you can change them with `cat`:

$ find /sys -name scheduler -exec grep . {} +
/sys/devices/pci0000:00/0000:00:0b.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/scheduler: noop [deadline] cfq
/sys/devices/pci0000:00/0000:00:09.0/virtio3/host8/target8:0:0/8:0:0:2/block/sdc/queue/scheduler: noop deadline [cfq]
/sys/devices/pci0000:00/0000:00:0c.0/virtio5/block/vda/queue/scheduler: mq-deadline kyber [bfq] none


to post comments

Two new block I/O schedulers for 4.12

Posted May 10, 2017 21:58 UTC (Wed) by micka (subscriber, #38720) [Link] (1 responses)

Thank you, this seems sensible. I could not find any hint about that in the article.

Two new block I/O schedulers for 4.12

Posted May 11, 2017 6:37 UTC (Thu) by dtlin (subscriber, #36537) [Link]

For reference, there is documentation at /usr/src/linux/Documentation/block/switching-sched.txt.

Two new block I/O schedulers for 4.12

Posted Dec 5, 2022 14:30 UTC (Mon) by leodag (guest, #162537) [Link]

You can also find these devices listed under /sys/class/block with their more familiar names:

$ ls -l /sys/class/block
total 0
lrwxrwxrwx 1 root root 0 dez 5 11:22 dm-0 -> ../../devices/virtual/block/dm-0/
lrwxrwxrwx 1 root root 0 dez 5 11:22 nvme0n1 -> ../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/nvme/nvme0/nvme0n1/
lrwxrwxrwx 1 root root 0 dez 5 11:22 nvme0n1p1 -> ../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/nvme/nvme0/nvme0n1/nvme0n1p1/
lrwxrwxrwx 1 root root 0 dez 5 11:22 nvme0n1p2 -> ../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/nvme/nvme0/nvme0n1/nvme0n1p2/


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds