devuan linux desctop install and zen-kernel Kernel
Posted: Mon Oct 07, 2024 4:31 pm
Code: Select all
git clone https://github.com/zen-kernel/zen-kernel.git
Code: Select all
sudo apt-get update
sudo apt-get install build-essential libncurses-dev bison flex libssl-dev libelf-dev devscripts
Code: Select all
cd liquorix-package
cd zen-kernel
Code: Select all
cp /boot/config-$(uname -r) .config
make menuconfig
In the menuconfig interface, do the following:
===================================================================================================
Processor type and features:
Navigate to Processor type and features → Processor family.
Select AMD Zen 3 (or Zen 2, if Zen 3 is not listed).
Zen 3 optimizations will target the architecture of your Ryzen 5800H.
Enable Performance Tuning:
Power management and ACPI options: Enable AMD ACPI to take advantage of AMD's power management features.
CPU frequency scaling: Ensure AMD P-state driver is enabled, which is more efficient on Ryzen CPUs.
Enable CPPC (Collaborative Processor Performance Control) to help the kernel manage power levels for better efficiency on Zen 3 processors.
Optimize for Desktop Performance (optional):
Go to General Setup → Preemption Model.
Set it to Preemptible Kernel (Low-Latency Desktop) for desktop use (improves responsiveness).
Other Ryzen-Specific Settings:
In Power management and ACPI options, ensure SMP (Symmetric Multi-Processing) is enabled to make use of all your CPU cores.
Under Processor type and features, make sure SMT (Simultaneous Multi-Threading) is enabled. This will let you use your Ryzen's threads fully.
Once you've configured the kernel for Ryzen, exit the menu and save the configuration.
=========================================================================================================
Code: Select all
make -j8 deb-pkg
sudo update-grub