ziofill
9 months ago
https://www.zdnet.com/article/20-years-later-real-time-linux...
This article explains well why PREEMPT_RT is a big deal and why it was so much work to get in into the kernel.
infogulch
9 months ago
Recent discussion:
Real-time Linux is officially part of the kernel (arstechnica.com) | 500 points | 139 comments | 10 days ago | https://news.ycombinator.com/item?id=41594862
7e
9 months ago
That article claims that without NO_HZ Linux wouldn’t be running in datacenters. Um, no. Many hyperscalers still haven’t enabled it! Stopped reading there.
jpgvm
9 months ago
Yeah that is hyperbole but NO_HZ=full and friends are extremely useful for latency sensitive workloads. i.e busy-loop polling workloads that need to rip things as fast as possible out of DMA buffers etc.
However I would say the more useful features are the less crazy version in cpusets and the various tools to deal with irq pinning. These are in extremely wide use at this point and make a world of difference even if you aren't trying to squeeze every possible thing off your cores.
amelius
9 months ago
Are there any good books or other resources yet on realtime programming on Linux?