summaryrefslogtreecommitdiffstats
path: root/sys/conf/options
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-07-27 16:34:48 +0000
committerrwatson <rwatson@FreeBSD.org>2004-07-27 16:34:48 +0000
commit1fea905f48b810e78f2b9c5eafe9cec45fcfdf2a (patch)
tree4a46084745b159ef6305e1f8611e6177411c9b5d /sys/conf/options
parent1c9892680c965f2cef6dfb2ebbb9fa53b110b4c3 (diff)
downloadFreeBSD-src-1fea905f48b810e78f2b9c5eafe9cec45fcfdf2a.zip
FreeBSD-src-1fea905f48b810e78f2b9c5eafe9cec45fcfdf2a.tar.gz
Add "options ADAPTIVE_GIANT" which causes Giant to also be treated in
an adaptive fashion when adaptive mutexes are enabled. The theory behind non-adaptive Giant is that Giant will be held for long periods of time, and therefore spinning waiting on it is wasteful. However, in MySQL benchmarks which are relatively Giant-free, running Giant adaptive makes an observable difference on SMP (5% transaction rate improvement). As such, make adaptive behavior on Giant an option so it can be more widely benchmarked.
Diffstat (limited to 'sys/conf/options')
-rw-r--r--sys/conf/options1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/options b/sys/conf/options
index 63fb9b5..ef15023 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -56,6 +56,7 @@ KDB_TRACE opt_kdb.h
KDB_UNATTENDED opt_kdb.h
# Miscellaneous options.
+ADAPTIVE_GIANT opt_adaptive_mutexes.h
NO_ADAPTIVE_MUTEXES opt_adaptive_mutexes.h
ALQ
CODA_COMPAT_5 opt_coda.h
OpenPOWER on IntegriCloud