Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173384052
D60014.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D60014.id.diff
View Options
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -192,8 +192,11 @@
#####################################################################
# Scheduler options:
#
-# Specifying one of SCHED_4BSD or SCHED_ULE is mandatory. These options
-# select which scheduler is compiled in.
+# The options below select the schedulers that are compiled in. Specifying at
+# least one is mandatory. Multiple schedulers can be compiled into the same
+# kernel. Only one is active at boot. ULE is chosen by default. This can be
+# overridden by using the 'kern.sched.name' tunable, passing it a scheduler
+# name, i.e., one of the options below with the SCHED_ prefix removed.
#
# SCHED_4BSD is the historical, proven, BSD scheduler. It has a global run
# queue and no CPU affinity which makes it suboptimal for SMP. It has very
@@ -202,15 +205,14 @@
# SCHED_ULE provides significant performance advantages over 4BSD on many
# workloads on SMP machines. It supports cpu-affinity, per-cpu runqueues
# and scheduler locks. It also has a stronger notion of interactivity
-# which leads to better responsiveness even on uniprocessor machines. This
-# is the default scheduler.
-#
+# which leads to better responsiveness even on uniprocessor machines.
+options SCHED_4BSD
+options SCHED_ULE
+
# SCHED_STATS is a debugging option which keeps some stats in the sysctl
# tree at 'kern.sched.stats' and is useful for debugging scheduling decisions.
#
-options SCHED_4BSD
options SCHED_STATS
-options SCHED_ULE
#####################################################################
# SMP OPTIONS:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 26, 2:46 PM (6 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39658870
Default Alt Text
D60014.id.diff (1 KB)
Attached To
Mode
D60014: NOTES: Multiple schedulers can be compiled in at once
Attached
Detach File
Event Timeline
Log In to Comment