Re: SCHED_ULE question

From: Terry Lambert <tlambert2_at_mindspring.com>
Date: Tue, 08 Apr 2003 07:26:48 -0700
"Wilkinson,Alex" wrote:
> Cool, thanks for that, but what's the diff between:
> 
> #sysctl kern.quantum
> kern.quantum: 100000
> 
> AND
> 
> #sysctl kern.quntum
> sysctl: unknown oid 'kern.quntum'

You mispelled it... but it's not there in SCHED_ULE.


> What is meant to 'quantum' ?

A quantum is the longest interval that a process is allowed to
run in the presence of another ready-to-run process existing,
without voluntarily releasing the CPU for another process to
run (e.g. by making a blocking system call that doesn't result
in a threads context switch to another thread in the same
process).

It is the granularity at which some schedulers implement time
sharing.

Use a search engine to search for the independent terms:

	scheduler quantum

See also:

	lbolt

-- Terry
Received on Tue Apr 08 2003 - 05:28:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC