]> pd.if.org Git - nbds/blobdiff - include/common.h
improved perf_test to measure steady state behavior
[nbds] / include / common.h
index fbd64bc2a84faf5c17c69df3518ed60ea7e0ea32..ce3eabf296d3e5a1779bb14c17a4b3aa45c7436a 100644 (file)
@@ -1,4 +1,4 @@
-/* 
+/*
  * Written by Josh Dybnis and released to the public domain, as explained at
  * http://creativecommons.org/licenses/publicdomain
  */
@@ -19,7 +19,7 @@
 
 #ifndef NBD_SINGLE_THREADED
 
-#define MAX_NUM_THREADS  16 // make this whatever you want, but make it a power of 2
+#define MAX_NUM_THREADS  32 // make this whatever you want, but make it a power of 2
 
 #define SYNC_SWAP(addr,x)         __sync_lock_test_and_set(addr,x)
 #define SYNC_CAS(addr,old,x)      __sync_val_compare_and_swap(addr,old,x)