The linux scheduler is a work of art - heuristics to dynamically determine resource access priority, checks for resource locking that are some of the most elegant pieces of code written by humanity, incredibly adaptable and clever pieces of code. It took me the better part of a year before I really understood the underlaying mechanics, and even now I could by no means reproduce it on my own. It’s truly an amazing bit of mathematics.
Windows solves the same problem by randomly elevating processes to maximum priority.
Warl0k3@lemmy.world 5 days ago
Yes/no.
The linux scheduler is a work of art - heuristics to dynamically determine resource access priority, checks for resource locking that are some of the most elegant pieces of code written by humanity, incredibly adaptable and clever pieces of code. It took me the better part of a year before I really understood the underlaying mechanics, and even now I could by no means reproduce it on my own. It’s truly an amazing bit of mathematics.
Windows solves the same problem by randomly elevating processes to maximum priority.
Depressingly, they’re equally effective.