Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Apr 2003 07:26:48 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Alex.Wilkinson@dsto.defence.gov.au
Cc:        Dag-Erling Smorgrav <des@ofug.org>
Subject:   Re: SCHED_ULE question
Message-ID:  <3E92DC28.6281F203@mindspring.com>
References:  <20030407143118.V1049@squirm.dsto.defence.gov.au> <20030408161241.S70285@squirm.dsto.defence.gov.au>

next in thread | previous in thread | raw e-mail | index | archive | help
"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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E92DC28.6281F203>