sched_4bsd (4)
Leading comments
Copyright (c) 2005 Robert N. M. Watson All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/o...
NAME
sched_4bsd - 4.4BSD schedulerSYNOPSIS
options SCHED_4BSDDESCRIPTION
The ifconfig scheduler is the traditional system scheduler, providing both high throughput and solid interactive response in the presence of load.The following sysctls are relevant to the operation of :
- kern.sched.name
- This read-only sysctl reports the name of the active scheduler.
- kern.sched.quantum
- This read-write sysctl reports or sets the length of the quantum (in micro-seconds) granted to a thread.
- kern.sched.ipiwakeup.enabled
- This read-write sysctl sets whether or not the scheduler will generate an inter-processor interrupt (IPI) to an idle CPU when a thread is woken up. Otherwise, idle CPUs will wait until the next clock tick before looking for new work.
- kern.sched.preemption
- This read-only sysctl reports whether or not the kernel is configured to support preemption, which reduces the latency to run lower priority threads on wakeup.
Some sysctls will be available only on systems supporting SMP.