Comment 3 for bug 1979997

Revision history for this message
Benjamin Drung (bdrung) wrote (last edit ):

My test procedure: The the new ubiquity version in QEMU on amd64.

1. Boot ubuntu-22.04-desktop-amd64.iso
2. Select "Try Ubuntu"
3. Open terminal and run:
```
xrandr -s 1920x1080
echo "deb http://archive.ubuntu.com/ubuntu/ jammy-proposed main" | sudo tee /etc/apt/sources.list
sudo apt update
sudo apt install ubiquity-frontend-gtk=22.04.17 ubiquity-ubuntu-artwork=22.04.17 ubiquity=22.04.17
```
4. Start ubiquity and install Ubuntu
5. After reboot check SWAP
```
grep SwapTotal /proc/meminfo
```

Results:

| Type | Memory | SWAP | disk size | Diff |
| unencrypted | 10240 MiB | 2097148 kB | 26.844 GB | 0 |
| unencrypted | 8192 MiB | 2097148 kB | 26.844 GB | 0 |
| unencrypted | 5120 MiB | 2744316 kB | 26.844 GB | |
| unencrypted | 5120 MiB | 2891772 kB | 80.531 GB | -0.24 GiB |
| unencrypted | 2048 MiB | 2744316 kB | 26.844 GB | |
| unencrypted | 2048 MiB | 6191100 kB | 80.531 GB | -0.10 GiB |
| encrypted LUKS | 10240 MiB | 1998844 kB | 107.37 GB | -0.09 GiB |
| encrypted LUKS | 8192 MiB | 1998844 kB | 107.37 GB | -0.09 GiB |
| encrypted LUKS | 5120 MiB | 2756604 kB | 107.37 GB | -0.37 GiB |
| encrypted LUKS | 2048 MiB | 5902332 kB | 107.37 GB | -0.37 GiB |
| zfs | 10240 MiB | 2097148 kB | 107.37 GB | 0 |
| zfs | 8192 MiB | 2097148 kB | 107.37 GB | 0 |
| zfs | 5120 MiB | 2891772 kB | 107.37 GB | -0.24 GiB |
| zfs | 2048 MiB | 6191100 kB | 107.37 GB | -0.10 GiB |
| zfs encrypted | 10240 MiB | 2097148 kB | 107.37 GB | 0 |
| zfs encrypted | 8192 MiB | 2097148 kB | 107.37 GB | 0 |
| zfs encrypted | 5120 MiB | 2891772 kB | 107.37 GB | -0.24 GiB |
| zfs encrypted | 2560 MiB | 5640188 kB | 107.37 GB | -0.12 GiB |

Note:

1. This tests needs to be done with a disk size of >= 60 GB to avoid hitting the 10% of disk space limit.
2. The installation with zfs encrypted with 2 GiB was OOM killed every time (tried multiple times). So I used 2.5 GiB instead.