How to enable CPU Passthrough / Host Passthrough
Note:
- Your VPS will be shutdown/reboot during this process. It is recommended to shutdown the VPS from inside the VPS before using this option.
- This guide is applicable only for KVM based VPSes, OpenVZ based VPS have CPU-Passthrough/Host-Passthrough enabled by default.
Enabling CPU Passthrough, "passes through" the host-node CPU to your VPS, this is a must have when a program being run needs a specific CPU flag or needs a identifiable CPU to run. Enabling CPU passthrough also allows one to know the real CPU on the host-node.
-
Click on Manage on the VPS for which you wish to enable CPU Passthrough for
-
Switch to the Settings tab.
-
Under the "Change CPU Mode" dropdown, select "host-passthrough", then click on "Change CPU Mode"
-
Confirm the change of CPU Mode,
-
The panel will then confirm the task, please wait for 2-3 minutes for the task to complete,
-
You can find your current CPU Mode setting by visiting the Settings tab, the applied setting will be marked with (Applied)
Inside the VPS, you can use the command
cat /proc/cpuinfo
to find the CPU model, flags and other information as well.