질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

CPU 정보

작성자 정보

  • hansyoo 작성
  • 작성일

컨텐츠 정보

본문

linuxor 님의 글


현재 phisical CPU가 2개 꽂혀있는 걸로 아는데요. dmesg와 cpuinfo를 보면 아래와 같이 나오네요.

일단 펌웨어에서 하이퍼쓰레딩 껏구여,

근데 조기 보면 phisical ID가 왜 둘다 0인거죠?

DB2를 설치하다 DB2에서 CPU가 1개로 인식을 해서, 혹시 진짜 CPU가 하나만 꽂혀있는 것은 아닌지 해서요.

어떤 시스템을 보면 CPU마다 Phisical ID가 틀리던데,

저 Phisical ID가 나타내는건 뭐죠?

-->

Number of unique physical id will tell you the number of physical CPU
packages in the system.
Number of unique core id will tell you the total number of CPU cores in
the system.
Number of processor will tell you the total number of logical CPUs on
the system.

Then to find out the matching pairs,
- to pair up all HT siblings on a core: Processors that have same "core id" are HT siblings in a core.
- to pair up all CPUs in a package: Processors that have same "physical id" are all the CPUs belonging to the same physical package.

즉, cpu 패키지는 1개요, 패키지 내부에 cpu core 는 하나인 것으로 보이고, 논리적으로는 0, 1 의 2개 프로세서로 나뉜 것입니다(으로 인식된 것입니다.). 한편 sibling은 1 이니 따로 언급할 것은 없고.. 아뭏든 최종적으로 리눅스 커널 쪽의 cpinfo 가 현재 시스템이 인식하는 것으로 보면 되는데, 1 cpu 패키지에 1 cpu core, 2 logicl processors 로 보고 있다는 것이지요..

[root@LP_SLMS-slmswas root]# dmesg| grep cpu
cpu: 0, clocks: 1327300, slice: 442433
cpu: 1, clocks: 1327300, slice: 442433
Starting migration thread for cpu 0
Starting migration thread for cpu 1
microcode: No suitable data for cpu 0
microcode: No suitable data for cpu 1

[root@LP_SLMS-slmswas root]# dmesg | grep CPU
(R) Xeon(TM) CPU 3.06GHz stepping 09
per-CPU timeslice cutoff: 1463.11 usecs.
enabled ExtINT on CPU#0
Initializing CPU#1
masked ExtINT on CPU#1
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Intel machine check reporting enabled on CPU#1.
CPU:     After generic, caps: afebfbff 00000000 00000000 00000000
CPU:             Common caps: afebfbff 00000000 00000000 00000000
CPU1: Intel(R) Xeon(TM) CPU 3.06GHz stepping 09
..... CPU clock speed is 3052.7918 MHz.
CPU0



      
      
     
          
     
       
        
     
    
       
       
       
        
       
       
            
  
    
             
          
       

      
      
     
          
     
       
        
     
    
       
       
       
        
       
       
            
  
    
             
          
       




 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,137 명
  • 현재 강좌수 :  36,186 개
  • 현재 접속자 :  249 명