5 ms·
> The desktop environment had very consistent performance, because QNX doesn't swap. (It's a real time system, after all.) Is it possible to configure Linux to
by secure 9y ago
> The desktop environment had very consistent performance, because QNX doesn't swap. (It's a real time system, after all.)
Is it possible to configure Linux towards this sort of behavior? I disabled swap, and whenever my memory is exhausted aggressively (think a runaway program writing to /tmp, which is on tmpfs), my system comes to a grinding halt.
How does QNX deal with memory pressure?
- Animats 9y agoIn the Photon GUI, there was a bar at the lower right of the screen showing how much memory was in use. If you tried to start a program and it wouldn't fit, you got an error message. Existing programs continued to run, but requests for more memory might return an error. In the real time world, you don't ask the OS for memory after startup for anything critical.
- eikenberry 9y ago> In the real time world, you don't ask the OS for memory after startup for anything critical. What?
- TickleSteve 9y agoDynamic memory allocation is frowned upon in both embedded and real time environments.
- eikenberry 9y agoThat makes sense, but I've never understood "the real world" to be a metaphor for those environments.
- sbierwagen 9y agoHe said "real time world"