Operating System - HP-UX
1752594 Members
3112 Online
108788 Solutions
New Discussion юеВ

Re: In PA-RISC machine how to get CPU Cache Size

 
alert0919
Advisor

In PA-RISC machine how to get CPU Cache Size

I would like to get CPU L2 or L3 Cache Size in PARISC machine

how to use command to get it or via API pstat

thanks
7 REPLIES 7
Sharma Sanjeev
Respected Contributor

Re: In PA-RISC machine how to get CPU Cache Size

Hi

You can get this inforation through

Print_manifest, SAM, or CSTM

regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Basheer_2
Trusted Contributor

Re: In PA-RISC machine how to get CPU Cache Size

Shiv007
Frequent Advisor

Re: In PA-RISC machine how to get CPU Cache Size

Hi,

Try running cstm on processors.

cstm>
cstm> sel dev
cstm> info
cstm> il

or

if you are on HPUX 11iv3 you can use "machinfo"

or

if you latest versions of HPUX

try running

/opt/sfm/bin/CIMUtil -e root/cimv2 HP_Processor, you can get much information.
alert0919
Advisor

Re: In PA-RISC machine how to get CPU Cache Size

I would to use command not user interactive
can it do that
thanks
Ganesan R
Honored Contributor

Re: In PA-RISC machine how to get CPU Cache Size

Hi Alert0919,

If you have CSTM installed, use these commands.

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

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

#echo "selclass qualifier cpu;info;wait;infolog" | /usr/sbin/cstm | grep "2nd Level Cache Size"
Best wishes,

Ganesh.
Torsten.
Acclaimed Contributor

Re: In PA-RISC machine how to get CPU Cache Size

I'm not sure if such command exists, why do you need this?

The current PA-Risc servers are using either PA8800 or PA8900 CPUs with different clock rates,

PA-8900 has
Level 1 caches: 0.75 MB instruction and 0.75 MB data per processor
Level 2 cache: 64 MB off-chip, combined instruction/data shared between two CPUs inside the processor module

PA-8800 has
0.75MB I and 0.75MB D on-chip L1 caches per core
32MB off-chip L2 cache, shared between cores

So if you know what CPU type you have (from GETCONF for example), you already know about the cache sizes.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
alert0919
Advisor

Re: In PA-RISC machine how to get CPU Cache Size

thanks for all replies