LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 08-08-2011, 01:38 AM   #1
umeshgupta1987
LQ Newbie
 
Registered: Oct 2010
Posts: 14

Rep: Reputation: 0
Post Doubt about physcial processors and logical processors


Hi friends,

i have two sun os server

I wanna know that how many physcial processors and logical processors are there??

server1
Code:
bash # psrinfo
0       on-line   since 07/24/2011 08:02:41
1       on-line   since 07/24/2011 08:02:41
2       on-line   since 07/24/2011 08:02:41
3       on-line   since 07/24/2011 08:02:40
bash # psrinfo -p
4
bash # psrinfo -pv
The physical processor has 1 virtual processor (0)
  UltraSPARC-IIIi (portid 0 impl 0x16 ver 0x24 clock 1062 MHz)
The physical processor has 1 virtual processor (1)
  UltraSPARC-IIIi (portid 1 impl 0x16 ver 0x24 clock 1062 MHz)
The physical processor has 1 virtual processor (2)
  UltraSPARC-IIIi (portid 2 impl 0x16 ver 0x24 clock 1062 MHz)
The physical processor has 1 virtual processor (3)
  UltraSPARC-IIIi (portid 3 impl 0x16 ver 0x24 clock 1062 MHz)

Server -2
Code:
bash # psrinfo
0       on-line   since 07/23/2011 23:56:50
1       on-line   since 07/23/2011 23:56:54
2       on-line   since 07/23/2011 23:56:56
3       on-line   since 07/23/2011 23:56:58
4       on-line   since 07/23/2011 23:57:00
5       on-line   since 07/23/2011 23:57:02
6       on-line   since 07/23/2011 23:57:04
7       on-line   since 07/23/2011 23:57:06

bash # psrinfo -p
4
bash # psrinfo -pv
The physical processor has 2 virtual processors (0 1)
  x86 (chipid 0x0 AuthenticAMD family 15 model 65 step 3 clock 2793 MHz)
        Dual-Core AMD Opteron(tm) Processor 8220
The physical processor has 2 virtual processors (2 3)
  x86 (chipid 0x1 AuthenticAMD family 15 model 65 step 3 clock 2793 MHz)
        Dual-Core AMD Opteron(tm) Processor 8220
The physical processor has 2 virtual processors (4 5)
  x86 (chipid 0x2 AuthenticAMD family 15 model 65 step 3 clock 2793 MHz)
        Dual-Core AMD Opteron(tm) Processor 8220
The physical processor has 2 virtual processors (6 7)
  x86 (chipid 0x3 AuthenticAMD family 15 model 65 step 3 clock 2793 MHz)
        Dual-Core AMD Opteron(tm) Processor 8220


so at server 1 physcial processor are 4 and logical processor are 8.

and at server 2 physcial processor are 4 and logical processor are 12.


Please suggest me that is it right or wrong???
Regards

Umesh
 
Old 08-08-2011, 03:02 AM   #2
sunnydrake
Member
 
Registered: Jul 2009
Location: Kiev,Ukraine
Distribution: Ubuntu,Slax,RedHat
Posts: 289
Blog Entries: 1

Rep: Reputation: 61
looks like to me 1st 4 cores and 2nd 8! 4 cpus and total! 8 cores
 
Old 08-08-2011, 03:12 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
1st one has four single core CPUs and 2nd has four dual core CPUs.
 
Old 08-08-2011, 03:15 AM   #4
umeshgupta1987
LQ Newbie
 
Registered: Oct 2010
Posts: 14

Original Poster
Rep: Reputation: 0
so my assumtion is right...
 
Old 08-08-2011, 06:33 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Both of your assumptions are incorrect about the logical processors count:

Quote:
server 1 physical processor are 4 and logical processor are 8.
logical processors are 4.

Quote:
server 2 physical processor are 4 and logical processor are 12.
logical processors are 8.

A physical CPU is also a logical CPU, they do not add up.
 
1 members found this post helpful.
Old 08-10-2011, 03:17 PM   #6
SuganX
LQ Newbie
 
Registered: Aug 2011
Location: Johannesburg, South Africa
Distribution: Ubuntu 11.04, Solaris 10 and 11
Posts: 4

Rep: Reputation: Disabled
I just recently had a similar issue which I had to explain to a junior Solaris admin.

First check the CPU type. Do some googling to see how many cores are supported in this particular CPU type. Older CPU's had no cores per CPU "chip". Newer ones now have multiple cores per CPU "chip".

In the first example, there are 4 physical CPU chips installed as per "psrinfo -p". "UltraSPARC-IIIi" (RISC CHIP) has no cores just one CPU so the logical and physical numbers will be the same, nothing wrong with that.

In the second example there are are 4 physical CPU chips installed as per "psrinfo -p". "Dual-Core AMD Opteron(tm) Processor 8220" (x64/CISC CHIP) has 2 cores because of the "Dual-Core" description. Therefore there are 8 logical processors.

It gets better... as an added example, UltraSPARC-VII has 4 cores per CPU chip and execute two hardware threads simultaneously per core. So a 1 CPU chip UltraSPARC-VII system has 8 logical processors (4cores x 2 hardware threads x 1 CPU)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Processors aznboi12321 General 12 05-03-2005 12:28 AM
Processors samjkd General 3 03-10-2005 12:26 PM
16 processors? jbeiter Linux - Hardware 4 03-05-2005 08:57 AM
Will Linux Support Amd Processors And Other Than Intel Processors? halovivek Linux - Hardware 6 09-02-2003 01:08 PM
Processors........ vacume Linux - Hardware 3 08-07-2003 11:29 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 08:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration