Files
linux_system_tuning/one-button-optimizer.sh
mindesbunister ac74501319 Add comprehensive Proxmox host analysis before optimization
New features:
- analyze_proxmox_status() function shows detailed system state
  - RAM usage and allocation
  - VM/Container count and status
  - Total VM memory allocation and overcommit ratio
  - Storage status (pvesm)
  - Current kernel parameters vs recommended
  - CPU governor status
  - ZFS ARC size (if applicable)
  - Existing optimizations detection

- Added optimize_cpu_governor() function
  - Sets CPU to 'performance' mode for VMs
  - Makes persistent via cpufrequtils

- Added optimize_zfs_arc() function
  - Limits ZFS ARC to 25% of RAM
  - Frees more RAM for VMs
  - Updates initramfs for persistence

Analysis now runs automatically when Proxmox is detected,
showing comprehensive system status before mode selection.
2025-10-06 11:11:30 +02:00

66 KiB
Executable File