I wrote a tiny batch script to reliably reproduce the bug. It mounts a
tmpfs filesystem and writes a file that fills 98% of the currently
available memory.

You can also pass it a custom percentage, like: ./fillmem.sh 95

<95% is hit and miss on a newly launched instance. 98% (the default) has
inmediately spun kswapd to 100% on all of my tests.

----------

@andrewtappert: steal time means the T2 instance has run out of CPU
credits. They launch with just enough credits to burst the CPU to 100%
for 30 minutes.

I'm always getting SYS time on kswapd, until I hit the T2 credits limit.

** Attachment added: "fillmem.sh"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1518457/+attachment/4715197/+files/fillmem.sh

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518457

Title:
  kswapd0 100% CPU usage

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1518457/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to