Monday, August 9, 2010

Power series AIX find how many threads you have

Power hardware can run multiple cores per socket (cpu) and multiple threads per core.

To find how many threads are running in each core use /usr/sbin/smtctl;

SMT: Simultaneous Multi-Threading


[root@mymachine] / # smtctl

This system is SMT capable.

SMT is currently enabled.

SMT boot mode is not set.
SMT threads are bound to the same virtual processor.

proc0 has 2 SMT threads.
Bind processor 0 is bound with proc0
Bind processor 1 is bound with proc0


proc2 has 2 SMT threads.
Bind processor 2 is bound with proc2
Bind processor 3 is bound with proc2