XanMod Kernel Installation

你若要喜爱你自己的价值,你就得给世界创造价值。

——神聖羅馬帝國法蘭克福/约翰·沃尔夫冈·冯·歌德

XanMod Linux Kernel Installation Guide

Install via Terminal

Meta packages available: linux-xanmod [5.12], linux-xanmod-edge [5.12], linux-xanmod-lts [5.10], linux-xanmod-cacule [5.12-cacule], and linux-xanmod-rt [5.10-rt].

  1. Add the repository:
1
echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list
  1. GPG key:
1
wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key --keyring /etc/apt/trusted.gpg.d/xanmod-kernel.gpg add -
  1. Then update and install:
1
sudo apt update && sudo apt install linux-xanmod
  1. Reboot.

  2. One-line Command

1
echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list && wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key --keyring /etc/apt/trusted.gpg.d/xanmod-kernel.gpg add - && sudo apt update && sudo apt install linux-xanmod

Experimental Builds

  1. Intel
1
sudo apt install intel-microcode iucode-tool
  1. AMD:
1
sudo apt install amd64-microcode

Setting the FQ-PIE Queuing Discipline

To use the new FQ-PIE Queue Discipline (>= Linux 5.6) in systems with systemd (>= 217), will need to replace the default fq_codel.

1
echo 'net.core.default_qdisc = fq_pie' | sudo tee /etc/sysctl.d/90-override.conf

Save and reboot.

Check it:

1
tc qdisc show

Reference

  1. XanMod Kernel
  2. 安装 XanMod 内核提升核心应用程序效率