I'm trying to figure out how the OS (Windows, linux) assigns numbers to a logical processor in an environment with support for Hyper Streaming.
Both operating systems first assign numbers to physical processors, and then begin numbering the logical processor, or is there some other rule. for example, in 2 systems of a physical processor with a hyperthread, the OS assigns the number 0.2 to the first physical processor, and then to the 1.3-second physical processor ...?
Any links would be really appreciated.
Thanks in advance.
Regards, -Jay.
Edit: the answer to Alanโs question: I need to know this, because in my work I need to associate various threads with specific processors in order to avoid context switching, and I want to make sure that certain THreads are associated with the section of physical processors. Thanks
windows linux-kernel cpu-architecture hyperthreading
Jay d
source share