[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070730175326.GC10033@linux-os.sc.intel.com>
Date: Mon, 30 Jul 2007 10:53:27 -0700
From: "Siddha, Suresh B" <suresh.b.siddha@...el.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: "Siddha, Suresh B" <suresh.b.siddha@...el.com>, npiggin@...e.de,
linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [patch] sched: introduce SD_BALANCE_FORK for ht/mc/smp domains
On Sun, Jul 29, 2007 at 11:16:44PM +0200, Ingo Molnar wrote:
>
> * Siddha, Suresh B <suresh.b.siddha@...el.com> 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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists