which logical core is hyperthread core in Core i7?
Hi, all: 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?
Please note that if you have core sensitive programming, you need to keep the code that makes this determination at run time. Do not assume that what you read for pairing today will be what you experience tomorrow. Boot optionsmay cause this to vary.