Re: CPU number in hyper threading machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I have just installed Redhat 9 on a dual-Xeon hyper threading machine. I
> run 'top' and see the expected 4 virtual CPUs, they are labeled as CPU0,
> CPU1, CPU2 and CPU3.
>
> How do I know which two virtual CPUs belong to a single physical CPU?
> I need this info to do cpu binding.

Don't know about Red Hat 9 but under Red Hat 7.3 doing a "cat
/proc/cpuinfo" gives "Physical processor ID" for each processor.

So you should be able to match up those to work out which virtual ones are
which physical processor.

-- 
Regards,
+-----------------------------+---------------------------------+
| Peter Kiem            .^.   | E-Mail    : <zordah@xxxxxxxxxx> |
| Zordah IT             /V\   | Mobile    : +61 0414 724 766    |
|   IT Consultancy &  /(   )\ | WWW       : www.zordah.net      |
|   Internet Services  ^^-^^  | ICQ       : "Zordah" 866661     |
+-----------------------------+---------------------------------+
       My current spamtrap address is est0903@xxxxxxxxxx


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux