2

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.

Greg Kuperberg
  • 3,995
  • 22
  • 24
Yang
  • 16,037
  • 15
  • 100
  • 142

2 Answers2

0

The period of time for which a process is allowed to run uninterrupted in a pre-emptive multitasking operating system.

  • 2
    The OP asked about practical durations of quanta, not the definition of the term. – Hans Feb 16 '15 at 19:02
0

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.

PiRocks
  • 1,708
  • 2
  • 18
  • 29