What are typical durations of an operating system process/thread scheduling quantum? I realize that this can vary with the scheduling algorithm, priorities, workloads, hardware, etc., so I'm expecting answers to come with conditions/assumptions, or to be ballpark.
I can find examples that seem to suggest something on the order of 16 milliseconds from various OS class notes found via Google, but I have no idea how grounded in reality these examples are.
According to answers to this question: How to know linux scheduler time slice?
Linux will change the timeslice based on latency goals, but defaults to somewhere between 0.75 ms and 6 ms.
Acoording to answers to this question: https://superuser.com/questions/1326252/changing-windows-thread-sheduler-timeslice
Windows uses timeslices between 20 msec and 120 msec, depending on the version of windows and whether the program in question is in the foreground.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With