How many cpu on t5-2?

Hi,

I am on SPARC T5-2 with SOLARIS 11.1 / LDOM
From ILOM web interface i see 2 CPU Sparc
From the primary LDOM OS i see 1 CPU

root@LUOVM01 ~ #  /usr/bin/kstat -m cpu_info | grep chip_id | uniq
        chip_id                         0

what is wrong ?

What is the output of psrinfo ?

Use ldm commands to check it, you will have 256 threads available as VCPU which is equivalent of 2 CPU, 16 core each. Each core has 8 threads.

You can only see the vcpu alocated to primary domain from that domain.

ldm list -o cpu

Hope that helps
Regards
Peasant.

thx for replie

root@LUOVM01 ~ # ldm ls
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
primary          active     -n-cv-  UART    16    14488M   2.2%  2.0%  381d 16h
luspadevdb       active     -n----  5007    2     16G      0.5%  0.5%  341d 22h
luspaprddb01     active     -n----  5005    4     16G      6.7%  6.7%  332d
lusrvdb01        active     -n----  5006    2     4G        11%   11%  335d 21h
ocs01            active     -n----  5000    32    64G      4.4%  4.4%  351d 12h
ocsdb01          active     -n----  5001    32    64G      6.6%  6.6%  353d 15h
preocs           active     -n----  5008    16    32G      0.4%  0.4%  129d
sapdb01          active     -n----  5002    16    8G       0.9%  0.9%  10d 23h 24m
sapdb03          active     -n----  5003    16    16G      7.4%  7.4%  340d 1h
sapdb05          active     -n----  5004    16    16G      6.6%  6.6%  339d 12h

r

oot@LUOVM01 ~ # psrinfo
0       on-line   since 10/28/2013 18:43:42
1       on-line   since 10/28/2013 18:43:50
2       on-line   since 10/28/2013 18:43:50
3       on-line   since 10/28/2013 18:43:50
4       on-line   since 10/28/2013 18:43:50
5       on-line   since 10/28/2013 18:43:50
6       on-line   since 10/28/2013 18:43:50
7       on-line   since 10/28/2013 18:43:50
8       on-line   since 10/28/2013 18:43:50
9       on-line   since 10/28/2013 18:43:50
10      on-line   since 10/28/2013 18:43:50
11      on-line   since 10/28/2013 18:43:50
12      on-line   since 10/28/2013 18:43:50
13      on-line   since 10/28/2013 18:43:50
14      on-line   since 10/28/2013 18:43:50
15      on-line   since 10/28/2013 18:43:50

From what I can see from psrinfo , there is only one cpu in your system...

It will show only 16 threads which are allocated to primary domain.

If you put ldm set-vcpu 8 primary, then psrinfo will show only 8...

Regards
Peasant.

The output of psrinfo shows the cores NOT the vcpu's of the system. So the output of ldom commands can not be compared to the psrinfo output. This system has only access to 16 cores and that means access to ONE physical cpu. With the 16 vcpu's assigned to the primary domain, the psrinfo should only show 2 cores acording to your deffinition.

For your understanding -> 1 Sparc T5 cpu 16 cores and 8 threads per core = 128 vcpu's!

So we arrive at the main question that i wonder :

on this T5-2 box : i see 255 vcpu from primary so i can say theyr is Sparc T5 cpu 16 cores and 8 threads per core.

But why kstat say only one chip_id

MadeInGermany how do you then explain this output :

root@myhost:~# uname -a
SunOS myhost 5.11 11.1 sun4v sparc sun4v
root@myhost:~# psrinfo
0       on-line   since 03/17/2014 12:41:08
1       on-line   since 03/17/2014 12:41:15
2       on-line   since 03/17/2014 12:41:15
3       on-line   since 03/17/2014 12:41:15
4       on-line   since 03/17/2014 12:41:15
5       on-line   since 03/17/2014 12:41:15
6       on-line   since 03/17/2014 12:41:15
7       on-line   since 03/17/2014 12:41:15
8       on-line   since 11/14/2014 12:33:27
9       on-line   since 11/14/2014 12:33:27
10      on-line   since 11/14/2014 12:33:27
11      on-line   since 11/14/2014 12:33:27
12      on-line   since 11/14/2014 12:33:27
13      on-line   since 11/14/2014 12:33:27
14      on-line   since 11/14/2014 12:33:27
15      on-line   since 11/14/2014 12:33:27


root@myhost:~# ldm list | grep primary
primary          active     -n-cv-  UART    16    8G       0.1%  0.1%  242d


root@myhost:~# ldm set-vcpu 6 primary

root@myhost:~# ldm list | grep primary
primary          active     -n-cv-  UART    6     8G       0.2%  0.2%  242d


root@myhost:~# psrinfo
0       on-line   since 03/17/2014 12:41:08
1       on-line   since 03/17/2014 12:41:15
2       on-line   since 03/17/2014 12:41:15
3       on-line   since 03/17/2014 12:41:15
4       on-line   since 03/17/2014 12:41:15
5       on-line   since 03/17/2014 12:41:15

If you see 256 vcpu's then there are 2 physical cpu's present. I don't know about the kstat output... And I don't have a sparc system to test at my hand right now.

It actually shows the threads (a.k.a. vcpu's).

Was able to test it today on a sparc system... You are right!

yes you are.
thx for help