"리눅스 하이퍼스레딩 확인"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 3명의 중간 판 11개는 보이지 않습니다)
1번째 줄: 1번째 줄:
;Checking if HyperThreading is enabled or not?
;Checking if HyperThreading is enabled or not?
;리눅스 하이퍼스레딩 확인
;리눅스 하이퍼스레딩 확인
;리눅스 하이퍼쓰레딩 활성화 확인 방법


==방법==
==방법 1: cpuinfo==
<source lang='bash'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# cat /proc/cpuinfo | egrep 'siblings|cpu cores' | head -2
siblings : 8
cpu cores : 4
</syntaxhighlight>
:→ siblings가 cpu cores의 2배이므로 하이퍼스레딩 활성된 것임
 
==방법 2: dmidecode #1==
<syntaxhighlight lang='console'>
[root@zetawiki ~]# dmidecode -t processor | egrep 'Core Count|Thread Count' | head -2
Core Count: 4
Thread Count: 8
</syntaxhighlight>
:→ Thread Count가 Core Count의 2배이므로 하이퍼스레딩 활성된 것임
 
==방법 3: dmidecode #2==
<syntaxhighlight lang='bash'>
dmidecode -t processor | grep HTT
dmidecode -t processor | grep HTT
</source>
</syntaxhighlight>


;실행예시 (활성화됨)
;실행예시 (활성화됨)
<source lang='dos'>
<syntaxhighlight lang='console'>
[root@jmnote2 ~]# dmidecode -t processor | grep HTT
[root@zetawiki ~]# dmidecode -t processor | grep HTT | head -1
                    HTT (Hyper-threading technology)
HTT (Hyper-threading technology)
                    HTT (Hyper-threading technology)
</syntaxhighlight>
</source>
;실행예시 (활성화됨)
;실행예시 (비활성화됨)
<syntaxhighlight lang='console'>
<source lang='dos'>
[root@zetawiki2 ~]# dmidecode -t processor | grep HTT | head -1
[root@jmnote1 ~]# dmidecode -t processor | grep HTT
                     HTT (Multi-threading)
                     HTT (Multi-threading)
                    HTT (Multi-threading)
</syntaxhighlight>
</source>


==같이 보기==
==같이 보기==
24번째 줄: 39번째 줄:
*[[하이퍼스레딩]]
*[[하이퍼스레딩]]


==참고 자료==
==참고==
*http://unix.stackexchange.com/questions/33450/checking-if-hyperthreading-is-enabled-or-not
*http://unix.stackexchange.com/questions/33450/checking-if-hyperthreading-is-enabled-or-not
*http://snoopybox.co.kr/1738
[[분류: 리눅스]]
[[분류: 리눅스]]

2024년 7월 9일 (화) 11:22 기준 최신판

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

1 방법 1: cpuinfo[ | ]

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

2 방법 2: dmidecode #1[ | ]

[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[ | ]

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

4 같이 보기[ | ]

5 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}