Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.
/ Linux-YAOK Public archive

Linux-YAOK 🐧 Yet Another Optimizer Kernel 🐧

Notifications You must be signed in to change notification settings

Gontier-Julien/Linux-YAOK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️This project is now read-only and deprecated⚠️

Linux-YAOK 🐧

Yet Another Optimized Kernel

Yet another one

Linux Yaok is a kernel with Stability First and Performance in mind.

Featury bits & pieces

  • Build with Clang/LLVM Full-Lto
  • x86-64-v2 as the base Kernel architecture
  • Dedicated Kernel for x86-64-v3 architectures
  • Build with -02 and latest LTS cycle for stability
  • PREEMPT & MGLRU enabled by default
  • Tweaked default CFS CPU Scheduler
  • No OC, timer frequency is set at 250HZ base
  • Follow some Upstream Kernel changes
  • Removed a lot of debug and logging options

Linux-YAOK follow always follow the latest LTS cycles and is tested before it is going in the repo.

It while be updated every 5 versions.

With my current setup it not possible for me to compile each kernel every time a new version come out.


But if you're on Arch Linux don't use the LTS kernel (probably a "I use Arch BTW" elite user)

All people who use Arch Linux, also want to have a kernel that is stable and not always bleading edge.

I also recommend to take a small look at the Wiki

Recommandations

Add this to the end of your sysctl.conf:

vm.swappiness=10 (set it to 0 if you don't have a swap)
vm.vfs_cache_pressure=50
vm.dirty_ratio = 10
vm.dirty_background_ratio = 5
net.ipv4.tcp_fastopen = 3
net.ipv4.tcp_tw_reuse = 1
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr

This should improve performance further.


Add this udev rule to save a bit of power. (~1.5 Watts per disk)

/etc/udev/rules.d/hd_power_save.rules

ACTION=="add", SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="med_power_with_dipm"

Repo

Add this to the end of your pacman.conf:

⚠️The repo as resently moved to a new place, and will not be provided trougth GitHub anymore⚠️

[linux-yaok]
SigLevel = PackageOptional
Server = https://linuxyaok.dedyn.io/

DKMS

Since Linux YAOK use Clang/LLVM, you will need to edit your /etc/dkms/framework.conf config to make the module compile for the kernel.

Add the following at the end of you're /etc/dkms/framework.conf file:

export LLVM=1
export CC=clang

Check if your system support the x86-64-v2 and x86-64-v3 architectures

(processor from before the Nehalem ear (November 11, 2008))


Check which architecture-levels your CPU supports with:

/lib/ld-linux-x86-64.so.2 --help

Example output if your system supporting up to x86-64-v3:

Subdirectories of glibc-hwcaps directories, in priority order:
  x86-64-v4
  x86-64-v3 (supported, searched)
  x86-64-v2 (supported, searched)

TODO

  • Switching the base architecture to x86-64-v2
  • Build server and official repo
  • Signed packages
  • Add builds for Debian

Contributors

Thanks to all those people that have made this kernel possible:

SirLucjan for the main patches

The Frogging-Family for their patches

And all of the Linux Kernel Developers and Supporters

About

Linux-YAOK 🐧 Yet Another Optimizer Kernel 🐧

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

Languages