[Bug 2064483] Re: Ubuntu 24.04 doesn't respect vm.swappiness

2024-05-01 Thread Archer Allstars
apport information ** Tags added: apport-collected noble wayland-session ** Description changed: My sysctl vm.swappiness returns vm.swappiness = 180. Swap kicked in when RAM is filled around 95%. I’m using zRAM as the swap. When this happened, my laptop is barely usable, as the

[Bug 2064483] Re: Ubuntu 24.04 doesn't respect vm.swappiness

2024-05-01 Thread Aaron Rainbolt
** Also affects: linux (Ubuntu) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Noble) Importance: Undecided Status: New ** Also affects: Ubuntu Noble Importance: Undecided Status: New ** No longer affects: ubuntu ** No longer affects: Ubuntu

[Bug 2064483] Re: Ubuntu 24.04 doesn't respect vm.swappiness

2024-05-01 Thread Archer Allstars
I have done the test with free -m outputs with vm.swappiness=180 on Tumbleweed. ** Attachment added: "Tumbleweed respects vm.swappiness -- free -m.mp4" https://bugs.launchpad.net/ubuntu/+bug/2064483/+attachment/5773791/+files/Tumbleweed%20respects%20vm.swappiness%20--%20free%20-m.mp4 -- You

[Bug 2064483] Re: Ubuntu 24.04 doesn't respect vm.swappiness

2024-05-01 Thread Archer Allstars
I have done the test with free -m outputs with vm.swappiness=180 on Ubuntu 24.04. ** Attachment added: "Ubuntu 24.04 doesn't respect vm.swappiness -- free -m.mp4"

[Bug 2064483] Re: Ubuntu 24.04 doesn't respect vm.swappiness

2024-05-01 Thread Archer Allstars
To make sure that vm.swappiness is really contribute to the tendency to swap of the kernel as documented, I also did a test on Tumbleweed with vm.swappiness=60, which is the default value. The test result is as expected, the swap kicked in late compared to vm.swappiness=180. And not only that,

[Bug 2064483] Re: Ubuntu 24.04 doesn't respect vm.swappiness

2024-05-01 Thread Archer Allstars
I add a test on Tumbleweed in KVM with vm.swappiness=180. The result is as expected, it's not broken in Tumbleweed. With vm.swappiness=180 the swap kicked in at around 55% of RAM filled, not 95%. And it will maintain this free space percentage, depending on the compression ratio of the data

[Bug 2064483] Re: Ubuntu 24.04 doesn't respect vm.swappiness

2024-05-01 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people

[Bug 2064483] Re: Ubuntu 24.04 doesn't respect vm.swappiness

2024-05-01 Thread Archer Allstars
** Attachment added: "The screen recording of this issue. I didn't know I can attach file. This is the same recording as the one in OP." https://bugs.launchpad.net/ubuntu/+bug/2064483/+attachment/5773508/+files/Ubuntu%2024.04%20doesn%27t%20respect%20vm.swappiness.mp4 -- You received this