Date: Mon, 20 Dec 1999 19:58:39 -0600 From: David Kelly <dkelly@hiwaay.net> To: FreeBSD Stable <freebsd-stable@FreeBSD.ORG> Subject: Process Scheduling (was: Re: Sys Admin article on Linux emulation) Message-ID: <199912210158.TAA37058@nospam.hiwaay.net> In-Reply-To: Message from Randy Bush <randy@psg.com> of "Mon, 20 Dec 1999 17:25:19 PST." <E120E3D-0001oJ-00@rip.psg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912210158.TAA37058>