Re: pthread and multiple cores

From: Chris Friesen
Date: Fri Nov 21 2008 - 12:35:45 EST


Ryan Mak wrote:
working with a multiple core box, there seems to be core(s) idle and
not evenly distributed when threads are set(default) with system
scope. is this a scheduler thing or am i not tuning my pthread
parameters correctly? thanks.

Your report lacks information required for it to be useful. Which kernel version are you running? What is your architecture? How many cores do you have, and how many threads? Are you using cgroups? If you can post your test app that would be even better.

Chris
--
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/