Ensure minimum total memory available to desktop systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* A Desktop install with a Desktop Environment, a web-browser, web-browser based apps (vscode / mattermost / slack / spotify / keybase / etc), may use quite a bit of RAM
* To elivate or delay OOM behaviour bump our swap & ram calculations
* Ensure that total available memory (RAM+SWAP) is at least 8GB, without taking up more than 10% of disk space (in non-zfs unencrypted case only).
[Test Plan]
* Perform following installs:
- unencrypted
- encrypted LUKS
- zfs
- zfs encrypted
* .... with following ram configurations
- 2GB RAM
- 5GB RAM
- 8GB RAM
- 10GB RAM
* Which should result in
- 6GB of SWAP
- 3GB of SWAP
- 2GB of SWAP
- 2GB of SWAP
[Where problems could occur]
* For a number of low RAM combinations this will result in higher swap sizes; which will be a higher % of disk space, meaning minimum amount of disk space required is also going up.
* Higher RAM machines should not experience any changes
[Other Info]
* This is primarily driven by average basic desktop usage, with amount of anonymous pages that can be swapped out, as they are unused.
Related branches
- Nick Rosbrook (community): Approve
- Ubuntu Installer Team: Pending requested
-
Diff: 179 lines (+82/-10)6 files modifiedd-i/source/partman-auto/debian/partman-auto.templates (+33/-5)
d-i/source/partman-auto/lib/recipes.sh (+34/-2)
d-i/source/partman-auto/recipes-amd64-efi/atomic (+1/-1)
d-i/source/partman-auto/recipes/atomic (+1/-1)
d-i/source/partman-swapfile/debian/partman-swapfile.templates (+7/-1)
d-i/source/partman-swapfile/finish.d/create_swapfile (+6/-0)
- Ubuntu Installer Team: Pending requested
-
Diff: 153 lines (+80/-8)4 files modifiedd-i/source/partman-auto/debian/partman-auto.templates (+33/-5)
d-i/source/partman-auto/lib/recipes.sh (+34/-2)
d-i/source/partman-swapfile/debian/partman-swapfile.templates (+7/-1)
d-i/source/partman-swapfile/finish.d/create_swapfile (+6/-0)
description: | updated |
Changed in ubiquity (Ubuntu Jammy): | |
milestone: | none → ubuntu-22.04.1 |
This bug was fixed in the package ubiquity - 22.10.5
---------------
ubiquity (22.10.5) kinetic; urgency=medium
[ Michał Sawicz ]
* Run after cloud-init if installed
[ Dimitri John Ledkov ]
* Ensure minimum available amount of memory available (LP: #1979997)
-- Dimitri John Ledkov <email address hidden> Wed, 13 Jul 2022 14:19:20 +0100