[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 02 Feb 2009 21:50:48 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Bryon Roche <kain@...n.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: hackbench [pthread mode] regression with 2.6.29-rc3
On Mon, 2009-02-02 at 17:49 +0000, Bryon Roche wrote:
don't drop CCs
> On Mon, 02 Feb 2009 09:53:38 +0100, Peter Zijlstra wrote:
>
> > On Mon, 2009-02-02 at 09:12 +0800, Zhang, Yanmin wrote:
> >
> > I would rather go back to the old model where we iterate all threads,
> > and find a way to not make programs with too many threads for their own
> > good lock up the kernel, but instead get poor service.
>
> Now, there's an interesting question, what is the definition of too many
> threads for a program's own good? When evaluating this, please assume
> that you
> do actually have enough RAM to keep thread stacks/other userspace
> threading
> resources in-core.
In my book a program has too many threads when it outnumbers the number
of cpus available to it by an order of so.
--
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