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
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
** 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
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
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
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
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
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
- 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
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
@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
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
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
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
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.
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
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
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
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
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
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
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:
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
** 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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)
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
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
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
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
** 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
** 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
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
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:
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
51 matches
Mail list logo