Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SMT enabled? 2

Status
Not open for further replies.

gatetec

MIS
Mar 22, 2007
420
US
I believe my system is SMT enabled already as the smtctl output shows below. Please let me know if that is not case. Is there anything I need to double-check?

Thanks much

# 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


proc4 has 2 SMT threads.
Bind processor 4 is bound with proc4
Bind processor 5 is bound with proc4


proc6 has 2 SMT threads.
Bind processor 6 is bound with proc6
Bind processor 7 is bound with proc6


proc8 has 2 SMT threads.
Bind processor 8 is bound with proc8
Bind processor 9 is bound with proc8


proc10 has 2 SMT threads.
Bind processor 10 is bound with proc10
Bind processor 11 is bound with proc10


proc12 has 2 SMT threads.
Bind processor 12 is bound with proc12
Bind processor 13 is bound with proc12


proc14 has 2 SMT threads.
Bind processor 14 is bound with proc14
Bind processor 15 is bound with proc14


proc16 has 2 SMT threads.
Bind processor 16 is bound with proc16
Bind processor 17 is bound with proc16


proc18 has 2 SMT threads.
Bind processor 18 is bound with proc18
Bind processor 19 is bound with proc18
 
The answer is in your post:

# smtctl

This system is SMT capable.

[green]SMT is currently enabled.[/green]

[red]SMT boot mode is not set.[/red]

Note: to make the system boot up with SMT on do this:

[tt]smtctl -m on -w boot
bosboot -a[/tt]


See also man page for smtctl


HTH,

p5wizard
 
Following up with p5wizard suggestion. You can still see whether your system is utilizing SMT by running lparstat

Code:
# lparstat 1 3
 
System configuration: type=Shared mode=Uncapped smt=On lcpu=2 mem=2560 ent=0.50
 
%user  %sys  %wait  %idle physc %entc  lbusy   app  vcsw phint
-----  ----  -----  ----- ----- ----- ------   ---  ---- -----
  0.3   0.4    0.0   99.3  0.01   1.1    0.0     -   346     0
 43.2   6.9    0.0   49.9  0.29  58.4   12.7     -   389     0
  0.1   0.4    0.0   99.5  0.00   0.9    0.0     -   312     0

Yet other commands you will find useful (provided you know how many physical and virtual CPUs the LPAR was activated by) are mpstat and sar commands.

Have a look at this excellent doc on CPU monitoring and tuning:


Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top