1

cpuinfo to decide processor affinity

view story
linux-howto

http://stackoverflow.com – I've tried to decide processor affinity rule for my applications according to /proc/cpuinfo , My redhat Linux showes processor : 0 to 47 , means server has 48 processor unit physical id : 0 to 3 , means server has 4 cpu sockets cpu cores : 6 , means each socket has 6 cores siblings : 12 , means each core has 2 hyperthreads So totally , this server has 4 * 6 * 2 = 48 processor units , am I correct so far ? What I like to do is to use sched_setaffinity function , first I like to know is the hyperthreads in the same core , for example ... processor 0 : physica (HowTos)