Re: pthread_create() slow for many threads; also time to revisit64b context switch optimization?

From: Arjan van de Ven
Date: Wed Aug 13 2008 - 09:37:46 EST


On Wed, 13 Aug 2008 12:44:45 +0200
Ingo Molnar <mingo@xxxxxxx> wrote:


> There are various other options to solve the (severe!) performance
> breakdown:
>
> 1- glibc could start not using MAP_32BIT for 64-bit thread stacks
> (the boxes where context-switching is slow probably do not matter all
> that much anymore - they were very slow at everything 64-bit anyway)
>
> Pros: easiest solution.
> Cons: slows down the affected machines and needs a new glibc.
>
>
> i'd go for 1) or 2).

I would go for 1) clearly; it's the cleanest thing going forward for
sure.



--
If you want to reach me at my work email, use arjan@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/