Historical: Linux-based prototype
Process and game priority
This page documents the earlier Linux-based prototype as of 24 November 2026. It does not describe the independent Khelforge OS, and its steps are not instructions for it. See the independent Khelforge OS.
Priority is about who waits when there is not enough processor time, memory or disk access. Khelforge does not detect games, raise their priority or lower that of other programs.
General background
Section titled “General background”| Mechanism | Effect |
|---|---|
| Nice value | Shifts the share of processor time when programs compete |
| Control group weights and limits | Divide or cap processor, memory and disk use for groups of programs |
| Real-time scheduling | Runs ahead of normal programs. A fault can freeze the desktop, so it is normally restricted |
| I/O priority | Orders disk requests, if the disk scheduler supports it |
Raising one program lowers others. Audio, the compositor and input handling must not starve, or the game will feel worse with a higher frame counter. Priority also does little when the limit is the GPU, heat, or a single thread that is already running all the time.
What Khelforge does today
Section titled “What Khelforge does today”- Nothing automatic. No process is renamed, reprioritised, paused or ended for a game.
- Memory profiles. A user can start a new program with a soft memory limit. See memory.
- GameMode. An optional third-party package that games can ask for priority. See GameMode. Khelforge neither configures it nor has tested it.
- End Task. A user can ask a program to close from Task Manager. It sends a normal request to close after confirmation, only to the user’s own processes. There is no forced kill.
Why it stays cautious
Section titled “Why it stays cautious”Khelforge does not end programs under memory pressure, clear caches or set hard memory limits. A confirmed End Task can still close the user’s own session services, which is a remaining risk before production.
What is planned
Section titled “What is planned”Game performance profiles are planned and not started.