It has improved response and performance compared to the regular Ubuntu official kernel.It is especially effective for games and desktop applications.
The default CPU scheduler for the Noir linux kernel is "PDS",and the default I/O scheduler is "MQ-deadline".
Noir linux kernelはUbuntu/Debianに対応したカスタムカーネルです。
複数のパッチを適用しています。通常のUbuntu公式カーネルよりレスポンス性能とパフォーマンスを高めています。特にゲームやデスクトップ用途で高い効果を発揮します。
マルチキューI/Oスケジューラーは、i10・MQ-deadline・Kyber・BFQ-MQをカーネルパラメーターで選択可能になっています。
Noir linux kernelのデフォルトのCPUスケジューラーはPDS、デフォルトのI/OスケジューラーはKyberです。
[Download Noir Linux Kernel(binary,source code,patch)]
Download Noir Linux kernel (binary,source code,patch)
[Noir Linux Kernel patchset for vanilla kernel]
https://github.com/takabrk/viper/blob/main/build_noir_kernel/511/patches/noir.patch
[Change point]
- Updated to linux 5.11.1
- Changed to the default I/O scheduler "Kyber"
- Added zswap patches
[based kernel source]
- linux kernel 5.11( wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.11.tar.xz )
[Optimized kernel configuration]
- CPU shceduler -> PDS
- Default I/O scheduler -> Kyber
- Processer family -> Generic X86_64
- Kernel Compression mode -> zstd
- Preemption Model -> Preemptible Kernel(lowlatency desktop)
- CPU Timer frequency -> 750Hz
- RCU boost delay -> 339
- Compiler optimization level -> Optimize for more performance(-O3)
- Timer tick handling -> Full dynticks system
- Enable utillization clamping for RT/FAIR tasks
- UKSM support
- Default CPUFreq Governor -> performance
- HD-audio pre-allocated buffer size 4096
- BBR2 TCP Congestion Control
- Built on the GCC 10.2.0
- CPU idle governor -> TEO
- PCIe ACS Override support
- futex for Wine/Proton support
- ZSTD kernel and initram support
- TSX -> auto
- Zen Interactive Tuning support
Mem dirty before bg writeback 10% -> 20%
Mem dirty before sync writeback 20% -> 50%
Background-reclaim hugepages no -> yes
[CFS CPU Scheduler]
Scheduling latency 6 -> 4ms
Minimal granularity 0.75 -> 0.4ms
Wakeup granularity 1 -> 0.5ms
CPU migration cost 0.5 -> 0.25ms
Bandwidth slice size 5 -> 3ms
Task rebalancing threshold 32 -> 256
Ondemand sampling down factor 1 -> 5
[MuQSS CPU Scheduler]
Scheduling interval 6-> 4 ms
ISO task max realtime use 70 % -> 25 %
Yield type 1 -> 0
- Meltdown,spectre_v1,spectre_v2 : Mitigation
- Clear Linux support
- rt_runtime 95000 -> 98000
- rq_affinity 2
[Applied patches]
- linux 5.11.1 patch( https://www.kernel.org/ )
- Project C 5.11-r0 patch( https://gitlab.com/alfredchen/linux-prjc/-/releases | http://cchalpha.blogspot.com/ )
- i10( https://github.com/i10-kernel/upstream-linux | https://lore.kernel.org/lkml/20201112140752.1554-1-rach4x0r@gmail.com/ )
- CK1 patch( http://ck-hack.blogspot.com/ )
- Zen Patches( https://github.com/torvalds/linux/compare/master...zen-kernel:5.11/zen-sauce )
- futex-multiple-wait from Zen kernel( https://github.com/torvalds/linux/compare/master...zen-kernel:5.11/futex-multiple-wait-v3 )
- patches( https://github.com/sirlucjan/kernel-patches/tree/master/5.11 )
0001-UKSM-for-5.11.patch
0001-clearlinux-patches.patch
0001-LL-kconfig-add-750Hz-timer-interrupt-kernel-config-o.patch
0004-mm-set-8-megabytes-for-address_space-level-file-read.patch
0003-block-set-rq_affinity-2-for-full-multithreading-I-O.patch
0001-v4l2loopback-5.11-initial-merge.patch
0001-zswap-patches.patch
- seccomp: Implement syscall isolation based on memory areas( https://lore.kernel.org/lkml/50a9e680-6be1-ff50-5c82-1bf54c7484a9@gmail.com/T/#m9f74cfb8d6f5356a428e88b097ba3fda832179fa )
◇インストール方法
dpkgコマンドを使ってインストール可能です。また、同梱しているインストールスクリプトを端末で実行する事でもインストールする事が出来ます。
$ ./install.sh
◇ダウンロード方法
OneDriveのアカウントが無くてもダウンロードは出来ます。ダウンロードしたいファイルの上で右クリックするとメニューが表れます。


◇I/Oスケジューラー確認方法
現在使っているI/Oスケジューラーの確認方法は、端末で以下のコマンドを実行する事で出来ます。
$ cat /sys/block/sd*/queue/scheduler
I/Oスケジューラーを変更するには、以下のコマンドを実行します。
# echo 変更したいスケジューラー > /sys/block/sda/queue/scheduler
設定を永続化するには、起動時に「elevator=変更したいスケジューラー」を付けます。
◇マルチキュー設定方法
また、SSDやHDDの種類によって自動的にI/Oスケジューラーを変更する設定の永続化を行うには、以下のようなファイルを作成します。
https://wiki.archlinux.jp/index.php/%E3%83%91%E3%83%95%E3%82%A9%E3%83%BC%E3%83%9E%E3%83%B3%E3%82%B9%E3%81%AE%E6%9C%80%E5%A4%A7%E5%8C%96#.E3.82.AB.E3.83.BC.E3.83.8D.E3.83.AB.E3.83.91.E3.83.A9.E3.83.A1.E3.83.BC.E3.82.BF.E3.81.AE.E8.AA.BF.E6.95.B4
◇/etc/udev/rules.d/60-ioschedulers.rules
# set scheduler for non-rotating disks
ACTION=="add|change", KERNEL=="sd[a-z]|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline"
# set scheduler for rotating disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"
[Full tickless]
1.Edited /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="nohz_full=1"
2.Make grub config
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
3.reboot system