The pseudo code is:
Code: Select all
//something to think about:
/*if(hyperthreading enabled)
number of cores /= 2;*/
if(single cpu)
run uniprocessor work units;
else if(manually_specified_number_of_cores)
run smp client on specified number of cores;
else
run smp cores on all detected cpu cores automatically;
to use the current system. considering the v6.30 client already can handle both uniprocessor and smp i presume it wouldn't be terribly difficult to implement