On Sun, Jul 29, 2007 at 11:16:44PM +0200, Ingo Molnar wrote: > > * Siddha, Suresh B <[EMAIL PROTECTED]> wrote: > > > They might be doing more exec's and probably covered by exec balance. > > > > There was a small pthread test case which was calculating the time to > > create all the threads and how much time each thread took to start > > running. It appeared as if the threads ran sequentially one after > > another on a DP system with four cores leading to this SD_BALANCE_FORK > > observation. > > would be nice to dig out that testcase i suspect and quantify the > benefits of your patch.
That test case doesn't do much other than calculating the time taken for each thread to start running. With this balance on fork patch, that small pthread test case shows that all the threads now start almost at the same time on all cores. > Another workload which might perform better > would be linpack: it benefits from fast and immediate 'spreading' of > freshly forked threads. My understanding is that linkpack doesn't do fork often(as such difference might not be visible, but will take a look). We were planning to test httperf or some other workloads which probably does fork more often. thanks, suresh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/