23.10.2014 Views

Advanced POWER Virtualization on IBM System p5 - Previous ...

Advanced POWER Virtualization on IBM System p5 - Previous ...

Advanced POWER Virtualization on IBM System p5 - Previous ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

#<br />

d<strong>on</strong>e<br />

fi<br />

exit<br />

end<br />

5.5 M<strong>on</strong>itoring a virtualized envir<strong>on</strong>ment<br />

Oscar Wilde <strong>on</strong>ce said “The truth is rarely pure and never simple”. This<br />

statement could be applied to m<strong>on</strong>itoring system resource usage in a virtualized<br />

envir<strong>on</strong>ment. In these envir<strong>on</strong>ments, the amount of resources owned by a<br />

partiti<strong>on</strong> can change <strong>on</strong>-the-fly and this presents new challenges to both the<br />

developers of performance tools and those trying to interpret the results.<br />

This secti<strong>on</strong> starts with some theory <strong>on</strong> how tools measure virtual resource<br />

usage before diving into the practicalities of using the tools and presenting some<br />

of the new AIX 5L performance-related commands.<br />

5.5.1 Ask the right questi<strong>on</strong>s<br />

Here are few of the questi<strong>on</strong>s that must be answered when designing<br />

performance m<strong>on</strong>itoring tools in a virtualized envir<strong>on</strong>ment. In many cases, there<br />

are several correct answers.<br />

When using SMT, how do you measure the resource usage of the two logical<br />

processors? Is a logical processor that is using 50 percent of the physical<br />

processor 100% busy? When is an uncapped virtual-processor 100 percent<br />

busy? What should be reported if the c<strong>on</strong>figurati<strong>on</strong> changes during the<br />

m<strong>on</strong>itoring?<br />

To help give an answer to these questi<strong>on</strong>s and others, the <str<strong>on</strong>g>POWER</str<strong>on</strong>g>5 family of<br />

processors implements a new performance-specific register called the Process<br />

Utilizati<strong>on</strong> Resource Register (PURR). The PURR tracks the real processor<br />

resource usage <strong>on</strong> a per thread or per partiti<strong>on</strong> level. The AIX 5L performance<br />

tools have been updated in AIX 5L V5.3. It had been modified to show these new<br />

statistics.<br />

Chapter 5. <strong>System</strong> management 321

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!