Skip to content

Commit

Permalink
feat: system76-scheduler 2.0.0
Browse files Browse the repository at this point in the history
- Pipewire integration, which auto-assigns and retains a higher priority profile to PIDs connected to Pipewire
- Many performance optimizations
    - Eliminates most memory allocation by reusing buffers when reading files or building paths
    - Avoids performing UTF-8 string checks when not necessary, by using the `bstr`, `atoi`, and `bytelines` crates.
- Disables the kernel's autogroup feature by default so that nice priorities function properly
- Migrated from RON to KDL for configuration files
- Configuration files now have very flexible rules with many new options
- Now supports setting scheduler policies like SCHED_FIFO and SCHED_IDLE
- Assignments can be made based on conditions such as cgroups or parent processs
- Default configuration now automatically detects most system services without needing to explicitly name them
- The CFS profile service can be disabled in the config
- The process scheduler service can also be disabled
- The refresh rate of the process scheduler's PID monitoring service can be configured
- Foreground process assignments can be disabled by removing the `foreground` and/or `background` profile from the configuration file
- Pipewire integration can also be disabled by removing the `pipewire` profile assignment
  • Loading branch information
mmstick authored Apr 25, 2023
1 parent 0fe4d8d commit de4d020
Show file tree
Hide file tree
Showing 41 changed files with 3,976 additions and 1,467 deletions.
6 changes: 1 addition & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"rust-analyzer.checkOnSave.command": "clippy",
"rust-analyzer.checkOnSave.extraArgs": ["--", "-W", "clippy::pedantic"],
"rust-analyzer.server.extraEnv": {
"EXECSNOOP_PATH": "/usr/sbin/execsnoop-bpfcc"
}
"rust-analyzer.check.overrideCommand": ["just", "check-json"],
}
Loading

0 comments on commit de4d020

Please sign in to comment.