Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 2008 17:01:44 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Dag-Erling =?utf-8?q?Sm=C3=B8rgrav?= <des@des.no>
Cc:        freebsd-hackers@freebsd.org, ushasri tummala <tummala.ushasri@gmail.com>
Subject:   Re: What is the time between 2 mi_switches in freebsd.
Message-ID:  <200810081701.45199.jhb@freebsd.org>
In-Reply-To: <86hc7m3kfk.fsf@ds4.des.no>
References:  <53fa490b0810071947j23fc0f72n5360b6f174ddc96d@mail.gmail.com> <200810081406.14916.jhb@freebsd.org> <86hc7m3kfk.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 08 October 2008 04:23:43 pm Dag-Erling Sm=C3=B8rgrav wrote:
> John Baldwin <jhb@freebsd.org> writes:
> > There isn't a fixed timeslice due to preemption for interrupts, etc. =20
However,=20
> > 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
>=20
> des@ds4 ~% uname -a
> FreeBSD ds4.des.no 8.0-CURRENT FreeBSD 8.0-CURRENT #48 r183493M: Tue Sep =
30=20
23:35:48 CEST 2008     des@ds4.des.no:/usr/obj/usr/src/sys/ds4  amd64
> des@ds4 ~% sysctl kern.sched.quantum
> sysctl: unknown oid 'kern.sched.quantum'

Apparently the quantum isn't exposed anywhere for ULE.

=2D-=20
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810081701.45199.jhb>