02-01-2007
LPAR processor/virtual processor settings
Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities.
Environment is a 8-way p570 with 4 LPARs.
lparVIO1 and lparVIO2:
AIX 5300-04-01
Mode/Type= Shared-SMT/Capped
Minimum Processors= 0.10
Desired Processors= 0.50
Maximum Processors= 1.00
Minimum Virtual Processors= 1
Desired Vritual Processors= 2
Maximum Vritual Processors= 4
lparORA:
AIX 5300-04-CSP
Mode/Type= Shared-SMT/Capped
Minimum Processors= 2.00
Desired Processors= 4.00
Maximum Processors= 8.00
Minimum Virtual Processors= 4
Desired Vritual Processors= 4
Maximum Vritual Processors= 64
lparDB2:
AIX 5300-05-03
Mode/Type= Shared-SMT/Capped
Minimum Processors= 3.00
Desired Processors= 3.00
Maximum Processors= 8.00
Minimum Virtual Processors= 3
Desired Vritual Processors= 3
Maximum Vritual Processors= 64
The lparORA only really needs 4 processors during a 1am to 5am (monday-friday) window for some batch jobs which are cpu intensive. At all other times the lparORA at most uses only 50% of it's current entitled capacity of 4.00. So the question is how to set the lpar processors allocations to let the lparORA use up to 4 processors during the 1am to 5am window
but let the lparDB2 use up to 6 processors. The numbers of 4 and 6 are driven by the licensing of Oracle (4 dual-core processors) and DB2 (6 dual-core processors)..
Does the following then make sense (changing all to Uncapped and adjusting the processors settings):
lparVIO1 and lparVIO2:
AIX 5300-04-01
Mode/Type= Shared-SMT/Uncapped
Minimum Processors= 0.10
Desired Processors= 0.50
Maximum Processors= 1.00
Minimum Virtual Processors= 1
Desired Vritual Processors= 2
Maximum Vritual Processors= 4
lparORA:
AIX 5300-04-CSP
Mode/Type= Shared-SMT/Uncapped
Minimum Processors= 2.00
Desired Processors= 2.00
Maximum Processors= 4.00
Minimum Virtual Processors= 4
Desired Vritual Processors= 4
Maximum Vritual Processors= 4
lparDB2:
AIX 5300-05-03
Mode/Type= Shared-SMT/Uncapped
Minimum Processors= 2.00
Desired Processors= 2.00
Maximum Processors= 6.00
Minimum Virtual Processors= 6
Desired Vritual Processors= 6
Maximum Vritual Processors= 6
Any thoughts or suggestions would be appreciated.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
From a PROM ok prompt I have typed banner. This returned this info
SunSPARCStation20 (1X390Z50) ......
Okay, I read that the 1x390z50 is the processor type. How can I found out the speed of these processor? Is it 50mhz? Don't know but I am curious. Thanks (5 Replies)
Discussion started by: jwbrown
5 Replies
2. AIX
Hallo,
does anybody knows a trick to change the Processor ID in
AIX 4.3.3.
Thanks a lot (9 Replies)
Discussion started by: UXNI
9 Replies
3. Shell Programming and Scripting
Hi Everyone
I am new to unix. I ahve few quries that i would like to post.
Is there any way by which i get the unique processor Id. Actually i am unable to find any logic and method to get access to Processor Id.
Is it possible to get it. I read it on Intel site that the new processor do no... (1 Reply)
Discussion started by: atul.saxena
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
What is the command to identify whether a processor is single core / dual core in solaris ?
Thanks. (2 Replies)
Discussion started by: RAA
2 Replies
5. UNIX for Dummies Questions & Answers
How to get the processor information regarding 32 bit or 64 bit processor (2 Replies)
Discussion started by: aju_kup
2 Replies
6. AIX
Guys...
Hows it going???
I have been going through the hardware spec of IBM system p systems.. and here i am confused
for IBM Power 520 Express it says
Processor cores:
One, two or four 64-bit 4.2 GHz POWER6 with AltiVec™ SIMD and Hardware Decimal Floating-Point acceleration
... (1 Reply)
Discussion started by: balaji_prk
1 Replies
7. UNIX for Dummies Questions & Answers
How to find out whether the system has multiple processors.
In multiprocessor system how to get their names or ids
How to send command to a particular processor ( can we use rsh) (6 Replies)
Discussion started by: anjum
6 Replies
8. Shell Programming and Scripting
hi,
what plugins i need to install to run m4 processor in bash shell. Also, what is the file extension for m4 processor ( like .cc in c ).
Thanks (1 Reply)
Discussion started by: Learnerabc
1 Replies
9. Solaris
Hi,
I have one question regarding the understanding of “load average” in a platform with virtual processors.
Suppose in this situation:
Total number of physical processors: 1
Number of virtual processors: 32
Total number of cores: 4
Number of cores per physical... (1 Reply)
Discussion started by: MDING
1 Replies
10. UNIX for Dummies Questions & Answers
hello Admins,
how to find number of processor in unix machine. (2 Replies)
Discussion started by: vipinkumarr89
2 Replies
LEARN ABOUT X11R4
psrinfo
psrinfo(1M) System Administration Commands psrinfo(1M)
NAME
psrinfo - displays information about processors
SYNOPSIS
psrinfo [-p] [-v] [processor_id...]
psrinfo [-p] -s processor_id
DESCRIPTION
psrinfo displays information about processors. Each physical processor may support multiple virtual processors. Each virtual processor is
an entity with its own interrupt ID, capable of executing independent threads.
Without the processor_id operand, psrinfo displays one line for each configured processor, displaying whether it is on-line, non-interrupt-
ible (designated by no-intr), spare, off-line, faulted or powered off, and when that status last changed. Use the processor_id operand to
display information about a specific processor. See OPERANDS.
OPTIONS
The following options are supported:
-s processor_id Silent mode. Displays 1 if the specified processor is fully on-line. Displays 0 if the specified processor is non-inter-
ruptible, spare, off-line, faulted or powered off.
Use silent mode when using psrinfo in shell scripts.
-p Display the number of physical processors in a system.
When combined with the -v option, reports additional information about each physical processor.
-v Verbose mode. Displays additional information about the specified processors, including: processor type, floating point
unit type and clock speed. If any of this information cannot be determined, psrinfo displays unknown.
When combined with the -p option, reports additional information about each physical processor.
OPERANDS
The following operands are supported:
processor_id The processor ID of the processor about which information is to be displayed.
Specify processor_id as an individual processor number (for example, 3), multiple processor numbers separated by spaces
(for example, 1 2 3), or a range of processor numbers (for example, 1-4). It is also possible to combine ranges and (indi-
vidual or multiple) processor_ids (for example, 1-3 5 7-8 9).
EXAMPLES
Example 1: Displaying Information About All Configured Processors in Verbose Mode
The following example displays information about all configured processors in verbose mode.
psrinfo -v
Example 2: Determining If a Processor is On-line
The following example uses psrinfo in a shell script to determine if a processor is on-line.
if [ "`psrinfo -s 3 2> /dev/null`" -eq 1 ]
then
echo "processor 3 is up"
fi
Example 3: Displaying Information About the Physical Processors in the System
With no additional arguments, the -p option displays a single integer: the number of physical processors in the system:
> psrinfo -p
8
psrinfo also accepts command line arguments (processor IDs):
> psrinfo -p 0 512 # IDs 0 and 512 exist on the
1 # same physical processor
> psrinfo -p 0 1 # IDs 0 and 1 exist on different
2 # physical processors
In this example, virtual processors 0 and 512 exist on the same physical processor. Virtual processors 0 and 1 do not. This is specific to
this example and is and not a general rule.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
psradm(1M), p_online(2), processor_info(2), attributes(5)
DIAGNOSTICS
psrinfo: processor 9: Invalid argument
The specified processor does not exist.
SunOS 5.10 21 Feb 2004 psrinfo(1M)