What is the time between 2 mi_switches in freebsd.

John Baldwin jhb at freebsd.org
Wed Oct 8 21:02:23 UTC 2008


On Wednesday 08 October 2008 04:23:43 pm Dag-Erling Smørgrav wrote:
> John Baldwin <jhb at freebsd.org> writes:
> > There isn't a fixed timeslice due to preemption for interrupts, etc.  
However, 
> > the default time slice is available as the kern.sched.quantum sysctl:
> >
> > % sysctl -d kern.sched.quantum
> > kern.sched.quantum: Roundrobin scheduling quantum in microseconds
> 
> des at ds4 ~% uname -a
> FreeBSD ds4.des.no 8.0-CURRENT FreeBSD 8.0-CURRENT #48 r183493M: Tue Sep 30 
23:35:48 CEST 2008     des at ds4.des.no:/usr/obj/usr/src/sys/ds4  amd64
> des at ds4 ~% sysctl kern.sched.quantum
> sysctl: unknown oid 'kern.sched.quantum'

Apparently the quantum isn't exposed anywhere for ULE.

-- 
John Baldwin


More information about the freebsd-hackers mailing list