Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
the8472
· 8y ago · 0 comments
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
Comments
[–]
chatmasta
8y ago
For 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-...
[–]
dward
8y ago
This wouldn't even work with the completely fair scheduler, which is the Linux default scheduler.
https://en.m.wikipedia.org/wiki/Completely_Fair_Scheduler
[–]
the8472
OP
8y ago
CFS obeys core isolation and task sets, so it would work
[–]
dward
8y ago
I was speaking of the "odd workaround", not about using cpu isolation.