Linux Performance Tuning with XanMod Kernel

Linux Performance Tuning with XanMod Kernel

XanMod is a general-purpose Linux kernel distribution with custom settings, performance tuned and new features. Built to provide a stable, responsive and smooth desktop experience. You can boost your speed of default/boring Linux kernel with tuned kernel. I’m adding installation steps for Ubuntu/Debian version. Linux Performance Tuning.


  • Pre-emptive Full Tickles Kernel at 500Hz w/ Tuned CPU Core Scheduler.
  • RCU Boost for better responsiveness and lower overall system latency.
  • Full multicore block layer run queue requests for high I/O throughput.
  • Caching, Virtual Memory Manager and CPU Frequency Governor improvements.
  • BBRv2 TCP congestion control + FQ-PIE packet scheduling and AQM algorithm.

Installing Stable Xanmod kernel on Ubuntu/Debian

Add Xanmod kernel repo into the source list of apt. With the following command. And also add GPG key for this repo with wget. Make sure you have wget package.

#Adding source
echo 'deb releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list
#Adding GPG key
wget -qO - | sudo apt-key --keyring /etc/apt/trusted.gpg.d/xanmod-kernel.gpg add -

Start installing current stable version of Xanmod kernel with this following command.

sudo apt update && sudo apt install linux-xanmod

Also try CacULE CPU scheduler with Xanmod Kernel

The CacULE CPU scheduler is based on interactivity score mechanism. The interactivity score is inspired by the ULE scheduler (FreeBSD scheduler). Each CPU has its own run queue, so you get good responsiveness in the Linux environment. And Here is the command to install cacule variants.

Skip previous step if you want to install cacule variant in xanmod kernel with this command.

sudo apt install linux-xanmod-cacule

Finish up

At last, Install The Latest microcode for your CPU with the following command. This will improve your stability. And also enable FQ-PIE in the settings.

#For Intel CPU
sudo apt install intel-microcode iucode-tool
sudo apt install amd64-microcode
#Enable FQ-PIE
echo 'net.core.default_qdisc = fq_pie' | sudo tee /etc/sysctl.d/90-override.conf

Reboot it.

After reboot, check FQ-PIE is enabled by running this command.

tc qdisc show
#qdisc mq 0: dev eno1 root

For Manjaro / Arch Linux Users

It’s already there in AUR repo. So you can install it directly.

sudo pacman -S linux-xanmod

Personally, When I’m installing new distro in my laptop, the first thing I’ll do is installing Xanmod Kernel.

Awesome Linux Performance Tuning with XanMod Linux kernel.

Leave a Reply

Your email address will not be published.