mirror of
https://github.com/ananthb/ansible-role-scx.git
synced 2026-09-20 16:26:53 +00:00
Ansible role to install sched-ext/scx userspace schedulers
| defaults | ||
| handlers | ||
| meta | ||
| tasks | ||
| LICENSE | ||
| README.md | ||
ansible-role-scx
Ansible role to install and configure sched-ext schedulers.
Requirements
- Linux kernel >= 6.12 with sched-ext support
- Supported distros: Fedora 39+, Ubuntu Noble+, Debian Bookworm+, Arch Linux
Usage
- hosts: servers
roles:
- role: scx
scx_scheduler: scx_rusty
Variables
| Variable | Default | Description |
|---|---|---|
scx_scheduler |
scx_rusty |
Scheduler to enable (scx_rusty, scx_lavd, scx_bpfland, etc.) |
scx_install_method |
package |
Install via package or source |
scx_service_enabled |
true |
Enable service at boot |
scx_service_started |
true |
Start service immediately |
scx_scheduler_args |
"" |
Extra arguments for the scheduler |
scx_verify_kernel |
true |
Check kernel compatibility before install |
Source builds only
| Variable | Default | Description |
|---|---|---|
scx_git_repo |
https://github.com/sched-ext/scx.git |
Git repository |
scx_git_version |
main |
Branch/tag to build |
scx_install_all_schedulers |
true |
Build all schedulers |
scx_schedulers_to_install |
[scx_rusty, scx_lavd, scx_bpfland] |
Specific schedulers (when above is false) |