I'm experiencing the same issue since I upgraded to Kernel 5.3.0 on Ubuntu 
18.04 LTS via HWE stack.
This still does not happen with kernel 4.15 and iirc didn't happen with Kernel 
5.0.0 (which got replaced with 5.3.0 through the HWE stack).
I see a heavy increase in the swap file usage after a freeze, the swap file is 
located on the internal drive of my surface pro 3. If the swapping starts, it 
uses up to 500 MB at once, while with kernel 4.15 swapping happens later and 
even then uses only some few MB.

I got 8 GB of RAM, I've set vm.swappiness to 40 instead of 60.

The freezes got a bit mitigated after I've reset the gnome settings via 
gnome-tweaks, and enabled trim on the swap partition, but still happen and tend 
to increase after a while.
I'll try to enable zram and see if that helps mitigating it even more, so it's 
not interrupting the workflow on this device.

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

Title:
  System freeze when memory is put on SWAP in Linux >4.10.x

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

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

Reply via email to