Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #65915 > unrolled thread

Bug#946791: io.weight cannot be enabled in recent Debian kernel package

Started byRyutaroh Matsumoto <ryutaroh.matsumoto@nagoya-u.jp>
First post2019-12-26 15:30 +0100
Last post2021-03-17 15:20 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#946791: io.weight cannot be enabled in recent Debian kernel package Ryutaroh Matsumoto <ryutaroh.matsumoto@nagoya-u.jp> - 2019-12-26 15:30 +0100
    Processed: Re: io.weight cannot be enabled in recent Debian  kernel package "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-12-26 15:30 +0100
    Bug#946791: io.weight cannot be enabled in recent Debian kernel package Michael Biebl <biebl@debian.org> - 2021-03-17 15:20 +0100
      Processed: Re: io.weight cannot be enabled in recent Debian  kernel package "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-03-17 15:20 +0100

#65915 — Bug#946791: io.weight cannot be enabled in recent Debian kernel package

FromRyutaroh Matsumoto <ryutaroh.matsumoto@nagoya-u.jp>
Date2019-12-26 15:30 +0100
SubjectBug#946791: io.weight cannot be enabled in recent Debian kernel package
Message-ID<zhCjf-3GG-7@gated-at.bofh.it>
Source: linux
Followup-For: Bug #946791
Control: tags -1 + patch

Dear Maintainer,

I reported that IOWeight config item in systemd has no effect
on recent Debian kernels. I found the root cause.
io.weight was changed to io.bfq.weight, and recent systemd sets
values of IOWeight to io.bfq.weight as

https://github.com/systemd/systemd/commit/2dbc45aea747f25cc1c3848fded2ec0062f96bcf

For io.bfq.weight to appear in cgroup v2 filesystem, the bfq kernel
module must be loaded. Addition of "bfq" to /etc/initramfs-tools/modules
solved this issue. Since the systemd needs bfq module to be loaded,
changing CONFIG_IOSCHED_BFQ=m to CONFIG_IOSCHED_BFQ=y in kernel config
seems suitable.

If the Debian kernel team considers this issue to be handled by another
package, e.g. initramfs-tools or systemd, please reassign this.
If this issue is considered not being a bug, please close this.

Best regards, Ryutaroh Matsumoto

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

[toc] | [next] | [standalone]


#65916 — Processed: Re: io.weight cannot be enabled in recent Debian kernel package

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2019-12-26 15:30 +0100
SubjectProcessed: Re: io.weight cannot be enabled in recent Debian kernel package
Message-ID<zhCjf-3GG-5@gated-at.bofh.it>
In reply to#65915
Processing control commands:

> tags -1 + patch
Bug #946791 [linux] io.weight cannot be enabled in recent Debian kernel package
Added tag(s) patch.

-- 
946791: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946791
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#69840

FromMichael Biebl <biebl@debian.org>
Date2021-03-17 15:20 +0100
Message-ID<BTFbI-11T-3@gated-at.bofh.it>
In reply to#65915

[Multipart message — attachments visible in raw view] — view raw

Control: retitle -1 Please enable CONFIG_IOSCHED_BFQ=y

On Thu, 26 Dec 2019 23:17:13 +0900 Ryutaroh Matsumoto
<ryutaroh.matsumoto@nagoya-u.jp> wrote:
> Source: linux
> Followup-For: Bug #946791
> Control: tags -1 + patch
> 
> Dear Maintainer,
> 
> I reported that IOWeight config item in systemd has no effect
> on recent Debian kernels. I found the root cause.
> io.weight was changed to io.bfq.weight, and recent systemd sets
> values of IOWeight to io.bfq.weight as
> 
>
https://github.com/systemd/systemd/commit/2dbc45aea747f25cc1c3848fded2ec0062f96bcf
> 
> For io.bfq.weight to appear in cgroup v2 filesystem, the bfq kernel
> module must be loaded. Addition of "bfq" to /etc/initramfs-
tools/modules
> solved this issue. Since the systemd needs bfq module to be loaded,
> changing CONFIG_IOSCHED_BFQ=m to CONFIG_IOSCHED_BFQ=y in kernel
config
> seems suitable.
> 
> If the Debian kernel team considers this issue to be handled by
another
> package, e.g. initramfs-tools or systemd, please reassign this.
> If this issue is considered not being a bug, please close this.
> 

Fwiw, the fedora kernel in F33 uses

# grep CONFIG_IOSCHED_BFQ /boot/config-5.10.22-200.fc33.x86_64 
CONFIG_IOSCHED_BFQ=y

I think using CONFIG_IOSCHED_BFQ=y instead of loading it via initramfs-
tools makes more sense (assuming it is safe to enable).


Regards,
Michael

[toc] | [prev] | [next] | [standalone]


#69841 — Processed: Re: io.weight cannot be enabled in recent Debian kernel package

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2021-03-17 15:20 +0100
SubjectProcessed: Re: io.weight cannot be enabled in recent Debian kernel package
Message-ID<BTFbI-11T-5@gated-at.bofh.it>
In reply to#69840
Processing control commands:

> retitle -1 Please enable CONFIG_IOSCHED_BFQ=y
Bug #946791 [linux] io.weight cannot be enabled in recent Debian kernel package
Changed Bug title to 'Please enable CONFIG_IOSCHED_BFQ=y' from 'io.weight cannot be enabled in recent Debian kernel package'.

-- 
946791: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946791
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web