01-09-2019
Topas - CPU count inconsistent across LPARs
seeing weirdness across some 7.1.5.1 LPARs - they all have 2 vCPUs allocated shared. With prtconf they show 2 CPUs, 'lsdev -c processor' concurs, and 'lsattr -El procX' shows that SMT is enabled and there are 2 SMT threads (power5, sorry). Yet running topas on them shows 2 CPUs on some and 4 on others. Wondering where it's getting its notion from of CPUs in the server, anyone know ?
TIA...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there an easy way in Solaris to count the number of processors? (2 Replies)
Discussion started by: hshapiro
2 Replies
2. UNIX for Dummies Questions & Answers
We have purchased four intels xeon processors
Intel® Xeon® Processor E7530 (12M Cache, 1.86 GHz, 5.86 GT/s Intel® QPI) with SPEC Code(s) SLBRJ
As per the specification each cpu has 6 cores therefore we have 24 cores (considering 4 cpus).
Now how would i calculate the number of vcpus that can... (1 Reply)
Discussion started by: pinga123
1 Replies
3. AIX
I have a number of LPARs on one P520. All LPARs are running 5.3 and I observe the following:
On some LPARs the number of CPUs found do not match between topas and mpstat.
Server 1:
$ mpstat
System configuration: lcpu=4 ent=0.2 mode=Uncapped
cpu min maj mpc int cs ics rq ... (1 Reply)
Discussion started by: petervg
1 Replies
4. Red Hat
Hi,
I am observing high load average on RHEL5 server and need to check the number of core processors available on the box to give me a bigger picture on whether or not I should be worried.
I have always checked the physical count quite simply.....
# grep 'physical id' /proc/cpuinfo |... (10 Replies)
Discussion started by: Duffs22
10 Replies
5. Red Hat
Hello,
sysinfo throws out below 3 CPU counts. Can anyone help me understand what each of these means?
CPU Count Socketed is 2
CPU Count Physical is 8
CPU Count Virtual is 16
First one seems obvious. However, I wonder how there can be 8 Physical CPUs, if... (2 Replies)
Discussion started by: hnhegde
2 Replies
6. AIX
Hello,
I am looking into virtualizing AIX 7.1 on our p7 machine that already has AIX 7.1 installed on it. I have a few questions about them:
1) In order to gain LPAR functionality, do I need to purchase PowerVM software?
2) I read that LPARs are managed from locally attached graphical... (1 Reply)
Discussion started by: bstring
1 Replies
7. AIX
Hello Everyone,
i got a question in AIX. How can i track the communication between LPARs.
i mean how can we find if a program/account trying to access a directory/file inside AIX LPAR or from another LPAR ?
if some one is trying to access our LPAR. where can i track those info? or a outside... (5 Replies)
Discussion started by: System Admin 77
5 Replies
8. AIX
Hi Folks,
I am working on a task - Cloning the OS from fullSystem partition to 3 new LPAR's using alt_disk_install.
I just wanted to clarify my steps here.
1. alt_disk_install -CBO hdisk1 and rename it to alt1
2. alt_disk_install -CBO hdisk2 and rename it to alt2
3. alt_disk_install... (4 Replies)
Discussion started by: snchaudhari2
4 Replies
9. AIX
Hi,
I have a p520 with 2 cpus and 10gb of ram.Is it sufficient enough to create 2 lpars.What other things we have to check. (2 Replies)
Discussion started by: sekar52
2 Replies
10. AIX
To get only the cpu info from the topas command terminal.
CPU User% Kern% Wait% Idle% Physc Entc
ALL 2.3 4.4 0.0 93.3 0.07 7.7
I tried some thing like this but did not work
topas << done
grep "ALL"
q
done
Can someone help me in this. (5 Replies)
Discussion started by: rpm120
5 Replies
LEARN ABOUT CENTOS
papi_num_cmp_hwctrs
PAPI_num_cmp_hwctrs(3) PAPI PAPI_num_cmp_hwctrs(3)
NAME
PAPI_num_cmp_hwctrs -
Return the number of hardware counters for the specified component.
SYNOPSIS
Detailed Description
PAPI_num_cmp_hwctrs() returns the number of counters present in the specified component. By convention, component 0 is always the cpu.
On some components, especially for CPUs, the value returned is a theoretical maximum for estimation purposes only. It might not be possible
to easily create an EventSet that contains the full number of events. This can be due to a variety of reasons: 1). Some CPUs (especially
Intel and POWER) have the notion of fixed counters that can only measure one thing, usually cycles. 2). Some CPUs have very explicit rules
about which event can run in which counter. In this case it might not be possible to add a wanted event even if counters are free. 3). Some
CPUs halve the number of counters available when running with SMT (multiple CPU threads) enabled. 4). Some operating systems 'steal' a
counter to use for things such as NMI Watchdog timers. The only sure way to see if events will fit is to attempt adding events to an
EventSet, and doing something sensible if an error is generated.
PAPI_library_init() must be called in order for this function to return anything greater than 0.
C Interface:
#include <papi.h>
int PAPI_num_cmp_hwctrs(int cidx );
Parameters:
cidx -- An integer identifier for a component. By convention, component 0 is always the cpu component.
Example
* // Query the cpu component for the number of counters.
* printf(
*
Returns:
On success, this function returns a value greater than zero.
A zero result usually means the library has not been initialized.
Author
Generated automatically by Doxygen for PAPI from the source code.
Version 5.2.0.0 Tue Jun 17 2014 PAPI_num_cmp_hwctrs(3)