Code Monkey home page Code Monkey logo

noir_linux_kernel's Introduction

Custom linux kernel "Noir Linux kernel"
Web site URL : http://vsrx.work
Created by takamitsu hamada
August 7,2024

このカスタムカーネルは、Ubuntu向けです。
リアルタイム性能・レスポンス性能の向上を図ります。

カーネルをビルドをする場合は、以下の物が必要です。いずれもAPT経由で入手出来ます。
- build-essential
- GCC
- debhelper

Gitのリリースページで公開しているバイナリをダウンロードしてインストールする場合は以下のコマンドを使います。
[リリースページ]
https://github.com/takabrk/noir_linux_kernel/releases

$ sudo dpkg -i *.deb


カスタムカーネルには、様々なパッチを適用しています。
noir_rt.patch、noir_xenomai.patchは、それらのパッチを統合した物であり、これをバニラカーネル( https://www.kernel.org )のソースコードに当てる事で、カスタムカーネル用のソースコードを作る事も可能です。
PREEMPT_RT版以外に、オプションでXenomai版をビルド出来ます。

1.Noir Linux Kernelパッチの組み立て
$ ./build.sh -e patch -f rt (PREEMPT_RT版)
$ ./build.sh -e patch -f xenomai (Xenomai版)

2.バニラカーネルのソースコード取得と解凍
$ ./build.sh -e vanilla -f rt (PREEMPT_RT版)
$ ./build.sh -e vanilla -f xenomai (Xenomai版)

3.パッチ当て
$ ./build.sh -e source -f rt (PREEMPT_RT版)
$ ./build.sh -e source -f xenomai (Xenomai版)

4.前述を行った後にカスタムカーネルのビルド
$ ./build.sh -e build -f rt (PREEMPT_RT版)
$ ./build.sh -e build -f xenomai (Xenomai版)

5.カーネルのインストール
$ ./build.sh -e install_kernel -f rt (PREEMPT_RT版)
$ ./build.sh -e install_kernel -f xenomai (Xenomai版)

[PREEMPT_RT版スペック]
- Built on the GCC 12.1.0
- CPU scheduler -> EEVDF
- Default I/O scheduler -> MQ-deadline
- Processor family -> Generic X86_64
- Preemption Model -> Fully Preemptible Kernel (Real Time) 
- CPU Timer frequency -> 500Hz
- Kernel Compression mode -> zstd
- RCU boost delay -> 339
- Timer tick handling -> Full dynticks system
- Default CPUFreq Governor -> schedutil
- CPU idle governor -> TEO
- Core scheduling for SMT ON
- futex support
- BBR3 support
- bcachefs support
- Clear Linux support
- ACS Overdrive support
- OpenRGB support

[patches]
https://www.kernel.org/
https://github.com/zen-kernel/zen-kernel
https://github.com/sirlucjan/kernel-patches 
https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/
https://github.com/Frogging-Family/linux-tkg

◇I/Oスケジューラー確認方法
現在使っているI/Oスケジューラーの確認方法は、端末で以下のコマンドを実行する事で出来ます。

$ cat /sys/block/sd*/queue/scheduler

I/Oスケジューラーを変更するには、以下のコマンドを実行します。

# echo 変更したいスケジューラー > /sys/block/sda/queue/scheduler

設定を永続化するには、起動時に「elevator=変更したいスケジューラー」を付けます。

システムのパフォーマンスとPulseAudioの音質を向上させたい場合は、以下のコマンドを使います。
$ ./performanceup.sh

noir_linux_kernel's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.