@NeonPurpleStar Phones aren't the most worrying one for me, like them hanging for a second or more can be infuriating in some situations (I know, it happened to me, which is why I which RTOS/L4/… would be used on phones again) but that's about it.
I know for a fact that there's vehicles running linux…
@lispi314@zardoz03 Yeah, because they're pretty different things: - PREEMPT_RT is roughly a scheduler setting and barely has much do with real-time and so ought to be renamed. - On the other hand an actual real-time OS would have either timebound calls (say via timeouts) or non-blocking calls. This means you programs simply *cannot* be frozen due to I/Os or the network being suddenly slow.
@zardoz03 Yeah, multi-user is not typically the architecture one would use.
The funny part is that gamers/gentoo would suffer from it (https://ubuntu.com/blog/what-is-real-time-linux-i that part in misconceptions) unless their workload is one of the specific few that benefits from it, lol.
They'd be better off just tuning process priority/niceness & IO niceness as needed.
Which makes me wonder if the same solution would also suffice for @lanodan's phone issues (and of course that's not available from Android :/ )
@lispi314@lanodan i think there are different tick schedulers and things but primarily heard it in context of gamers^gentoo; but more abstractly i do not know if RT and MultiUser are a good fit, given how linux was made to be a desktop unixen
@lispi314@zardoz03 And there’s things that I guess shouldn’t be syscalls anymore like stat(2) or even worse getdents(2) (Who remembers their file picker getting hard-stuck for a while when loading /usr/bin on an HDD) that you would probably answer asynchronously in an RTOS.
@lispi314@zardoz03 Yeah I think for the /usr/bin case caching and filesystems got better.
These days the only part where I still get directory listing hang is when using a network mount and going through directories that weren’t cached yet (I should maybe add something like a poststart script to netmount to warm some of those directories).