Professional Documents
Culture Documents
The IBM PowerVP Investigation Guide..........................................................................................1 Purpose of this Investigation Guide............................................................................................1 PowerVP Synopsis......................................................................................................................2 What gap does PowerVP fill .....................................................................................................! "efinition of general ter#s used with PowerVP$.......................................................................% When should I #onitor with PowerVP .....................................................................................& "o I still need #y 'S()ased perfor#an*e tools ........................................................................& +ow should I set the *olor *oded ,P- utili.ation thresholds ...................................................& If I see red/ do I have a perfor#an*e pro)le# ...........................................................................0 +ow should I set the *olor *oded lin1 utili.ation thresholds ....................................................0 +ow should I #onitor #y syste# with PowerVP .....................................................................0 +ow *an I try opti#i.ation ideas ..............................................................................................2 +ow *an PowerVP help with "P' ...........................................................................................2 +ow do I #ap virtual partitions to physi*al *onfigurations ......................................................2 +ow *an I tune for )etter affinity ..............................................................................................3 ,an I i#pa*t the future dire*tion of PowerVP ..........................................................................3
Please use the PowerVP nstallation and !ser "uide to assist you with the prere#uisites for using this investigation guide. $hat document will provide you with% Power Systems hardware re#uirements for models that support running PowerVP &e#uirements for operation systems for ' (, )* i, +inu,, or V OS &e#uirements for firmware levels nstallation of PowerVP -onfiguration PowerVP for monitoring and customizing it for your environment Starting.stopping PowerVP monitoring /avigating within and between PowerVP displays 0igh1level definitions of PowerVP functions &eal1time monitoring and replay of a saved log
$his Investigation Guide will provide more detailed definitions of the monitored system resources and the performance metrics used. t will attempt to help you define criteria for your utilization thresholds with color illustrations. t will provide some best practices to help you interpret the results and optimize your system performance. 2ou 1
are encouraged to read this investigation guide li3e a paper, and not 4ust refer to parts of it as a reference.
PowerVP Synopsis
PowerVP (Power Virtualization Performance) is a new )* licensed program product than can help you understand and monitor the performance of your )* Power Systems. -lients typically understand the performance of a given logical partition with the help of a comprehensive portfolio of OS1based performance tools from ' (, )* i, and +inu,. 0owever, as the Power based systems have evolved, understanding the performance of the entire Power System as it hosts multiple logical partitions has become more comple, with the age of virtualization and cloud computing. PowerVP was created to fill this gap as it monitors and illustrates the performance of an entire system (or frame ). PowerVP will allow you to monitor overall performance and allow you to drill down into more detailed hardware and software views to help you identify and resolve performance issues and to optimize the performance of your Power system. PowerVP includes agent components as well as a monitor. $he system level agent can run in any partition (' (, )* i, +inu,, or V OS). $his agent will collect a variety of information from the operating system and PowerV* interfaces to characterize the configuration and performance of the entire system. $he "! will display this data for the system level and hardware node level views. Optional partition1level agents can run in each partition (' (, )* i, +inu,, V OS). $he "! will display this data for the partition level drill1down views. $he "! can run on any networ3 connected wor3station and will provide you with an easy1to1use e,perience. PowerVP illustrates Power Systems hardware topology in con4unction with resource utilization metrics to help you better understand the system. $hese resources include nodes, processor modules, chips, cores, Powerbus lin3s, memory controller lin3s, "( .O bus, dis3 drives, 5thernets, etc. $hese resource utilizations are portrayed using a colorized heat techni#ue. $hese colors and thresholds can be customized to suite a specific client6s performance re#uirements in a meaningful way. 7or e,ample, green may indicate normal, yellow can signal caution, and red may indicate that some resource is e,tremely busy and may re#uire action. PowerVP also allows mapping between real and virtual processor resources. 7or e,ample, clic3 on a partition and see which physical cores are associated with that partition. PowerVP is a real1time monitor that can collect and update the performance information as fre#uently as every second. $he "! allows you to view this data in real1time. $he data can also be recorded in a repository for later playbac3. 8uring playbac3, PowerVP provides 8V&1li3e functions to play, fast forward, rewind, 4ump, pause, or stop. PowerVP utilizes a drill1down approach for performance analysis. $he system1level view will illustrate overall system1level performance with processor modules and inter1node 2
lin3s. -lic3ing on a specific hardware node will drill into that node showing the utilization of each core and intra1node lin3s. ' listing of each partition is present on both views showing the entitlement, utilization, and physical hardware mapping. -lic3ing on a specific partition will provide its detailed performance statistics including application efficiency. -ollectively, these performance metrics can help you optimize performance with resource balancing, improved affinity, and application efficiency. *any of the functions in PowerVP are suitable and have value for all users (clients, field support). Some of the more detailed metrics (such as -P and bus utilizations) within PowerVP are aimed at more technical users. -onsider adding PowerVP to your performance toolbo, to help simplify the management of your Power system6s performance.
e,plicitly as a specific resource name as it is often confusing. Some refer a -P! to a soc3et, some to a processor module, and some to a processor core. %tili&ation !tilization is a base performance term that is the percentage of time that a resource is busy. t is normally in the form a percentage, typically from =F to A==F. Of course, some shared +P'&s may have a utilization of greater than A==F if it consumes more -P! resources from the shared pool than its entitlement states. $P% utili&ation% $his term is much more comple, than you might e,pect. t can refer simply to the percentage of time that the -P! resources are busy. 0owever, with the advent of S*$ levels (more than one hardware thread dispatched to a core), multi1core systems, and comple, processor pipes, -P! utilization becomes more complicated. 5ach operating system may provide and interpret -P! utilization differently. ' ( and )* i provide utilizations that consider S*$ levels and hardware thread dispatch conditions. 7rom this, -P! utilization is rendered where a linear relationship is e,pected between system throughput and -P! utilization. Of course this comes with many assumptions (sufficient other resources for that wor3load to scale, only true for the actual wor3load used to tune the utilization while other wor3loads may scale significantly differently, and on and on). +inu, operation systems currently provide -P! utilizations that are based more on occupancy (hardware thread occupying a given core). $he more that you understand on this topic, the more you realize that other metrics are also needed to best understand your system.application (such as scaling characteristics, instructions consumed, run cycles consumed, contention issues, etc.). Power'us (W) *) +) ,) -) B) $. $hese are a set of lin3s or buses within Power Systems. ;ithin PowerVP, those lin3s that are labeled ;, (, 2, or G are lin3s within a hardware node9 those lin3s that are labeled ' or ) are lin3s between hardware nodes. $hese Powerbus lin3s carry data between a given chip and other resources outside that chip (cache, memory, .O). PowerVP portrays these lin3s and their utilizations. 0aving a higher Powerbus utilization implies that there is a higher rate of data transfer. Memory $ontroller (M$. $hese are a set of lin3s that connect the memory to the soc3et. $hese *- buses carry data between the memory controller and the chip. PowerVP portrays these lin3s and their utilizations. 0aving a higher rate of data transfer implies that there is a higher rate of data transfer. I/0 (G*. 'us $hese are a set of lin3s or buses within a Power System that connect the .O subsystems to the chip. $hese lin3s carry data for storage .O and networ3 .O. PowerVP portrays these lin3s, their utilizations, as well as their inbound.outbound data rate. 0aving a higher "( bus utilization implies that there is a higher rate of data transfer. $y"les per instru"tion ($PI. -P is a standard measurement of application efficiency. t is the number of cycles consumed divided by the number of 4
(machine) instructions completed. /ormally, a lower -P is better than a higher -P . ' -P can be measured for a given core, a processor module, a hardware node, or an +P'& with PowerVP. 7rom an +P'& perspective, you can brea3 down -P! utilization, into -P components (e.g., load.store unit, floating point, global completion table). $PI sta"# analysis -P! utilization can be bro3en down into -P components. +oad.Store !nit (+S! -P ) reflects the cycles consumed for accessing data (+A, cache, +B cache, +C cache, memory). 7loating Point (7(! -P ) reflects cycles consumed on e,ecuting floating point. "lobal -ompletion $able ("-$ -P ) reflects cycles consumed waiting on the global completion table for pipelining out1of1order instruction e,ecution. PowerVP analysis typically focuses on +S! -P . 1S% $PI sta"# analysis /ormally the largest component of -P! utilization is the +S! -P for O+$P applications. n other words, accessing data consumes a ma4ority of the -P! resources. ' characterization of the time accessing data from +A cache, +B cache, +C cache, and memory9 this also notes whether the accesses are for cache.memory for a given chip or for another chip on the same processor module or hardware node or distant hardware node.
f there is spare resource utilization, you may wish to be energy conscious and have some cores put to sleep9 the result of this action will drive the utilization of the remaining resources to a higher utilization. $he point here is that high utilization isn:t necessarily a bad thing. t is important to do sizing and capacity planning such that your system resources can handle the anticipated load as well as reasonable pea3s in wor3load. n this planning, it is also important to plan some headroom (i.e., spare utilization). Part of the purpose of headroom, is to be able to do most of your wor3 with -P! utilization level low enough not to have too much #ueuing time. $he other purpose of headroom is to be able to handle wor3load pea3s9 perhaps during some of those pea3s, you can deal with having additional response time due to the #ueuing multiplier effect. )est practices for headroom levels consider many factors (number of cores, resource type, partition type, partition size, etc). Please use the )* Systems ;or3load 5stimator to best size your new system, migration, or consolidation at www.ibm.com.systems.support.tools.estimator. $herefore, you should customize these color1coded thresholds to meet the re#uirements of your business. 2ou can set the number of thresholds, the utilization levels, and the colors. 2ou might start with the default levels.colors and modify them to your customized environment. $his customization will also help set your e,pectations and actions as to what to do when those levels are e,ceeded. 7or e,ample if you see that your -P! utilization is generally red for an hour during your business day, do you% #uic3ly ma3e a change to increase the entitlement of a high priority +P'&J or consider a hardware upgrade to migrate to a newer.larger Power System in the near futureJ or consider activating some additional capacity on demandJ or do you 4ust 3now that you hit a red zone normally in the pea3 of your average dayJ
navigation (clic3ing and hovering) to loo3 more closely at hardware nodes, bus utilizations, and partition details. &emember that you can only monitor (whether real1 time or with play1bac3) information that was recorded with PowerVP as it cannot use historic data collected from other OS1based monitors. t is also possible to record PowerVP data without running the monitor "! . Some clients have tal3ed about having the PowerVP system1level display pro4ected on their wall or on the Hbig screenI. $hey may customize PowerVP to alert them with particular colors for certain utilization levels.