리눅스 하이퍼스레딩 확인

Checking if HyperThreading is enabled or not?
리눅스 하이퍼스레딩 확인
리눅스 하이퍼쓰레딩 활성화 확인 방법

1 방법 1: cpuinfo[ | ]

Console
Copy
[root@zetawiki ~]# cat /proc/cpuinfo | egrep 'siblings|cpu cores' | head -2
siblings	: 8
cpu cores	: 4
→ siblings가 cpu cores의 2배이므로 하이퍼스레딩 활성된 것임

2 방법 2: dmidecode #1[ | ]

Console
Copy
[root@zetawiki ~]# dmidecode -t processor | egrep 'Core Count|Thread Count' | head -2
	Core Count: 4
	Thread Count: 8
→ Thread Count가 Core Count의 2배이므로 하이퍼스레딩 활성된 것임

3 방법 3: dmidecode #2[ | ]

Bash
Copy
dmidecode -t processor | grep HTT
실행예시 (활성화됨)
Console
Copy
[root@zetawiki ~]# dmidecode -t processor | grep HTT | head -1
		HTT (Hyper-threading technology)
실행예시 (활성화됨)
Console
Copy
[root@zetawiki2 ~]# dmidecode -t processor | grep HTT | head -1
                     HTT (Multi-threading)

4 같이 보기[ | ]

5 참고[ | ]

편집자 J Jmnote Jmnote bot 119.31.246.61