Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/igo95862/cfs-zen-tweaks
Tweak Linux CPU scheduler for desktop responsiveness
https://github.com/igo95862/cfs-zen-tweaks
Last synced: 17 days ago
JSON representation
Tweak Linux CPU scheduler for desktop responsiveness
- Host: GitHub
- URL: https://github.com/igo95862/cfs-zen-tweaks
- Owner: igo95862
- License: gpl-2.0
- Created: 2021-11-07T13:41:03.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-12T17:27:07.000Z (about 1 year ago)
- Last Synced: 2024-12-10T07:52:28.421Z (26 days ago)
- Language: Shell
- Homepage:
- Size: 28.3 KB
- Stars: 172
- Watchers: 12
- Forks: 12
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-starred - igo95862/cfs-zen-tweaks - Tweak Linux CPU scheduler for desktop responsiveness (Shell)
- awesome-starred - igo95862/cfs-zen-tweaks - Tweak Linux CPU scheduler for desktop responsiveness (Shell)
README
# CFS ZEN tweaks
## Description
The default CPU scheduler in the mainline Linux kernel
is [Completely_Fair_Scheduler (CFS)](https://en.wikipedia.org/wiki/Completely_Fair_Scheduler).The upstream default settings are tweaked for high throughput which make the desktop applications
unresponsive under heavy CPU loads. This project contains a script that sets the CFS to use same
settings as the [linux-zen ](https://github.com/zen-kernel/zen-kernel) kernel does.## Getting Started
### Dependencies
Runtime dependencies:
* bash
* gawk
* systemd (for systemd unit)Build dependencies:
* cmake
### Installing
Available on [AUR](https://aur.archlinux.org/packages/cfs-zen-tweaks/).
Also see [releases page](https://github.com/igo95862/cfs-zen-tweaks/releases) for built RPM and DEB packages.
You can also build from source using cmake build system.
### Enabling systemd unit
Tweaks can be applied on boot using provided systemd unit.
```
systemctl enable --now set-cfs-tweaks.service
```### Secure Boot
If you have Secure Boot the script might not be able to run. [See this thread for directions.](https://github.com/igo95862/cfs-zen-tweaks/issues/3)
## Version History
* 1.3.0
* Add support for EEVDF scheduler from kernel 6.6
* 1.2.0
* Fixed SELinux preventing systemd unit to run on Fedora (now script resides in `/usr/sbin` directory)
* Gave unique name to script. (now is called `set-cfs-zen-tweaks.bash`)
* 1.1.1
* Fixed systemd unit not applying tweaks after suspend or hibernate
* 1.1.0
* Added support for kernels before version 5.13
* 1.0.0
* Initial Release## License
This project is licensed under the [GPL-2.0-only](https://spdx.org/licenses/GPL-2.0-only.html) License - see the COPYING file for details