Skip to contentSkip to conversation

pthread and multiple cores

DISCUSSION Ryan Mak 2 participants 2 messages Nov 21, 2008

lore
Share & tools
lore

Ryan Mak

author
#0 lore raw

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.

#1 lore raw
Quoted 4 lines · Ryan Mak

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