3 ms·
That's a pretty odd workaround considering that you can reserve cores to the point where not even kernel tasks run on them and then pin a single userspace threa
by the8472 9y ago
That's a pretty odd workaround considering that you can reserve cores to the point where not even kernel tasks run on them and then pin a single userspace thread to that core so it can run without ever being preemptively descheduled
- chatmasta 9y agoFor anyone like me who hadn't heard of this possibility before, I'll save you a few seconds of googling: https://stackoverflow.com/questions/13583146/whole-one-core-dedicated-to-single-process https://stackoverflow.com/questions/13583146/whole-one-core-...
- dward 9y agoThis wouldn't even work with the completely fair scheduler, which is the Linux default scheduler. https://en.m.wikipedia.org/wiki/Completely_Fair_Scheduler https://en.m.wikipedia.org/wiki/Completely_Fair_Scheduler