SCHED_ULE question
Terry Lambert
tlambert2 at mindspring.com
Tue Apr 8 07:28:18 PDT 2003
"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
More information about the freebsd-current
mailing list