1
I'm running Hudson on a Windows 7 (x64) machine: this is simply started using 'java -jar hudson.war'. For some reason the java process only uses one cpu, out of 2 available, although it is running multiple threads. I'm pretty sure the default behaviour for the os is to spread the threads of a multi-threaded program across cpu's, unless explicitly told otherwise (using some SetProcessorAffinity api if I remember correctly).
Is there a way to tell java to use multiple cpu's?
there is indeed lots of IO going on, still not sure that is the only reason though – stijn – 2010-11-03T07:35:31.430