Hi All,
How to check number of "CPU physical and core" ?
my machine is T5240, T5440
I try to user prtdiag it show 128 CPUs ?? what real number for it?
Hi All,
How to check number of "CPU physical and core" ?
my machine is T5240, T5440
I try to user prtdiag it show 128 CPUs ?? what real number for it?
Use:
psrinfo -pv
for a T-series the following applies:
number of physical cpu: "psrinfo -p"
number of cores: "kstat cpu_info|grep core_id|sort -u|wc -l"
number of threads: "psrinfo -pv"
Thanks styno & bartus11,
my machine T5240
root@pbiudb01 # psrinfo -p
2
root@pbiudb01 # psrinfo -pv
The physical processor has 64 virtual processors (0-63)
UltraSPARC-T2+ (cpuid 0 clock 1165 MHz)
The physical processor has 64 virtual processors (64-127)
UltraSPARC-T2+ (cpuid 64 clock 1165 MHz)
root@pbiudb01 # kstat cpu_info|grep core_id|sort -u|wc -l
16
it's mean
2 CPUs
16 core/CPU << ? I think this model just 8 core/CPU
4 thread/Core << ?
total 64 thread
probably your cpu//
# echo "`psrinfo -p` socket(s)"
2 socket(s)
# echo "`kstat -m cpu_info|grep -w core_id|uniq|wc -l` core(s) "
8 core(s)
# echo "`psrinfo|wc -l` logical (virtual) processor(s)"
64 logical (virtual) processor(s)
so (core(s) with 8 thread)
regards
ygemici
Thank you ygemici,