¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 1,358°Ç
   
CPU archltecture ½Äº°¹æ¹ý
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2015-09-22 (È­) 02:47 Á¶È¸ : 4720
±ÛÁÖ¼Ò :
                                
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.