Date: Tue, 8 Apr 2003 16:25:39 +0400 (MSD) From: "Sergey A.Osokin" <osa@FreeBSD.org.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/50720: [PATCH] doc/en_US.ISO8859-1/books/faq/book.sgml: add QAs (scheduler) Message-ID: <20030408122539.CF4CE6B@freebsd.org.ru> Resent-Message-ID: <200304081230.h38CU8Pf052951@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030408122539.CF4CE6B>