Now I have a Core i7-930 CMP platform. There are eight logical cores when executiong command top in linux(BIOS HT was enabled). And We can use the affinity interface of linux to set the process to a specified core. My question is how to identify which core is hyerthread core?Orwhich two cores share a physical processor? Fox example, there are 0, 1, 2,3,4,5,6,7 logical cores.
(0,1) (2,3) (4,5) (6,7) or (0,2) (1,3) (4,6) (5,7) or (0,3) (1,4).......
how to determine which two threads shared a physical core? I want to set my application to the two logical cores which shared a physical core?
Anyone have some suggestions? Thanks a lot!