Fortinet Document Library

Version:


Table of Contents

FortiGate-VM on Xen

Resources

Upgrade Path Tool
  • Select version:
  • 6.0
6.0.0
Download PDF
Copy Link

Hyperthreading

Enabling hyperthreading for XenServer allows a single processor core to function as two logical processors, often resulting in improved performance. If your XenServer server hardware CPUs support hyperthreading you may be able to optimize FortiGate-VM performance by enabling hyperthreading (sometimes called logical processor) in the server's BIOS and in XenServer.

Check hyperthreading status

On a XenServer host:

  1. Open a local shell and log in as 'root'.
  2. Run the following command to display the number of threads uses on the XenServer host
    xl info | grep threads_per_core
  3. A value greater than 1 indicates that hyperthreading is enabled on the host. A value of 1 indicates that either hyper-threading is disabled on the Xen command line, or it is not enabled on the hardware.

Enabling hyperthreading

On a XenServer host:

  1. Open a local shell and log in as 'root'.
  2. Enter the following command:
    /opt/xensource/libexec/xen-cmdline --set-xen smt=1
  3. Restart the XenServer host.

To disable hyper-threading

On a XenServer host:

  1. Open a local shell and log in as 'root'.
  2. Enter the following command:
    /opt/xensource/libexec/xen-cmdline --set-xen smt=0
  3. Restart the XenServer host.

 

Resources

Hyperthreading

Enabling hyperthreading for XenServer allows a single processor core to function as two logical processors, often resulting in improved performance. If your XenServer server hardware CPUs support hyperthreading you may be able to optimize FortiGate-VM performance by enabling hyperthreading (sometimes called logical processor) in the server's BIOS and in XenServer.

Check hyperthreading status

On a XenServer host:

  1. Open a local shell and log in as 'root'.
  2. Run the following command to display the number of threads uses on the XenServer host
    xl info | grep threads_per_core
  3. A value greater than 1 indicates that hyperthreading is enabled on the host. A value of 1 indicates that either hyper-threading is disabled on the Xen command line, or it is not enabled on the hardware.

Enabling hyperthreading

On a XenServer host:

  1. Open a local shell and log in as 'root'.
  2. Enter the following command:
    /opt/xensource/libexec/xen-cmdline --set-xen smt=1
  3. Restart the XenServer host.

To disable hyper-threading

On a XenServer host:

  1. Open a local shell and log in as 'root'.
  2. Enter the following command:
    /opt/xensource/libexec/xen-cmdline --set-xen smt=0
  3. Restart the XenServer host.