linux-tkg/linux58-tkg/README.md

64 lines
2.7 KiB
Markdown

2020-06-14 20:32:10 +07:00
**Due to intel_pstate poor performances as of late, I have decided to set it to passive mode to make use of the acpi_cpufreq governors passthrough, keeping full support for turbo frequencies.**
### MuQSS is not an available option for this revision yet
2020-06-14 20:32:10 +07:00
A custom Linux kernel 5.8.y with specific PDS and Project C / BMQ CPU schedulers related patchsets selector (stock CFS is also an option) and added tweaks for a nice interactivity/performance balance, aiming for the best gaming experience.
Project C / BMQ : http://cchalpha.blogspot.com/
2020-06-14 20:32:10 +07:00
PDS-mq was originally created by Alfred Chen : http://cchalpha.blogspot.com/
While he dropped it with kernel 5.1 in favor of its BMQ evolution/rework, my pretty bad gaming experiences with BMQ up to this point convinced me to keep PDS afloat for as long as it'll make sense/I'll be able to.
Various personalization options available and userpatches support (put your own patches in the same dir as the PKGBUILD, with the ".mypatch" extension.
Comes with a slightly modified Arch config asking for a few core personalization settings at compilation time.
If you want to streamline your kernel config for lower footprint and faster compilations : https://wiki.archlinux.org/index.php/Modprobed-db
You can enable support for it at the beginning of the PKGBUILD file. Make sure to read everything you need to know about it.
## Other stuff included:
- Graysky's per-CPU-arch native optimizations - https://github.com/graysky2/kernel_gcc_patch
2020-06-14 20:32:10 +07:00
- memory management and swapping tweaks
- scheduling tweaks
- optional "Zenify" patchset using core blk, mm and scheduler tweaks from Zen
- CFS tweaks
- using yeah TCP congestion algo by default
- using cake network queue management system
2020-08-17 07:20:56 +07:00
- using vm.max_map_count=524288 by default
2020-06-14 20:32:10 +07:00
- cherry-picked clear linux patches
- **optional** overrides for missing ACS capabilities
- **optional** Fsync support (proton)
2020-08-17 07:20:56 +07:00
## Install procedure
### Arch & derivatives
2020-06-14 20:32:10 +07:00
```
git clone https://github.com/Frogging-Family/linux-tkg.git
2020-08-17 07:20:56 +07:00
cd linux-tkg/linux58-tkg
# Edit customization.cfg file
2020-06-14 20:32:10 +07:00
makepkg -si
```
2020-08-17 07:20:56 +07:00
### Ubuntu & derivatives
```
git clone https://github.com/Frogging-Family/linux-tkg.git
cd linux-tkg/linux58-tkg
# Edit customization.cfg file to at least set _distro to "Ubuntu"
./install.sh install
```
To uninstall custom kernels installed through the script:
```
cd path/to/linux-tkg/linux58-tkg
./install.sh uninstall
```
### Other linux distributions
Other distros are not supported, Debian may work with the `install.sh` script. Otherwise,
that same `install.sh` script can clone, patch and edit a `.config` file from your current distro's
that is expected at ``/boot/config-`uname -r`.config``. Otherwise it won't work as-is.
The command to do for that is:
```
./install.sh config
```