aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2008-03-20 01:30:49 +0000
committerJeff Roberson <jeff@FreeBSD.org>2008-03-20 01:30:49 +0000
commit75a66a92c92f69d0ad1d4cd5f1395b2651fc1dbf (patch)
tree660ce7957bd3f456db33ee137869c072db544203
parent29481f88465a042fa50479f6efcca2386c86b599 (diff)
- Add an option to compile in SCHED_STATS.
- Add some more information about SLEEPQUEUE_PROFILING to NOTES.
Notes
svn path=/head/; revision=177417
-rw-r--r--sys/conf/NOTES7
-rw-r--r--sys/conf/options1
2 files changed, 7 insertions, 1 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 91cf86fa9c40..b6be119f5587 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -185,7 +185,11 @@ options ROOTDEVNAME=\"ufs:da0s2e\"
# which leads to better responsiveness even on uniprocessor machines. This
# will eventually become the default scheduler.
#
+# 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
#####################################################################
@@ -249,7 +253,8 @@ options SX_NOINLINE
# Relies on the PREEMPTION option. DON'T TURN THIS ON.
# MUTEX_DEBUG enables various extra assertions in the mutex code.
# SLEEPQUEUE_PROFILING enables rudimentary profiling of the hash table
-# used to hold active sleep queues.
+# used to hold active sleep queues as well as sleep wait message
+# frequency.
# TURNSTILE_PROFILING enables rudimentary profiling of the hash table
# used to hold active lock queues.
# WITNESS enables the witness code which detects deadlocks and cycles
diff --git a/sys/conf/options b/sys/conf/options
index 97fb06c1cd13..77710be2aa12 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -140,6 +140,7 @@ PPS_SYNC opt_ntp.h
PREEMPTION opt_sched.h
QUOTA
SCHED_4BSD opt_sched.h
+SCHED_STATS opt_sched.h
SCHED_ULE opt_sched.h
SHOW_BUSYBUFS
SLEEPQUEUE_PROFILING