1
1

Compression: Try out zstd #2

Closed
opened 2024-10-05 10:02:00 +02:00 by nfr · 3 comments
Owner

Try how other compression formats like zstd perform on my personal machine.

In my eyes the interesting situation around xz is resolved and we can probably trust the code base again, but having a plan B is always neat, and I’m curious, too.

Try how other compression formats like zstd perform on my personal machine. In my eyes the interesting situation around xz is resolved and we can probably trust the code base again, but having a plan B is always neat, and I’m curious, too.
Author
Owner

As a first data point, leaving some outputs here:

% systemd-analyze
Startup finished in 19.671s (firmware) + 5.626s (loader) + 58.612s (kernel) + 2min 5.721s (userspace) = 3min 29.631s
% du -b /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.1*
23887408        /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.10.10-T14s.efi
23923760        /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.10.11-T14s.efi
23926320        /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.10.12-T14s.efi
24527920        /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.11.2-T14s.efi

As a first data point, leaving some outputs here: ``` % systemd-analyze Startup finished in 19.671s (firmware) + 5.626s (loader) + 58.612s (kernel) + 2min 5.721s (userspace) = 3min 29.631s ``` ``` % du -b /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.1* 23887408 /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.10.10-T14s.efi 23923760 /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.10.11-T14s.efi 23926320 /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.10.12-T14s.efi 24527920 /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.11.2-T14s.efi ```
Author
Owner

Running on 6.11.2 w/ zstd compression (and after cleanup of older kernels and close to rebooting into 6.11.3)

% systemd-analyze
Startup finished in 17.486s (firmware) + 3.351s (loader) + 24.205s (kernel) + 2min 4.530s (userspace) = 2min 49.573s
graphical.target reached after 2min 4.147s in userspace.
% du -b /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.1*
27636784        /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.11.2-T14s.efi
27696688        /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.11.3-T14s.efi
Running on 6.11.2 w/ zstd compression (and after cleanup of older kernels and close to rebooting into 6.11.3) ``` % systemd-analyze Startup finished in 17.486s (firmware) + 3.351s (loader) + 24.205s (kernel) + 2min 4.530s (userspace) = 2min 49.573s graphical.target reached after 2min 4.147s in userspace. ``` ``` % du -b /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.1* 27636784 /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.11.2-T14s.efi 27696688 /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.11.3-T14s.efi ```
Author
Owner

Running on 6.12.8 w/ zstd compression:

Startup finished in 14.360s (firmware) + 5.050s (loader) + 34.844s (kernel) + 2min 6.137s (userspace) = 3min 393ms
graphical.target reached after 2min 5.016s in userspace.
% du -b /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.12.8-T14s.efi
32133168        /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.12.8-T14s.efi

Looks okayisch to me. I’ll stay on ZSTD for now.

Running on 6.12.8 w/ zstd compression: ``` Startup finished in 14.360s (firmware) + 5.050s (loader) + 34.844s (kernel) + 2min 6.137s (userspace) = 3min 393ms graphical.target reached after 2min 5.016s in userspace. ``` ``` % du -b /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.12.8-T14s.efi 32133168 /boot/EFI/Linux/52561e7e078988ee996922f760027124-6.12.8-T14s.efi ``` Looks okayisch to me. I’ll stay on ZSTD for now.
nfr closed this issue 2025-01-06 16:54:01 +01:00
Sign in to join this conversation.
No Label
No Milestone
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nfr/linux-configs#2
No description provided.