diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-08-11 01:34:18 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-08-11 01:34:18 +0000 |
commit | 36e89f928c8909ce943566776b5922f293e7dcd5 (patch) | |
tree | 1be8c0f461f0ce72b13defb3e8d115ae35d993fa | |
parent | 371cf09cf75eb31267e0d4f07e35e6fba755d416 (diff) | |
download | FreeBSD-src-36e89f928c8909ce943566776b5922f293e7dcd5.zip FreeBSD-src-36e89f928c8909ce943566776b5922f293e7dcd5.tar.gz |
Add ADAPTIVE_GIANT to GENERIC on i386, with the intent of making it
a standard configuration similar to [NO_]ADAPTIVE_MUTEXES. This
feature causes Giant to be included in the set of mutexes adaptively
spun on. It appears to have a positive effect on performance on SMP
across several workloads, including measurements of a 16% improvement
on buildworld, and 30%+ improvement for MySQL using the supersmack
benchmark with Giant over the network stack; a 6% improvement without
Giant on the network stack (as a result of less giant contention).
-rw-r--r-- | sys/i386/conf/GENERIC | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC index 5bb3392..2cedebb 100644 --- a/sys/i386/conf/GENERIC +++ b/sys/i386/conf/GENERIC @@ -59,6 +59,7 @@ options AHC_REG_PRETTY_PRINT # Print register bitfields in debug options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options PFIL_HOOKS # pfil(9) framework +options ADAPTIVE_GIANT # Giant mutex is adaptive. # Debugging for use in -current options KDB # Enable kernel debugger support. |