On Jun 20, 2011, at 4:06 AM, Rainer Orth wrote: > I've got a patch to do this, prompted by the use of UltraSPARC-T2 > machines with 8 cores/8 strands which are quite slow on their own: > > [build, testsuite, v3] Increase gcc, g++, gfortran and libstdc++-v3 > testsuite parallelism > http://gcc.gnu.org/ml/gcc-patches/2010-07/msg01633.html > > but haven't yet incorporated Jakub's comments.
Yeah, I would not even consider a patch that was count based. :-) Ideally, what you want to do is to bin pack the completed in N seconds in B bins, where B is related to the physical number of cores. The, there is _no_ extra overhead for subdivision on 1 core, and on 10,000 core, it still works, though, one is going to need slightly better 1 to B code. Anyone know of a bin packer command line argument? We don't care if it is slow, because we can bin pack every 10th run, and start with idealized times. I would have contributed that sort of change a while ago, but didn't spot a bin packer. I also did up code to pull from a single work list, but, dejagnu isn't structured to do that. :-( That would be the best solution, but is much more work.