Editing Performance Optimization
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
<span style="color: red;">'''Note: When hugepages are configured this portion of memory is taken away from the Host. This means the Host will no longer be able to use it. Keep this in mind.'''</span> | <span style="color: red;">'''Note: When hugepages are configured this portion of memory is taken away from the Host. This means the Host will no longer be able to use it. Keep this in mind.'''</span> | ||
− | === | + | === Debain (Ubuntu/Mint/Lubuntu/PopOS/etc) === |
First check if Linux isn't already using Hugepages with: <code>cat /proc/meminfo | grep Huge</code>. | First check if Linux isn't already using Hugepages with: <code>cat /proc/meminfo | grep Huge</code>. | ||
If the output resembles the following: | If the output resembles the following: | ||
Line 55: | Line 55: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Now restart the computer. | Now restart the computer. | ||
− | |||
− | |||
To make the VM use Hugepages enter the VM's .XML file and add <code><memoryBacking><hugepages/></memoryBacking></code> to the memory section: | To make the VM use Hugepages enter the VM's .XML file and add <code><memoryBacking><hugepages/></memoryBacking></code> to the memory section: | ||
Line 72: | Line 70: | ||
== hyperv == | == hyperv == | ||
Hyperv has a number of variables that can change the way in which the VM interacts with system resources. A few variables that can help preserve resources for the system are by appending: | Hyperv has a number of variables that can change the way in which the VM interacts with system resources. A few variables that can help preserve resources for the system are by appending: | ||
− | |||
<vpindex state='on'/> | <vpindex state='on'/> | ||
<runtime state='on'/> | <runtime state='on'/> | ||
<synic state='on'/> | <synic state='on'/> | ||
<stimer state='on'/> | <stimer state='on'/> | ||
− | |||
to the hyperv section of the VM's .XML file. | to the hyperv section of the VM's .XML file. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== vcpupin == | == vcpupin == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |