From owner-freebsd-stable Mon Dec 20 17:58:45 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id CC75A153C8 for ; Mon, 20 Dec 1999 17:58:42 -0800 (PST) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt8-208-170-119-162.dialup.HiWAAY.net [208.170.119.162]) by mail.HiWAAY.net (8.9.3/8.9.0) with ESMTP id TAA03656 for ; Mon, 20 Dec 1999 19:58:40 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.9.3/8.9.3) with ESMTP id TAA37058 for ; Mon, 20 Dec 1999 19:58:39 -0600 (CST) (envelope-from dkelly@nospam.hiwaay.net) Message-Id: <199912210158.TAA37058@nospam.hiwaay.net> X-Mailer: exmh version 2.1.1 10/15/1999 To: FreeBSD Stable From: David Kelly Subject: Process Scheduling (was: Re: Sys Admin article on Linux emulation) In-reply-to: Message from Randy Bush of "Mon, 20 Dec 1999 17:25:19 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 20 Dec 1999 19:58:39 -0600 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > options "P1003_1B" #POSIX infrastructure > > options "_KPOSIX_PRIORITY_SCHEDULING" #Built-in POSIX priority scheduling > > options "_KPOSIX_VERSION=199309L" #POSIX version kernel is built for Speaking of scheduling, how does _KPOSIX_PRIORITY_SCHEDULING affect the kernel's scheduling algorithm? For instance I've observed dnetc (the http://www.distributed.net/ client (/usr/ports/misc/rc5des and direct) runs nice +20, yet often keeps 10% to 20% of the CPU when other CPU intensive processes only get 80% to 90%. Would have hoped/expected a process at maximum niceness would not run at all if a normal-nice process wanted to run. Does _KPOSIX_PRIORITY_SCHEDULING alter the scheduler, or simply provide more controls? Believe with the 3.0 series FreeBSD now has more real-time scheduling options but these are restricted to root? man rtprio says: Only root is allowed to set realtime or idle priority for a process. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message