본문 바로가기

0과 1 그 끝없는 세상/IBM AIX

[SMT] smtctl 명령을 이용한 SMT 확인, 설정법

1. Core 갯수 확인
root@localhost / # lsdev -Cc processor

2. SMT 설정 확인
root@localhost / # smtctl

This system is SMT capable.
SMT is currently enabled.
SMT boot mode is set to enabled.
SMT threads are bound to the same virtual processor.

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

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

root@localhost / # bindprocessor -q
The available processors are: 0 1 2 3

2. SMT 설정 변경 (Disable)
root@localhost / # smtctl -m off
smtctl: SMT is now disabled. It will persist across reboots if
you run the bosboot command before the next reboot.

root@localhost / # bindprocessor -q
The available processors are: 0 1

3. SMT 설정 변경 (Enable)
root@localhost / # smtctl -m on
smtctl: SMT is now enabled. It will persist across reboots if
you run the bosboot command before the next reboot.

root@localhost / # bindprocessor -q
The available processors are: 0 1 2 3

4. 다음 재시작 시에 동일 설정을 적용
bosboot 명령어 사용 (정확한 사용법 모름)