All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Weiner <hannes@cmpxchg.org>
To: gardotd426@gmail.com
Cc: Andrew Morton <akpm@linux-foundation.org>,
	bugzilla-daemon@bugzilla.kernel.org, linux-mm@kvack.org
Subject: Re: [Bug 213299] New: kswapd Regression as of 5.13-rc3, eats 100% of CPU for no reason
Date: Thu, 3 Jun 2021 16:32:54 -0400	[thread overview]
Message-ID: <YLk8dgMB3xhY9g1c@cmpxchg.org> (raw)
In-Reply-To: <20210531143329.87a1220aeb620fd253060e75@linux-foundation.org>

On Mon, May 31, 2021 at 02:33:29PM -0700, Andrew Morton wrote:
> (switched to email.  Please respond via emailed reply-to-all, not via the
> bugzilla web interface).
> 
> On Mon, 31 May 2021 18:09:38 +0000 bugzilla-daemon@bugzilla.kernel.org wrote:
> 
> > https://bugzilla.kernel.org/show_bug.cgi?id=213299
> > 
> >             Bug ID: 213299
> >            Summary: kswapd Regression as of 5.13-rc3, eats 100% of CPU for
> >                     no reason
> >            Product: Memory Management
> >            Version: 2.5
> >     Kernel Version: 5.13-rc3, 5.13-rc4
> >           Hardware: All
> >                 OS: Linux
> >               Tree: Mainline
> >             Status: NEW
> >           Severity: normal
> >           Priority: P1
> >          Component: Slab Allocator
> >           Assignee: akpm@linux-foundation.org
> >           Reporter: gardotd426@gmail.com
> >         Regression: No
> > 
> > I've seen reports of kswapd0 eating up CPU, but this doesn't fit those
> > descriptions. 
> > 
> >  - The bug is not present on 5.12.
> > 
> >  - It happens immediately on boot, CPU usage goes to 100 on all 24 threads of a
> > Ryzen 5900X
> > 
> >  - The only solution is to run `sudo pkill -9 kswapd0`. swapoff does nothing,
> > nor does `echo 1 > /proc/sys/vm/drop_caches`. 
> > 
> >  - I have a swap partition and 32GB of RAM. Like I said, this happens on boot,
> > so nowhere *near* 32GB of RAM is being taken. And no swap is being used. This
> > is clearly an error in kswapd, it's like it goes completely bonkers. 5.13-rc2
> > didn't have it, nor did rc1, and 5.12 doesn't have it either.

Does it trigger (or not trigger) reliably with these version?

There aren't any obvious mm changes in that window. If it reproduces
reliably during boot, can you please git bisect it?


  reply	other threads:[~2021-06-03 20:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-213299-27@https.bugzilla.kernel.org/>
2021-05-31 21:33 ` [Bug 213299] New: kswapd Regression as of 5.13-rc3, eats 100% of CPU for no reason Andrew Morton
2021-06-03 20:32   ` Johannes Weiner [this message]
2021-06-03 22:22     ` Chris Down

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YLk8dgMB3xhY9g1c@cmpxchg.org \
    --to=hannes@cmpxchg.org \
    --cc=akpm@linux-foundation.org \
    --cc=bugzilla-daemon@bugzilla.kernel.org \
    --cc=gardotd426@gmail.com \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.