Kernel 6.1.39 -> top -> high wa > 20%

Open
#5,546 22 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, linux, raspberry-pi

Research direction

Start by reproducing the reported behavior with top on a Raspberry Pi 4, comparing kernel 6.1.36 with 6.1.39 under the described Bookworm setup. Investigate the kernel change between those versions that affects reported I/O wait, then verify that wa returns toward 0 when the system is idle.

Written by the indexing model from the issue text.

Description

Describe the bug

Using Kernel 6.1.36 everything is working normal for me.
Using the top-command the wa-Parameter is switching from 0 to X and back to 0.

After upgrading to 6.1.39 the wa-Parameter is not going back to 0.
It always is over 20% (20-25%).

Steps to reproduce the behaviour
  1. select top with a kernel like 6.1.36 (is availabel for download).
  2. type top and look for the wa-parameter.
  3. install 6.1.39
  4. type top and look also for the wa-parameter.
Device (s)

Raspberry Pi 4 Mod. B

System

6.1.36:
Raspberry Pi reference 2020-05-27
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 30e2dd32ba47cc3bec15ab1413c16a17e5797775, stage4
Apr 25 2023 18:26:03
Copyright (c) 2012 Broadcom
version d7f9c2b4ef7e4a8c0b04374a879ce89d7a948453 (clean) (release) (start)
Linux nextcloudpi.fritz.box 6.1.36-v8+ #1 SMP PREEMPT Fri Jun 30 13:03:56 UTC 2023 aarch64 GNU/Linux

Logs

No response

Additional context

running rpi4 with bookworm

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.