[pve-devel] [PATCH installer 0/4] tui, auto: re-use default zfs arc calculation from run env
Christoph Heiss
c.heiss at proxmox.com
Fri Feb 28 10:43:35 CET 2025
As discovered during the PMG 8.2 release cycle and suggested by Thomas, unify
the ZFS ARC maximum calculation between GUI and TUI.
In short; this series exports the calculated default value for the ZFS ARC
maximum size in the `run-env.json` file. In turn, this is read by common Rust
and can be used from there in the TUI and auto-installer.
Diffstat
========
Christoph Heiss (4):
run env: provide default ZFS ARC maximum size value
tui: use default ZFS ARC maximum size from runtime enviroment
auto: use default ZFS ARC maximum size from runtime enviroment
gtk, tui: leave 1 GiB headroom for OS in ZFS ARC max size edit view
Proxmox/Install/RunEnv.pm | 10 +++-
proxinstall | 3 +-
proxmox-auto-installer/src/utils.rs | 2 +-
.../resources/parse_answer/disk_match.toml | 1 +
.../parse_answer/disk_match_all.toml | 1 +
.../parse_answer/disk_match_any.toml | 1 +
.../tests/resources/parse_answer/zfs.toml | 1 +
.../zfs_raid_level_uppercase.toml | 1 +
.../tests/resources/run-env-info.json | 2 +-
proxmox-installer-common/src/options.rs | 58 +------------------
proxmox-installer-common/src/setup.rs | 3 +
proxmox-tui-installer/src/views/bootdisk.rs | 48 ++++++---------
test/zfs-arc-max.pl | 12 +---
13 files changed, 43 insertions(+), 100 deletions(-)
--
2.47.1
More information about the pve-devel
mailing list