Skip to contentSkip to conversation

query, which io scheduler is active?

DISCUSSION roland 2 participants 2 messages May 26, 2005

lore
Share & tools
lore

roland

author
#0 lore raw

Hello,

dmesg tells:

---snip---
Kernel command line: root=/dev/sda2 ---snip---
io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered ---snip---

ok - there are 4 types of io schedulers - but - how can one see/query, which i/o scheduler is the currently "active" one?

It seems that SuSE Kernel shows this via

if (!printed) {
                printed = 1;
                printk("Using %s io scheduler\n", chosen_elevator->elevator_name);
        }

in drivers/block/ll_rw_blk.c

I can supply a patch if you like.

regards
roland

#1 lore raw

Hi,

Dne čt 26. května 2005 03:38 roland napsal(a):

Quoted 3 lines

ok - there are 4 types of io schedulers - but - how can one see/query, which i/o scheduler is the currently "active" one?

/sys/block/<device>/queue/scheduler

Bye,
spity

Signature · 4 lines
Jan Spitalnik
[email protected]

If everyone used log base e, we'd all be happy!