[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2020-09-30 Thread Hany Said EL-Nokaly
Then, how can we get any other developer attention to fix this xnox's incompetent swap calculation algorithm? ** Summary changed: - Ubuntu 18.04 Installer creates swap partition too small + Ubuntu 18.04-20.04 Installer creates swap partition too small -- You received this bug notification becau

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2020-08-24 Thread Victor Sergienko
See above why it's not fixed. It's b/c xnox doesn't want to accept that his fix for #1351267 was less than ideal, so he labelled the problem "opinion". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/176

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2020-08-19 Thread Hany Said EL-Nokaly
** Changed in: partman-auto (Ubuntu) Assignee: Dimitri John Ledkov (xnox) => (unassigned) -- 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 partit

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2020-08-19 Thread Hany Said EL-Nokaly
Why is this not fixed since 2018-04-27 !!! and I have to face the same problem after installing Ubuntu 20.04.1 ? Do Ubuntu desktop developers only do theme CSS ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.n

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2020-07-09 Thread Victor Sergienko
Really. After I installed a new machine with an encrypted rootfs, I find out that it crashes under load, because with 64G memory it only has 1G swap? Why add swap at all and give a false sense of safety? This default will cost me too much time to fix. And it's happening on every single computer w

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2020-05-19 Thread Vitaly Larchenkov
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 th

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2020-05-04 Thread dave
There seems to be a misconception on the part of the devs that allowing too much swap will result in machines under memory pressure suffering worse than if they simply ran out of memory and the kernel's OOM killer rescued the system. Running out of memory is almost *never* better than hitting swap

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2020-03-06 Thread Ewon
I tested Ubunto 20.04 daily today, and it seems the installer was still not fixed. A 4GB VirtualBox would only get 1GB as swap in encrypted LVM mode. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/17672

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2020-02-24 Thread Piotr Morgwai Kotarbiński
- high memory systems for desktop machines are rare: most people using desktop version of ubuntu have way more disk than RAM. - it is quite hard for a non-expert user who just wants a secure system with encrypted disk and use hibernation to resize lvm partitions: there's no GUI tool for it, so h

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2019-12-16 Thread Francisco Marques
I'm sorry, I had no intention to change the visibility of the bug, I have reverted the change. Regarding this bug, the average user should not, in any way have such a low amount of swap by default. I think this bug is very relevant and therefore an Importance should be assigned. I have this bug i

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2019-12-16 Thread phanky5
@mjm3413 The steps I outlined further above work just fine with an encrypted SSD. -- 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

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2019-11-03 Thread Edward Newman
I have a number of users who want larger swap partitions. Is there an update on how to achieve this on first install? Only custom preseed steps? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767299 T

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2019-11-02 Thread Mike m
I may have missed it, but I have encrypted SSD and want to hibernate. I think I read that I have to use bigger encrypted swap partition (not file) and that it needs to have user-entered password. Don't think I found anything that had how to do all that together. I'm new to Linux, so any help is

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2019-09-18 Thread phanky5
For reasons stated further above I like to propose changing the status of this bug to critical. I eventually managed to setup a swap file and enable hibernation. The following steps are copy pasted together from various different websites. Here are the changes I have made: First find out how larg

Re: [Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2019-09-18 Thread sojusnik
Works fine here with LVM. lsmith schrieb am Mi., 18. Sep. 2019, 14:21: > that approach works only when using a swapfile .. but as noted in the > OP, when using an LVM partition it doesn't work so easily. > > -- > You received this bug notification because you are subscribed to the bug > report.

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2019-09-18 Thread phanky5
Setting up a Swap file is easy enough. Yet it's not the same as having a Swap partition with the correct size. It brings problems down the road with hibernation. I believe the average user wants a large enough Swap partition out of the box with hibernation enabled. More advanced users who don't lik

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2019-09-18 Thread lsmith
that approach works only when using a swapfile .. but as noted in the OP, when using an LVM partition it doesn't work so easily. -- 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 1

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2019-09-18 Thread sojusnik
I manually add 4GB to the swapfile by sudo swapoff /swapfile sudo rm /swapfile sudo fallocate -l 4g /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile sudo swapon -s echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab For further reading: https://help.ubuntu.com

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2019-09-17 Thread phanky5
This is a major problem. I am now forced to do a full reinstall with proper swap allocation. This will set me back at least 1 full business day until I synced all my files again. There are not many common users out there who will go to that extend just to move over to Ubuntu. If there is any solut

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2019-09-17 Thread lsmith
Are there some easy to follow instructions how to increase the partition size without breaking the encryption setup? -- 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 Install

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-12-27 Thread jhunken
The same problem here. Dell XPS 9370. LVM, whole disk encryption, 8GB RAM, 256GB SSD, 975MB swap. After an hour or two of "heavy" usage with various IDEs the laptop literally hangs because the CPU overheats, I believe due to RAM thrashing. I have to walk away from it for 15 mins to let it cool down

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-12-26 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: partman-auto (Ubuntu) Status: New => Confirmed -- 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:

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-12-23 Thread Humphrey van Polanen Petel
I installed 16.04 on a hand-me-down laptop, because I need to support another system that is on 16.04 and it is easier for me to have an identical system I installed 16.04, because later versions do not allow remote control using remmina (# 1790251, 1790249 & 1741027). System is a 8Gb laptop with

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-12-23 Thread Humphrey van Polanen Petel
** Changed in: partman-auto (Ubuntu) Status: Opinion => New -- 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 not

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-10-02 Thread Rick Timmis
We have 3 ASUS Laptops which have been re-imagined from Windows to Ubuntu 18.04, as part of an initial trial to move all 38 laptops to Ubuntu 18.04. Every laptop had been installed with Encryption and LVM, via the installer, and each demonstrated lagging, and hanging at regular intervals througho

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-09-29 Thread OkropNick
The same problem here. LVM, whole disc encryption, 16GB RAM, 120GB SSD, 975MB swap. Any hints how to increase swap to 16GB without losing any data on ubuntu-vg? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-09-28 Thread Dave Long
I also agree that this 1 GB default is terrible. I have 16 GB RAM (maximum allowed on this laptop) and on Ubuntu 16.04 I had 8 GB swap and never noticed any performance issues. Now I reinstalled Ubuntu 18.04 from scratch and ended up with this 1 GB default, once I have a few Docker containers runni

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-07-27 Thread Luciano Glavas
Also installed 18.04 with encryption and LVM on my laptop through the GUI installation. And got ~1GB swap. The process "kswapd0" started take all my CPU and made my new installed laptop freeze/hang. When the process swapped/worked no space left on the allocated swap memory area. Cant really believ

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-07-26 Thread Phillip Susi
Your issue is that you need more memory, not that you do not have enough swap. The system grinds to a halt because swap is *really* slow. You need enough memory so that you don't have to swap. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-07-16 Thread Sean Horan
I totally agree that a 1 GB default is terrible. The problem is invisible to users who don't know how to deal with Linux memory management. The 6 GB laptop I have becomes unusable after a period of average browsing, even with Chrome's tab suspender. There's no warning that people are out of memo

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-07-07 Thread Alexander Petcoglo
Made a fresh install recently and today bumped into heavy lags running a react native app on an Android emulator. Previous 16.04 install had 8 gigs swap and I had no issues with that. It never got full. I find the decision to lower it to 1Gb terrible, especially not giving an option or even a warni

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-06-28 Thread Bast1aan
I think 950MB of swap default is too little for systems with low memory. Default install on a low-end laptop with 4GB of ram supplies me with a 950MB sized swap partition and it is easily filled when running browser with several tabs and some other programs running. Also on 8GB ram machines I ge

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-06-25 Thread Steve Langasek
We have for years before this change not supported hibernate out of the box on the desktop. Regardless of whether the triggering bug report was cloud-oriented, this is not a change made just for the cloud. Having too much swap on desktops is ALSO harmful because it will cause the kernel to enter

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-06-25 Thread dragon788
Per the above the flag appears to work, and it appears that setting the cap still does the automatic detection when the system memory is equal to or less than the cap. For example I hardcoded 16384 per above to handle swap for our 32GB RAM laptops, and on our 16GB RAM laptops it knows the system R

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-06-25 Thread Phillip Susi
IIRC, the default native kernel method does not compress the data, for that you need to install the swsusp2 package I think it was. -- 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: Ubunt

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-06-25 Thread Oliver Grawert
typically hibernation only collects the dirty pages in ram, compresses them and writes them to disk (swap) as an image (unless the code changed dramatically in the last years). you will likely not need a 1:1 mapping of swap to ram ... -- You received this bug notification because you are a membe

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-06-25 Thread dragon788
It can also depend whether you have a discrete GPU or not, as sometimes those don't properly power off and eat a lot more battery when running and possibly when suspended. I frequently take my laptop home in case the on-call phone rings, and if I suspend on a Thursday/Friday and I don't pull it out

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-06-25 Thread Bast1aan
24h is quite short for a laptop not being used, it is less than a weekend. So I'd rather use hibernation for this reason, or I'll find my laptop battery empty on unsuitable moments. It would be nice if the installers uses LVM by default, then it is quite easy to extend the swap partition afterward

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-06-25 Thread Phillip Susi
I'm kind of partial to hibernation myself, but really these days suspend only uses like 1% per hour ( or less ) so unless you are planning on being suspended for 24+ hours, you really don't need to worry about it. -- You received this bug notification because you are a member of Ubuntu Bugs, whic

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-06-22 Thread dragon788
I wonder if it is an opinion that the number of companies using Ubuntu on laptops might be reduced starting with 18.04 considering the amount of extra effort to write a completely custom partman recipe with a larger swap (or assuming the answer above works in the preseed to actually get the old beh

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-06-22 Thread Phillip Susi
Nice to know that the value is configurable. -- 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 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-06-21 Thread Dimitri John Ledkov 🌈
It is intentional to have smaller swaps by default than it used to be the case. you can preseed the cap-ram setting to a higher one, or change the priority to lower one to see that question. there are two other toggles as well, for the case of swapfile swap. ** Changed in: partman-auto (Ubuntu)

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-06-18 Thread Phillip Susi
Change appears to be intentional: partman-auto (134ubuntu1.2) xenial; urgency=medium * Introduce partman-auto/cap-ram, to allow capping RAM size as used for swap partition calculations. This allows us to effectively cap the swap partitions size to maximum of 2*CAP. Default is set to 102

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-06-03 Thread JohnJay
This also happened to me. GUI install, Erase all with encryption selected. With a 250GB SSD and 12GB memory the installer gave me a 1GB swap partition and 249GB root partition. Workaround: I initially tried to resize the partitions manually after installation but this proved tricky ( see this p

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-05-30 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubiquity (Ubuntu) Status: New => Confirmed -- 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: U

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-05-24 Thread dragon788
Possibly related to changes for this "bug"? https://bugs.launchpad.net/ubuntu/+source/partman-auto/+bug/1351267 -- 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 cr

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-05-19 Thread Paul White
** Tags added: bionic -- 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

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-05-18 Thread Brian Murray
** Also affects: ubiquity (Ubuntu) Importance: Undecided Status: New -- 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 T

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-05-11 Thread dragon788
Just discovered I'm having the same issue. I used `d-i partman- auto/choose_recipe select atomic` for the install along with `d-i partman-auto-lvm/guided_size string max`. I can dump all the partman parameters here if that helps. -- You received this bug notification because you are a member of U

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-05-11 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: partman-auto (Ubuntu) Status: New => Confirmed -- 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:

[Bug 1767299] Re: Ubuntu 18.04 Installer creates swap partition too small

2018-05-11 Thread Johon Doee
Hello. Is there somebody looking into this problem? No comment from ubuntu-devs so far and I wonder if this report is even noticed. To me the importance of the problem seems to be high at least because it might affect all users choosing auto partition, lvm and encryption when installing ubuntu