Re: [patch] sched: introduce SD_BALANCE_FORK for ht/mc/smp domains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux