Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] "elevator" kernel option being ignored?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Gooberpatrol66
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2014
Posts: 139

PostPosted: Sat Oct 17, 2020 7:45 pm    Post subject: [Solved] "elevator" kernel option being ignored? Reply with quote

I set this in /etc/default/grub:

GRUB_CMDLINE_LINUX="elevator=bfq"

I then regenerated grub, rebooted, and edited the grub entry was there. I then booted, and tested to see if it worked:

Code:
root@gentoodesktop / # cat /sys/block/*/queue/scheduler
[mq-deadline] kyber bfq none
[mq-deadline] kyber bfq none
[mq-deadline] kyber bfq none
[mq-deadline] kyber bfq none
[mq-deadline] kyber bfq none
[mq-deadline] kyber bfq none
[mq-deadline] kyber bfq none
[mq-deadline] kyber bfq none


Anyone know why this option is being ignored?


Last edited by Gooberpatrol66 on Sat Oct 17, 2020 9:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
freke
Guru
Guru


Joined: 23 Jan 2003
Posts: 593
Location: Somewhere in Denmark

PostPosted: Sat Oct 17, 2020 8:21 pm    Post subject: Reply with quote

Dunno if this is still the way to do it: https://community.chakralinux.org/t/how-to-enable-the-bfq-i-o-scheduler-on-kernel-4-12/6418

ie.
Code:
GRUB_CMDLINE_LINUX="scsi_mod.use_blk_mq=1 quiet"
Back to top
View user's profile Send private message
Ionen
Veteran
Veteran


Joined: 06 Dec 2018
Posts: 1448

PostPosted: Sat Oct 17, 2020 8:26 pm    Post subject: Reply with quote

That elevator= option only worked for old non-multiqueue (mq) schedulers (deadline, cfq, noop), and since those were removed the option is also entirely gone.

Personally I just set those with udev rules (I mostly use bfq except for one drive), not sure if there's a new kernel option for default scheduler but there wasn't last I checked a while back.
Back to top
View user's profile Send private message
Gooberpatrol66
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2014
Posts: 139

PostPosted: Sat Oct 17, 2020 9:01 pm    Post subject: Reply with quote

I found working udev rules on Archwiki: https://wiki.archlinux.org/index.php/improving_performance#Changing_I/O_scheduler

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum