Google Groups Home
Help | Sign in
Determining number of processors in a virtualized system
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Neal Eckhardt  
View profile  
 More options Jan 8, 2:01 pm
Newsgroups: comp.unix.aix
From: Neal Eckhardt <neckha...@penntraffic.nospam.com>
Date: Thu, 08 Jan 2009 14:01:12 -0500
Local: Thurs, Jan 8 2009 2:01 pm
Subject: Determining number of processors in a virtualized system
We have an LPAR defined to use .6 processors. The number of processors
assigned to the LPAR had a DESIRED value of 3. We tried to run a
software package licensed for 2 CPUs, and it failed since it detected
3 CPUs.

1. How does software determine the number of CPUs available?

2. Is there an AIX command that will display the number of CPUs it
thinks it has?

The desired CPUs was changed to 2 in the HMC, but the package still
sees 3 CPUs. Are there additional steps required to get the software
in AIX to see the lower number of logical CPUs?

The hardware is a 570.

Thanks,
Neal

--
Neal

Being stubborn is a virtue when you’re right - it’s only
a character flaw when you’re wrong.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jan van Beers  
View profile  
 More options Jan 8, 2:40 pm
Newsgroups: comp.unix.aix
From: Jan van Beers <t...@gmx.ch>
Date: Thu, 08 Jan 2009 20:40:52 +0100
Local: Thurs, Jan 8 2009 2:40 pm
Subject: Re: Determining number of processors in a virtualized system

Neal Eckhardt <neckha...@penntraffic.nospam.com> wrote:
>We have an LPAR defined to use .6 processors. The number of processors
>assigned to the LPAR had a DESIRED value of 3. We tried to run a
>software package licensed for 2 CPUs, and it failed since it detected
>3 CPUs.

>1. How does software determine the number of CPUs available?

>2. Is there an AIX command that will display the number of CPUs it
>thinks it has?

lscfg will report the number of processors.

>The desired CPUs was changed to 2 in the HMC, but the package still
>sees 3 CPUs. Are there additional steps required to get the software
>in AIX to see the lower number of logical CPUs?

Did you change the profile or did you reconfigure dynamically?

>Thanks,
>Neal

Cu
Jan
--
wings and claws

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neal Eckhardt  
View profile  
 More options Jan 8, 4:13 pm
Newsgroups: comp.unix.aix
From: Neal Eckhardt <neckha...@penntraffic.nospam.com>
Date: Thu, 08 Jan 2009 16:13:47 -0500
Local: Thurs, Jan 8 2009 4:13 pm
Subject: Re: Determining number of processors in a virtualized system
On Thu, 08 Jan 2009 20:40:52 +0100, Jan van Beers <t...@gmx.ch> wrote:

Thanks for getting back to me Jan.

It turns out the guy did not do the dynamic reconfiguration, he just
changed the permanent definition (that I guess would have taken effect
after AIX is rebooted).

We found the dynamic configuration, and it worked perfectly. Between 3
of us we figured it out ;)

Working with this stuff with no education is a wonderful thing.

Neal

--
Neal

Being stubborn is a virtue when you’re right - it’s only
a character flaw when you’re wrong.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Braunbeck  
View profile  
 More options Jan 9, 12:37 am
Newsgroups: comp.unix.aix
From: Thomas Braunbeck <Thomas.Braunb...@orange.fr>
Date: Fri, 09 Jan 2009 06:37:23 +0100
Local: Fri, Jan 9 2009 12:37 am
Subject: Re: Determining number of processors in a virtualized system
Neal Eckhardt schrieb:

> It turns out the guy did not do the dynamic reconfiguration, he just
> changed the permanent definition (that I guess would have taken effect
> after AIX is rebooted).

I think rebooting the OS is not enough here (reboot, shutdown -Fr).
Why should the HW config change on a simple OS reboot? You must
power off (LPAR HW resources are returned to the hypervisor)/on
(hypervisor assigns HW resources as defined in the profile to the
LPAR). So shutdown (-F), when LPAR power is off, power on.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Taylor  
View profile  
 More options Jan 9, 4:38 am
