User Tools

Site Tools


aix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aix [2018/09/13 08:55]
ss_wiki_admin
aix [2019/09/16 16:09] (current)
Line 73: Line 73:
 INSTALLED RESOURCE LIST INSTALLED RESOURCE LIST
 </code> </code>
 +
 +==== Monitoring ====
 +nmon
 +mpstat
 +sar
 +
 +== Processor Binding ==
 +<code bash>
 +bindprocessor -q
 +The available processors are:  0 1
 +
 +bindprocessor 14662 1
 +
 +ps -emo THREAD | grep p1
 +
 +#unbind
 +bindprocessor -u 14662
 +</code>
 +
 +== SMT (Simultaneous Multithreading) ==
 +You can enable or disable SMT by running the smtctl command.\\
 +
 +<code bash>
 +smtctl [ -m off | on [ -w boot | now]]
 +
 +The following options are available:
 +
 +-m off
 +    Sets SMT mode to disabled. 
 +-m on
 +    Sets SMT mode to enabled. 
 +-w boot
 +    Makes the SMT mode change effective on next and subsequent restarts if you run the bosboot command before the next system restart. 
 +-w now
 +    Makes the SMT mode change immediately but the change does not persist across restart. 
 +</code>
 +
 +If neither the -w boot or the -w now options are specified, the mode change is made immediately. It persists across subsequent restarts if you run the bosboot command before the next system restart.
 +
 +== Processor control ==
 +Setting this tunable to a value greater than -1 will enable the scheduler to enable and disable virtual processors based on the partition's CPU utilization.\\
 +
 +If vpm_xvcpus is greater than or equal to zero, processor folding is enabled. Otherwise, if it is equal to -1, folding is disabled\\
 +
 +Use below command to enable folding:\\
 +
 +<code bash>
 +schedo -o vpm_xvcpus=0
 +//Setting vpm_xvcpus to 0
 +
 +schedo -L vpm_xvcpus
 +
 +schedo -o vpm_fold_policy=0
 +schedo -L vpm_fold_policy
 +</code>
 +
 +Note: By default processor folding enabled in AIX\\
 +
  
 == Smitty == == Smitty ==
 [[http://www.redbooks.ibm.com/redpapers/pdfs/redp0105.pdf| AIX System Management Interface Tool (SMIT) Redbook]] [[http://www.redbooks.ibm.com/redpapers/pdfs/redp0105.pdf| AIX System Management Interface Tool (SMIT) Redbook]]
aix.1536828919.txt.gz ยท Last modified: 2019/09/16 16:09 (external edit)