HP-UX
1752805 회원
5330 온라인
108789 솔루션
새 메시지

cpu L2 cache 관련 질문입니다.

 
jhpark
비정기 기여자

cpu L2 cache 관련 질문입니다.

잘 모르니 자꾸 글을 올리게 되네요..



현제 사용하고 있는 cpu L2 cache 를 확인할 수 있는 방법이 있을까요?



다른 정보는 다 있는데 L1, L2 cache에 관련되 항목은 없네요..
3 응답 3
김병수
본과생

cpu L2 cache 관련 질문입니다.

server별 L1,L2 cache의 size는 보통 다 틀립니다.



하여 제안서를 보시면 해당 server별 cache size를 알수있습니다.



명령어를 사용하여 cache size를 확인하기 위해선..



rx server인 경우네는 machinfo 라는 명령어가 있는데 반해 ..

rp server인 경우에는 따로 cache sizeㄹ을 알수 있는 명령어는 없는 것으로 알고 있는데..(제생각)



# machinfo

CPU info:

Number of CPUs = 2

Clock speed = 1300 MHz

CPUID registers

vendor information = "GenuineIntel"

processor serial number = 0x0000000000000000

processor version info = 0x000000001f010504

architecture revision: 0

processor family: 31 Intel(R) Itanium 2 Family Processors

processor model: 1 Intel(R) Itanium 2 processor

processor revision: 5 stepping B1

largest CPUID reg: 4

processor capabilities = 0x0000000000000001

implements long branch: 1

Bus features

implemented = 0xbdf0000060000000

selected = 0x0000000040000000

Bus Lock Signal masked



Cache info:

L1 Instruction: size = 16 KB, associativity = 4 === 이부분입니다.

L1 Data: size = 16 KB, associativity = 4

L2 Unified: size = 256 KB, associativity = 8

L3 Unified: size = 3072 KB, associativity = 12



Memory = 6132 MB (5.988281 GB)



Firmware info:

Firmware revision = 02.31

FP SWA driver revision: 1.18

IPMI is supported on this system.

BMC version: v01.52



Platform info:

model string = "ia64 hp server rx2600"

machine id number = 9d720f02-bc92-11d7-93a3-f15700829480

machine serial number = US32570397



OS info:

sysname = HP-UX

nodename = gselpk

release = B.11.23

version = U (unlimited-user license)

machine = ia64

idnumber = 2641497858

vmunix _release_version:

@(#) $Revision: vmunix: B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $

#

이태곤
중학생

cpu L2 cache 관련 질문입니다.

mstm또는 cstm을 사용하시면 아실수 있습니다.



# echo "selclass qualifier cpu;info;wait;infolog" | /usr/sbin/cstm





Slot Number: 8 Software Capability: 0x100000f0

PDC Firmware Revision: 41.39 IODC Revision: 0

Instruction Cache : 512 Processor Speed: N/A

Processor State: N/A

Monarch: Yes Active: Yes

Data Cache : 1024

Instruction TLB : 160 Processor Chip Revisions: 2.3

Data TLB Size : 160 2nd Level Cache Size: N/A

Serial Number: 0



====

이중 L1 cache = Instruction Cache + Data Cache

L2 cache = 2nd Level Cache Size



==

rx도 동일하게 확인이 가능하지만 machinfo라는 좋은 명령어로 확인이 가능합니다.
jhpark
비정기 기여자

cpu L2 cache 관련 질문입니다.

이곳저곳 찾아봐서 완성한 스크립트입니다.



넘깔끔하게 나오네요.. 한번 사용해보세요.. ㅎㅎ



수고들하세요..