Mailinglist Archive: opensuse-factory (536 mails)

< Previous Next >
Re: [opensuse-factory] blk-mq schedulers in Tumbleweed
Yeah, checking cmdline isn't reliable for sure, and I've actually ran
into the file you mentioned, I just wasn't sure it's there for all
times. Anyway, I don't know how do I expose its' content to udev, any
ideas?

TIA.

Regards, Andrei.

2018-01-02 16:15 GMT+03:00 Takashi Iwai <tiwai@xxxxxxx>:
On Tue, 02 Jan 2018 11:10:40 +0100,
Andrei Dziahel wrote:

Hi all,

As you know, we've got blk-mq merged to kernel since 4.13,
introducing, in particular, BFQ — an multithreaded low-latency
desktop-oriented I/O scheduler, hopefully to eliminate the infamous
#12309 kernel bug.

So, I've tweaked a `60-ssd-scheduler.rules` udev rule (it did set
scheduler to `deadline` for SSD drives) and made it support blk-mq as
well, should it has been enabled in kernel command line; there it
goes:
https://github.com/develop7/systemd/blob/8463b5cb40d2bfbadda4406c5d6cb9c585f64e47/rules/60-io-scheduler.rules.
There's a PR featuring this tweak at
https://github.com/openSUSE/systemd/pull/7, hopefully it'd be merged.

Works well for me. Feedback is welcome.

Some our storage specialists have been evaluating the I/O scheduler
choice. Now Cc'ed, so let's wait for their inputs.

BTW, the check of cmdline isn't good; it's not always correct
e.g. when it's passed via modprobe.d/*.conf. If any, you can check
the content of /sys/module/scsi_mod/parameters/use_blk_mq file
instead.


thanks,

Takashi



--
Regards,
Andrei Dziahel
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >