docs/50720: [PATCH] doc/en_US.ISO8859-1/books/faq/book.sgml: add QAs (scheduler)
Sergey A.Osokin
osa at FreeBSD.org.ru
Tue Apr 8 12:30:10 UTC 2003
>Number: 50720
>Category: docs
>Synopsis: [PATCH] doc/en_US.ISO8859-1/books/faq/book.sgml: add QAs (scheduler)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 08 05:30:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Sergey A. Osokin
>Release: FreeBSD 5.0-CURRENT i386
>Organization:
n/a
>Environment:
System: FreeBSD 5.0-CURRENT i386
>Description:
doc/en_US.ISO8859-1/books/faq/book.sgml: add QAs (scheduler)
Obtained from -current@ (des@ answers)
>How-To-Repeat:
>Fix:
Index: doc/en_US.ISO8859-1/books/faq/book.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/faq/book.sgml,v
retrieving revision 1.526
diff -u -r1.526 book.sgml
--- doc/en_US.ISO8859-1/books/faq/book.sgml 7 Apr 2003 18:37:59 -0000 1.526
+++ doc/en_US.ISO8859-1/books/faq/book.sgml 8 Apr 2003 11:58:22 -0000
@@ -5355,6 +5355,37 @@
</itemizedlist>
</answer>
</qandaentry>
+
+ <qandaentry>
+ <question id="scheduler-in-use">
+ <para>How can I verify which scheduler is in use on a running system?</para>
+ </question>
+
+ <answer>
+ <para>Just type:
+ <screen>&prompt.root; <userinput>sysctl kern.quantum</userinput></screen>
+ If you see
+ <screen>unknown oid 'kern.quantum'</screen>
+ it means that you use new <quote>SCHED_ULE</quote> scheduler, but
+ if you see
+ <screen>kern.quantum: 100000</screen>
+ that means your system runs under old <quote>SCHED_4BSD</quote> scheduler.
+ </para>
+ </answer>
+ </qandaentry>
+
+ <qandaentry>
+ <question id="scheduler-kern-quantum">
+ <para>What does it mean 'kern.quantum'?</para>
+ </question>
+
+ <answer>
+ <para>It is the maximum number of ticks a process can run without being
+ preempted. It is specific to the 4BSD scheduler, so you can use it
+ presence or absence to determine which scheduler is in use.
+ </para>
+ </answer>
+ </qandaentry>
</qandaset>
</chapter>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list