What's a Solaris CPU?

In the next few blog entries I will use the phrase "Solaris CPUs" to refer to the view that Solaris has of CPUs. In the old days, a CPU was a CPU - one chip, one computational entity, one ALU, one FPU, etc. Now there are many factors to consider - CPU sockets, CPU cores per socket, hardware threads per core, etc.

Solaris 10 and 11 Express consider "Solaris CPUs" (a phrase I made up) on which to schedule processes. Solaris considers each of these a "Solaris CPU":

  • x86/x64 systems: a CPU core, or in some CPUs, a hardware thread (today, can be one to eight cores per socket, and one to 16 threads per socket), up to 128 "Solaris CPUs" in a Sun Fire X4800
  • UltraSPARC-II, -III[+], -IV[+]: a CPU core, with a maximum of 144 in an E25K
  • SPARC64-VI: a hardware thread, maximum of 256 in a Sun SPARC Enterprise M9000
  • SPARC64-VII[+]: a hardware thread, maximum of 512 in an M9000
  • SPARC CMT (SPARC-T1, -T2+, SPARC T3): a hardware thread, maximum of 512 in a SPARC T3-4
  • SPARC T4: a hardware thread, maximum of 256 in a SPARC T4-4
  • SPARC T5: a hardware thread, maximum of 1,024 in a SPARC T5-8
  • SPARC M5: a hardware thread, maximum of 1,536 in a SPARC M5-32
  • SPARC M6: a hardware thread, maximum of 3,072 in a SPARC M6-32
Each of these "Solaris CPUs" can be controlled independently by Solaris. For example, each one can be configured into a processor set.

[Edit 2013.04.25: Fixed a detail, and added T4, T5 and M5.]
[Edit 2013.11.05: Added M6.]

Comments:

Interested in knowing how one figures out how many cores are on the system.
psrinfo -p tells you how many sockets are on the system
psrinfo -vp tells you how many virtual processors (HW threads).

I found a script that something like this works:
kstat cpu_info | grep core_id | uniq | wc -l
Is there a more uniform way to do this? Thanx

Vijay

Posted by Vijay Tatkar on December 06, 2010 at 05:15 AM EST #

Post a Comment:
Comments are closed for this entry.
About

Jeff Victor writes this blog to help you understand Oracle's Solaris and virtualization technologies.

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today