From 1fea905f48b810e78f2b9c5eafe9cec45fcfdf2a Mon Sep 17 00:00:00 2001 From: rwatson Date: Tue, 27 Jul 2004 16:34:48 +0000 Subject: 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. --- sys/conf/options | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/conf/options') 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 -- cgit v1.1