Originally posted by Britoid
View Post
Announcement
Collapse
No announcement yet.
Should Ubuntu Use The BFQ I/O Scheduler?
Collapse
X
-
Originally posted by uid313 View Post
Oh, I was not aware of this. I am not up-to-date. It's been a few years since I've read about the I/O schedulers.
$ cat /sys/block/sdb/queue/scheduler
[mq-deadline] none
I guess I am on the "mq-deadline" scheduler, but I don't know what that is.
"mq-deadline" is the multi-queue version of deadline.
"none" means "no scheduling at all", still multi-queue.
Other schedulers available in sane distros are Kyber (from Facebook) and BFQ, again all multi-queue.
- Likes 2
Comment
-
Just enabled it this morning after reading this article, and been using it through the day. Can't say I am impressed. It deals extremely poorly with the background distributed compiler jobs we have in the office, so every time a job comes the IDE stops responding for a second or two, even though the background jobs are niced 15 and started by a background daemon as background tasks.
At least for my use-case BFQ does the exact opposite of providing a more responsive desktop experience, and instead prioritized highly niced background jobs over currently used active desktop jobs.
I guess I should have stayed with CFQ since that was working perfectly.. Oh, how many times must I learn not fix things that are not broken.Last edited by carewolf; 22 July 2019, 01:35 PM.
Comment
-
Originally posted by carewolf View PostJust enabled it this morning after reading this article, and been using it through the day. Can't say I am impressed. It deals extremely poorly with the background distributed compiler jobs we have in the office, so every time a job comes the IDE stops responding for a second or two, even though the background jobs are niced 15 and started by a background daemon as background tasks.
At least for my use-case BFQ does the exact opposite of providing a more responsive desktop experience, and instead prioritized highly niced background jobs over currently used active desktop jobs.
I guess I should have stayed with CFQ since that was working perfectly.. Oh, how many times must I learn not fix things that are not broken.
- Likes 3
Comment
-
Originally posted by Spam View Post
BFQ uses cgroups (io.bfq.weight) for io niceness. This is what you should look at, or at least use "ionice" and not the "nice" tool.
For kernels after 2.6.26 with the CFQ I/O scheduler, a process that has not asked for an I/O priority inherits its CPU scheduling class.
A rather nice one though.
Comment
-
Originally posted by carewolf View PostI guess I should have stayed with CFQ since that was working perfectly.. Oh, how many times must I learn not fix things that are not broken.
Comment
-
Originally posted by Space Heater View Post
How were you using CFQ if you switched to BFQ? CFQ doesn't exist anymore, once blk-mq became the default around the 4.20 release, the single queue block schedulers were removed.
Comment
Comment