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.

Partiti<strong>on</strong> 2 is c<strong>on</strong>figured with <strong>on</strong>e virtual processor and a capacity of 0.2<br />

processing units, entitling it to 20 percent usage of a physical processor during<br />

each dispatch interval. In this example, a worst case dispatch latency is shown<br />

for this virtual processor, where the 2 ms are used in the beginning of dispatch<br />

interval 1 and the last 2 ms of dispatch interval 2, leaving 16 ms between<br />

processor allocati<strong>on</strong>.<br />

Note: It is possible for a virtual processor to be dispatched more than <strong>on</strong>e time<br />

during a dispatch interval. In the first dispatch interval, the workload executing<br />

<strong>on</strong> virtual processor 1 in LPAR 1 is disc<strong>on</strong>tinuous <strong>on</strong> the physical processor<br />

resource. This can happen if the operating system c<strong>on</strong>fers cycles, and is<br />

reactivated by a prod hcall.<br />

Hypervisor dispatch interval pass 1<br />

Hypervisor dispatch interval pass 2<br />

Physical<br />

Processor 0<br />

Physical<br />

Processor 1<br />

LPAR 1<br />

VP 1<br />

LPAR 2<br />

VP 0<br />

LPAR 3<br />

VP 2<br />

LPAR 1<br />

VP 0<br />

LPAR 1<br />

VP 1<br />

LPAR 3<br />

VP 0<br />

IDLE<br />

LPAR 3<br />

VP 1<br />

LPAR 3<br />

VP 2<br />

LPAR 3<br />

VP 0<br />

LPAR 1<br />

VP 0<br />

LPAR 1<br />

VP 1<br />

LPAR 3<br />

VP 1<br />

IDLE<br />

LPAR 2<br />

VP 0<br />

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20<br />

Time (ms)<br />

LPAR1<br />

Capacity entitlement = 0.8 processing units; virtual processors = 2 (capped)<br />

LPAR2<br />

Capacity entitlement = 0.2 processing units; virtual processors = 1 (capped)<br />

LPAR3<br />

Capacity entitlement = 0.6 processing units; virtual processors = 3 (capped)<br />

Figure 2-10 Micro-Partiti<strong>on</strong>ing processor dispatch<br />

Partiti<strong>on</strong> 3 c<strong>on</strong>tains three virtual processors, with an entitled capacity of 0.6<br />

processing units. Each of the partiti<strong>on</strong>’s three virtual processors c<strong>on</strong>sumes<br />

20 percent of a physical processor in each dispatch interval, but in the case of<br />

virtual processor 0 and 2, the physical processor they run <strong>on</strong> changes between<br />

dispatch intervals.<br />

Processor affinity<br />

The <str<strong>on</strong>g>POWER</str<strong>on</strong>g> Hypervisor is designed to dispatch threads <strong>on</strong> the same physical<br />

processor as it ran <strong>on</strong> in the previous dispatch cycle. This is called processor<br />

affinity. The <str<strong>on</strong>g>POWER</str<strong>on</strong>g> Hypervisor will always first try to dispatch the virtual<br />

processor <strong>on</strong> the same physical processor as it last ran <strong>on</strong>, and, depending <strong>on</strong><br />

resource utilizati<strong>on</strong>, will broaden its search out to the other processor <strong>on</strong> the<br />

<str<strong>on</strong>g>POWER</str<strong>on</strong>g>5 chip, then to another chip <strong>on</strong> the same MCM, then to a chip <strong>on</strong> another<br />

52 <str<strong>on</strong>g>Advanced</str<strong>on</strong>g> <str<strong>on</strong>g>POWER</str<strong>on</strong>g> <str<strong>on</strong>g>Virtualizati<strong>on</strong></str<strong>on</strong>g> <strong>on</strong> <strong>IBM</strong> <strong>System</strong> <strong>p5</strong>

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

Saved successfully!

Ooh no, something went wrong!