27.09.2013 Views

SAP Solutions on VMware Best Practices Guide

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

© 2011 <strong>VMware</strong>, Inc. All rights reserved.<br />

Page 17 of 32<br />

<str<strong>on</strong>g>SAP</str<strong>on</strong>g> <str<strong>on</strong>g>Soluti<strong>on</strong>s</str<strong>on</strong>g> <strong>on</strong> <strong>VMware</strong><br />

<strong>Best</strong> <strong>Practices</strong> <strong>Guide</strong><br />

Separate 3-tier <str<strong>on</strong>g>SAP</str<strong>on</strong>g> OLTP tests <strong>on</strong> ESX/ESXi servers with hyperthreading enabled <strong>on</strong> Intel Xe<strong>on</strong> 5500 or<br />

higher has shown up to a 24% gain in performance from hyperthreading (for background, refer to the<br />

<strong>VMware</strong> performance blog listed in the Resources secti<strong>on</strong>).<br />

To maximize performance of <str<strong>on</strong>g>SAP</str<strong>on</strong>g> applicati<strong>on</strong>s in the virtual envir<strong>on</strong>ment, <strong>VMware</strong> recommends the<br />

following:<br />

Use the latest hardware to exploit vSphere support of hardware nested page tables to obtain the best<br />

<str<strong>on</strong>g>SAP</str<strong>on</strong>g> applicati<strong>on</strong> performance <strong>on</strong> vSphere.<br />

4-way and 8-way applicati<strong>on</strong> server virtual machines are viable for envir<strong>on</strong>ments running <strong>on</strong><br />

vSphere. Note that in ESX/ESXi 3.X versi<strong>on</strong>s, 2-way virtual machines are still optimum.<br />

Where possible size the virtual machine so that it fits within a NUMA node (virtual memory is less<br />

than NUMA node memory and vCPU count that is less than or equal to the number of processors per<br />

node). This c<strong>on</strong>figurati<strong>on</strong> allows vSphere to employ NUMA optimizati<strong>on</strong>s for memory and CPU<br />

scheduling and ensures that all memory accesses will be satisfied by the memory closest to the<br />

processor<br />

vSphere 5 introduces virtual NUMA whereby ESXi 5.0 exposes NUMA topology to the guest<br />

operating system, allowing NUMA-aware guest operating systems and applicati<strong>on</strong>s to make the most<br />

efficient use of the underlying hardware’s NUMA architecture. For <str<strong>on</strong>g>SAP</str<strong>on</strong>g> systems, where sizing<br />

dictates, large single instance databases can be installed in a wide virtual machine that crosses<br />

NUMA nodes and virtual NUMA sockets can be defined for the virtual machine. In this setup, the<br />

database will behave in similar manner to when installed <strong>on</strong> a large NUMA based physical server and<br />

the NUMA optimizati<strong>on</strong>s of the database will determine the performance benefits.<br />

o See the paper Performance <strong>Best</strong> <strong>Practices</strong> for <strong>VMware</strong> vSphere 5 for further virtual NUMA<br />

guidelines and c<strong>on</strong>figurati<strong>on</strong> steps.<br />

o C<strong>on</strong>sult your database vendor documentati<strong>on</strong> to determine NUMA optimizati<strong>on</strong> settings for the<br />

database.<br />

Install the latest versi<strong>on</strong> of <strong>VMware</strong> Tools in the guest operating system.<br />

Download and follow guidelines in the following <str<strong>on</strong>g>SAP</str<strong>on</strong>g> Notes<br />

o 1056052 – Windows: <strong>VMware</strong> ESX/ESXi 3.x or vSphere c<strong>on</strong>figurati<strong>on</strong> guidelines.<br />

o 1122388 – Linux: <strong>VMware</strong> ESX Server 3 c<strong>on</strong>figurati<strong>on</strong> guidelines.<br />

For vSphere 4, follow the guidelines in <strong>VMware</strong> KB article 1020233 HaltingIdleMsecPenalty<br />

Parameter: Guidance for Modifying vSphere's Fairness/Throughput Balance to maximize benefits of<br />

hyperthreading. This KB article is not required for vSphere 5.

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

Saved successfully!

Ooh no, something went wrong!