월간 인기 게시물

게시물 1,377건
   
CPU archltecture 식별방법
글쓴이 : 최고관리자 날짜 : 2015-09-22 (화) 02:47 조회 : 5209
글주소 :
                                
http://xmodulo.com/identify-cpu-processor-architecture-linux.html

리눅스에서 명령어를 가지고 아키텍처 식별방법
CPU 아키텍처는 물리적 소켓/ 프로세서 갯수, 프로세서당 코어갯수, L1/L2/L3 Cache, NUMA(Non-UNIFORM MOMORY ACCESS) 구성등이 해당됩니다.
총 6가지 방법으로 정리하였습니다.


# git clone https://github.com/rrze-likwid/likwid.git
# cd likwid 
# make ; make install
# likwid-topology -g


likwid-topology: Display the NUMA and cache topology.
likwid-perfctr: Display the hardware performance counters of processors.
likwid-features: Display and change hardware prefetch control bits on Intel Core 2 processors.
likwid-pin: Pin a multi-threaded application to a specific CPU.
likwid-bench: Benchmarking tool for rapid prototyping of threaded assembly kernels.
likwid-mpirun: script enabling CPU pinning of MPI and MPI/threaded hybrid applications.
likwid-perfscope: Frontend for likwid-perfctr which allows real-time plotting of performance metrics.
likwid-powermeter: Tool for accessing RAPL counters and query Turbo mode steps on Intel processor.
likwid-memsweeper: Tool to clean up ccNUMA (cache-coherent NUMA) memory domains.


Ubuntu / Debian
# apt-get install hwloc 

RHEL / CentOS
# yum install hwloc

# lstopo -no-io



3. numactl
Ubuntu / Debian
# apt-get install numactl

RHEL / CentOS
# yum install numactl

# numactl --hardware



4. lscpu 
# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                6
On-line CPU(s) list:   0-5
Thread(s) per core:    1
Core(s) per socket:    6
Socket(s):             1
NUMA node(s):          1
Vendor ID:             AuthenticAMD
CPU family:            16
Model:                 10
Stepping:              0
CPU MHz:               2800.000
BogoMIPS:              5625.70
Virtualization:        AMD-V
L1d cache:             64K
L1i cache:             64K
L2 cache:              512K
L3 cache:              6144K
NUMA node0 CPU(s):     0-5


5. /proc/cpuinfo
# cat /proc/cpuinfo

6. dmicode


이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.