Found same issue on Ubuntu 20.04. I install on thinkpad with 16GB memory and ubuntu installer creates 1GB swap. I heavily use virtualization for containers. So with vm.swappiness=60 machine becomes unusable pretty fast, with such small swap, swappiness should be definitely smaller. Actually was the same on previous releases and I do not understand why developers choose this defaults.
Also I install on laptop with 40GB ram, problem more obvious, ubuntu start swapping when you have about 24 gigs free and of course freezes with 1GB swap, so simple reboot becomes a problem. So I think calculations should be more smart then just create 1GB swap. At least few rules for list of common ram configurations like ram<=4GB ram<=8GB ram<=16GB ram<=32GB etc. And it's take a lot of time if you use encrypted LVM to expand swap. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767299 Title: Ubuntu 18.04 Installer creates swap partition too small To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/partman-auto/+bug/1767299/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
