CPU ordering in Linux (with hyper threading)

Posted by Jason on Stack Overflow See other posts from Stack Overflow or by Jason
Published on 2010-06-10T22:55:49Z Indexed on 2010/06/10 23:03 UTC
Read the original article Hit count: 212

Filed under:
|

I'm curious what the CPU ordering is in Linux. Say I bind a thread to cpu0 and another to cpu1 on a hyperthreaded system, are they both going to be on the same physical core. Given a Core i7 920 with 4 cores and hyperthreading, the output of /proc/cpuinfo has me thinking that cpu0 and cpu1 are different physical cores, and cpu0 and cpu4 are on the same physical core.

Thanks.

© Stack Overflow or respective owner

Related posts about linux

Related posts about hyperthreading