This is a discussion on Monitoring real CPU useage when using micro partitions within the AIX Operating System forums, part of the Unix Operating Systems category; --> I have a p5 570, with 4 DCMs (4 CPUs, 8 cores). I have two micro paritions. I have ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have a p5 570, with 4 DCMs (4 CPUs, 8 cores). I have two micro paritions. I have two VIO servers. So, four micro paritions in total. Also using a HMC and CSM from management station (p520). I want to monitor the CPU usage at the physical level. ie. at the hypervisor level. I don't want any AIX commands, because these will only monitor that micro parition. So I don't think iostat, vmstat, mpstat, lparstat, nmon, sar, etc. will help. I tried looking on the HMC, but I couldn't find what I wanted. I don't think Ultilization Data Mangement, will give me what I want. Although, it is the closest thing I could find. Can anyone help me out? Miles |
| |||
| > I have a p5 570, with 4 DCMs (4 CPUs, 8 cores). > I have two micro paritions. > I have two VIO servers. So, four micro paritions in total. > Also using a HMC and CSM from management station (p520). > > I want to monitor the CPU usage at the physical level. ie. at the > hypervisor level. > I don't want any AIX commands, because these will only monitor that > micro parition. So I don't think iostat, vmstat, mpstat, lparstat, > nmon, sar, etc. will help. > > I tried looking on the HMC, but I couldn't find what I wanted. I don't > think Ultilization Data Mangement, will give me what I want. Although, > it is the closest thing I could find. > > Can anyone help me out? > > Miles Hi Miles. You can monitor the cpu usage of the whole system from within micro partitions, if you grant "Pool Authority" to that partition. Then use tools like lparstat (app column) or nmon (press p) to monitor your shared CPU pool. Hope this helps. - Svenni |
| ||||
| sveinng@gmail.com wrote: > > I have a p5 570, with 4 DCMs (4 CPUs, 8 cores). > > I have two micro paritions. > > I have two VIO servers. So, four micro paritions in total. > > Also using a HMC and CSM from management station (p520). > > > > I want to monitor the CPU usage at the physical level. ie. at the > > hypervisor level. > > I don't want any AIX commands, because these will only monitor that > > micro parition. So I don't think iostat, vmstat, mpstat, lparstat, > > nmon, sar, etc. will help. > > > > I tried looking on the HMC, but I couldn't find what I wanted. I don't > > think Ultilization Data Mangement, will give me what I want. Although, > > it is the closest thing I could find. > > > > Can anyone help me out? > > > > Miles > > > Hi Miles. > > You can monitor the cpu usage of the whole system from within micro > partitions, if you grant "Pool Authority" to that partition. Then use > tools like lparstat (app column) or nmon (press p) to monitor your > shared CPU pool. > > Hope this helps. > - Svenni I think that might be it! This is what I did: log into the HMC Select Server and Partition Select Server Managment Click on each physical server: Expand: Partitions Right click on each on each of the micro partitions: - Select Properties - Click on Hardware - Click on Processors and Memory - Check "Allow shared processor pool utilization authority" The change is dynamic. Here is the difference in the lparstat commands: lparstat 2 4 System configuration: type=Shared mode=Uncapped smt=On lcpu=8 mem=20480 %user %sys %wait %idle physc %entc lbusy vcsw phint ----- ---- ----- ----- ----- ----- ------ ---- ----- 7.4 10.7 0.0 81.9 0.42 21.0 5.5 2522 25 3.7 6.6 0.0 89.7 0.24 12.0 2.7 2188 6 5.0 7.3 0.0 87.7 0.28 14.2 3.2 2089 13 7.8 8.4 0.0 83.7 0.37 18.4 4.3 1884 13 lparstat 2 4 System configuration: type=Shared mode=Uncapped smt=On lcpu=8 mem=20480 %user %sys %wait %idle physc %entc lbusy app vcsw phint ----- ---- ----- ----- ----- ----- ------ --- ---- ----- 20.6 11.2 0.0 68.2 0.70 35.0 10.5 6.32 1476 64 27.8 9.7 0.0 62.6 0.80 40.2 13.5 6.19 1754 47 41.8 19.9 0.0 38.3 1.34 67.2 20.8 5.48 2777 133 29.8 22.1 0.0 48.1 1.17 58.7 15.0 5.75 5362 61 Notice the app column. This appears to be the amount of idle processing units (for the entire physical server). The output in nmon then changes a little: Flags: LPARed DRable SMT-bound Shared UnCapped PoolAuth Summary: Entitled= 2.00 Used 0.68 ( 33.8%) 8.4% of CPUs in System PoolCPUs= 8 Unused 7.28 8.4% of CPUs in Pool The utilization of the entire physical server, including all micro partitions is then: (installed processing units - Unused) / installed processing units * 100 or: (8 - 7.28) / 8 * 100 or 9% Thanks Svenni |