Modular Service Container - optimal threadpool size

AS7 boots with MSC configured to use a threadpool size of double the number of available processors.

 

Boot time results after the 2nd run (so the filesystem cache is initalized) on my machine (Win7, Intel i7 Q740, 4G, SSD), with the org.jboss.server.bootstrap.maxThreads set by default set to 16.

 

 

config
16 (default)
8
4
3
2
1
standalone.xml2690ms2657ms2658ms2683ms2667ms2694ms
standalone-full.xml2964ms2939ms2922ms2955ms2981ms3336ms
standalone-ha.xml3413ms3324ms3352ms3351ms3415ms4014ms
standalone-osgi-only.xml1803ms1721ms1868ms1792ms1950ms1940ms
standalone-xts.xml5907ms6087ms5919ms5810ms6042ms7725ms