Newsgroups: comp.unix.aix
From: Mark Taylor <m...@talk21.com>
Date: Fri, 9 Jan 2009 01:38:10 -0800 (PST)
Local: Fri, Jan 9 2009 4:38 am
Subject: Re: Determining number of processors in a virtualized system
lparstat -i will give you the info you need.  lscfg will report the
number of virtual cpus online, this is not the same as physical cpus
or logical cpus as you can carve up each cpu to a min of 0.1 and
increments of 0.01, so you may want to check the licensing model for
the app you are installing .. oracle for example gets licensed on the
whole frame i.e. for all the physical cpus, so you can carve the
system up how you like. other apps will differ.

Check out the PowerVM redbooks.

HTH
Mark Taylor


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gary R. Hook  
View profile  
 More options Jan 9, 9:11 am
Newsgroups: comp.unix.aix
From: "Gary R. Hook" <obfusc...@nospam.net>
Date: Fri, 09 Jan 2009 08:11:38 -0600
Local: Fri, Jan 9 2009 9:11 am
Subject: Re: Determining number of processors in a virtualized system

Thomas Braunbeck wrote:
> Neal Eckhardt schrieb:

>> It turns out the guy did not do the dynamic reconfiguration, he just
>> changed the permanent definition (that I guess would have taken effect
>> after AIX is rebooted).

> I think rebooting the OS is not enough here (reboot, shutdown -Fr).

Correct.  You must power the partition down, then back up to put
a new profile in effect.

--
Gary R. Hook
________________________________________________________________________
                                   Vocatus atque non vocatus deus aderit


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gary R. Hook  
View profile  
 More options Jan 9, 9:13 am
Newsgroups: comp.unix.aix
From: "Gary R. Hook" <obfusc...@nospam.net>
Date: Fri, 09 Jan 2009 08:13:45 -0600
Local: Fri, Jan 9 2009 9:13 am
Subject: Re: Determining number of processors in a virtualized system

Mark Taylor wrote:
> lparstat -i will give you the info you need.  lscfg will report the
> number of virtual cpus online, this is not the same as physical cpus
> or logical cpus as you can carve up each cpu to a min of 0.1 and
> increments of 0.01, so you may want to check the licensing model for
> the app you are installing .. oracle for example gets licensed on the
> whole frame i.e. for all the physical cpus, so you can carve the
> system up how you like. other apps will differ.

Look at the _system_configuration structure in sys/systemcfg.h to
see how software can get info about the system resources.

--
Gary R. Hook
________________________________________________________________________
                                   Vocatus atque non vocatus deus aderit


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neal Eckhardt  
View profile  
 More options Jan 12, 9:31 am
Newsgroups: comp.unix.aix
From: Neal Eckhardt <neckha...@penntraffic.nospam.com>
Date: Mon, 12 Jan 2009 09:31:28 -0500
Local: Mon, Jan 12 2009 9:31 am
Subject: Re: Determining number of processors in a virtualized system
On Fri, 09 Jan 2009 08:13:45 -0600, "Gary R. Hook"

<obfusc...@nospam.net> wrote:
>Mark Taylor wrote:
>> lparstat -i will give you the info you need.  lscfg will report the
>> number of virtual cpus online, this is not the same as physical cpus
>> or logical cpus as you can carve up each cpu to a min of 0.1 and
>> increments of 0.01, so you may want to check the licensing model for
>> the app you are installing .. oracle for example gets licensed on the
>> whole frame i.e. for all the physical cpus, so you can carve the
>> system up how you like. other apps will differ.

>Look at the _system_configuration structure in sys/systemcfg.h to
>see how software can get info about the system resources.

Thanks Gary, I looked up that header file, and it explained all.

Neal

--
Neal

Being stubborn is a virtue when you’re right - it’s only
a character flaw when you’re wrong.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google