Thanks Michael for the explanation.
Ghassan Ghassan H Elnajjar VCU Health System/MCV Hospitals Systems Analyst Technology & Engineering Services 701 East Franklin Street, suite 400 Richmond, VA 23298-0483 (804) 628-1150 work gelnaj...@mcvh-vcu.edu http://www.vcuhealth.org From: Michael Perzl <mich...@perzl.org> To: Ghassan Elnajjar <gelnaj...@mcvh-vcu.edu>, "ganglia-general@lists.sourceforge.net" <ganglia-general@lists.sourceforge.net> Date: 02/27/2013 01:48 PM Subject: Re: [Ganglia-general] "CPUs Total" In Ganglia Web This is due to the fact that here the number of logical CPUs are counted. For AIX/Power systems is valid: logical CPUs = number of virtual processors for this LPAR * SMT logical CPUs = number of processors the OS (AIX/Linux) sees number of virtual processors = as defined via the LPAR profile for this LPAR (can change dynamically on the fly) SMT = 1, 2 or 4 threads per virtual processor (can change dynamically on the fly) Power5 and Power6: SMT = [1,2] Power7: SMT = [1,2,4] Thus, the number of logical CPUs can change dynamically for the LPAR. Putting into the Ganglia Web GUI the number of physical cores is rather complicated for the following reasons: 1) The virtual processors are mapped to physical cores in the box (exactly how this is done would lead to a very looong email, I suggest you dig up some IBM redbooks and look for PowerVM virtualization if you are interested). So you would have to identify all the LPARs on the same physical box as you want to count the physical cores only once. This could be done via my "system_id" (=serial number of physical box) metric from the Power gmond extensions. The proper metric for this from the "ibmpower" gmond extension would be "cpu_in_machine". 2) To make things complicated, LPARs can move on the fly from one physical box to another, so the "calculation" which LPAR with the physical cores must be "calculated" again. 3) Whatever number is presented here in web GUI is calculated within the PHP code and thus all these things above would have to be considered an implemented in PHP code. 4) I definitely lack the proper PHP skills to program something like this (which is the main reason I haven't done something like that). That's my 2cents... Regards, Michael On 02/27/2013 05:11 PM, Ghassan Elnajjar wrote: Currently, the "CPUs Total" (screen shot below) which is displayed above the "Hosts Up", shows the total number of all virtual CPUs assigned to the IBM Power LPARs. Is there a way to change this value to represent the total number of Physical Cores used or the total number of Entitlement CPUs? Thank you, Ghassan NOTE: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. -------------------------------------- VCU Health System http://www.vcuhealth.org ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general NOTE: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. -------------------------------------- VCU Health System http://www.vcuhealth.org
<<image/gif>>
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general