Fresh install of 16.04 on EC2 Nano instance, and kswapd0 takes most of the CPU when running a job with high CPU and high IO.
I've resorted to running the following command every minute as a cron task: # m h dom mon dow command * * * * * echo 3 > /proc/sys/vm/drop_caches That works for 10 or 15 seconds, but after that kswapd0 comes back and hogs the CPU again. I'm using less than 20% of available memory, shouldn't need to swap. See attached screenshot of top at the 25-second mark after dropping caches. ** Attachment added: "Screenshot from 2016-05-19 15:25:29.png" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1518457/+attachment/4666557/+files/Screenshot%20from%202016-05-19%2015%3A25%3A29.png -- 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/ubuntu/+source/linux/+bug/1518457/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs