Historical: Linux-based prototype
Finding the bottleneck
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.
A bottleneck is the part that the rest of the system waits for. This page explains how it is usually found. Khelforge shows only some of the readings needed, and none has been used to diagnose a game.
General background
Section titled “General background”| Sign | Likely limit | Simple test |
|---|---|---|
| GPU load near 100%, lower resolution raises frame rate | GPU | Lower the resolution |
| Low GPU load, one busy thread, resolution makes no difference | CPU, often a single thread | Lower crowd, physics or view distance settings |
| Good average, sharp drops when textures change | Video memory | Lower texture quality |
| Pauses with memory stalls or swap activity | System memory | Close other programs |
| Stutter in new places, smooth the second time | Shader compilation or disk loading | Repeat the same scene |
| Frame rate falls after several minutes | Heat or power | Watch clocks and temperatures over time |
| Frame rate stuck at 30, 60 or the refresh rate | VSync or a frame limit | Change the limiter |
| Good frame rate, feels late | Queueing or display path | See latency |
The limit changes from scene to scene, so a single number rarely tells the whole story. Change one thing at a time.
Total processor use is misleading. On a processor with many cores, a game held back by one full thread can show a low total.
What Khelforge does today
Section titled “What Khelforge does today”| Reading | Available |
|---|---|
| Total CPU use and per-process CPU | Yes |
| Use per core | No |
| Average CPU frequency, CPU package temperature | Yes, where the sensor is recognised |
| Memory, swap, memory pressure, zram | Yes |
| GPU load, video memory, GPU temperature | No |
| Frame time, FPS | No |
| Disk and network activity | No |
| Package power | No |
Memory stalls are the case Khelforge can show best, through Memory Guard. For GPU and frame data it has no source yet. The optional MangoHud package is a third-party tool and has not been tested on Khelforge.