Projects
home:Eustace:branches:Eulaceura:Factory
NutShell-systemd
_service:obs_scm:0001-udev-use-bfq-as-the-defau...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0001-udev-use-bfq-as-the-default-scheduler.patch of Package NutShell-systemd
From 5ab4d083dbe0a1ae095875c4af6ac26749b67211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl> Date: Wed, 14 Aug 2019 15:57:42 +0200 Subject: [PATCH] udev: use bfq as the default scheduler As requested in https://bugzilla.redhat.com/show_bug.cgi?id=1738828. Test results are that bfq seems to behave better and more consistently on typical hardware. The kernel does not have a configuration option to set the default scheduler, and it currently needs to be set by userspace. See the bug for more discussion and links. --- rules/60-block-scheduler.rules | 5 +++++ rules/meson.build | 1 + 2 files changed, 6 insertions(+) create mode 100644 rules/60-block-scheduler.rules diff --git a/rules/60-block-scheduler.rules b/rules/60-block-scheduler.rules new file mode 100644 index 00000000000..480b941761f --- /dev/null +++ b/rules/60-block-scheduler.rules @@ -0,0 +1,5 @@ +# do not edit this file, it will be overwritten on update + +ACTION=="add", SUBSYSTEM=="block", \ + KERNEL=="mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|sd*[!0-9]|sr*", \ + ATTR{queue/scheduler}="bfq" diff --git a/rules/meson.build b/rules/meson.build index b6a32ba77e2..1da958b4d46 100644 --- a/rules/meson.build +++ b/rules/meson.build @@ -2,6 +2,7 @@ rules = files(''' 60-block.rules + 60-block-scheduler.rules 60-cdrom_id.rules 60-drm.rules 60-evdev.rules
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2