Latest Posts



Translate

Total Pageviews

Wednesday, 10 April 2013

Enabling TSO For a Virtual Machine


TCP Segmentation Offload

Abbreviated as TSO, TCP segmentation offload is used to reduce the CPU overhead of TCP/IP on fast networks. TSO breaks down large groups of data sent over a network into smaller segments that pass through all the network elements between the source and destination. This type of offload relies on the network interface controller (NIC) to segment the data and then add the TCP, IP and data link layer protocol headers to each segment. The NIC must support TSO. TSO is also called large segment offload (LSO).

You can enable TSO support on a virtual machine by using an enhanced vmxnet adapter for that virtual machine.

1
Log in to the vSphere Client and select the virtual machine from the inventory panel.
2
Click the Summary tab, and click Edit Settings.
3
Select the network adapter from the Hardware list.
4
Record the network settings and MAC address that the network adapter is using.
5
Click Remove to remove the network adapter from the virtual machine.
6
Click Add.
7
Select Ethernet Adapter and click Next.
8
In the Adapter Type group, select Enhanced vmxnet.
9
Select the network setting and MAC address that the old network adapter was using and click Next.
10
Click Finish and then click OK.
11
If the virtual machine is not set to upgrade VMware Tools at each power on, you must upgrade VMware Tools manually.

TSO is enabled on a VMkernel interface. If TSO becomes disabled for a particular VMkernel interface, the only way to enable TSO is to delete that VMkernel interface and recreate it with TSO enabled.


You can enable TSO support on a virtual machine by using an enhanced vmxnet adapter for that virtual machine.

1
Locate a virtual machine in the vSphere Web Client.

a
To locate a virtual machine, select a datacenter, folder, cluster, resource pool, or host and click the Related Objects tab.
b
Click Virtual Machines and select a virtual machine from the list.
2
Click the Manage tab, and click Settings > VM Hardware.
3
Click Edit.
4
Expand the network adapter section and record the network settings and MAC address for the network adapter.
5
Click Remove to remove the network adapter from the virtual machine.
6
Select Network from the New device drop-down menu and click Add.
7
Use the drop-down menu to select Vmxnet 2 (Enhanced).
8
Set the network setting and MAC address that the old network adapter was using.
9
Click OK.
If the virtual machine is not set to upgrade VMware Tools at each power on, you must upgrade VMware Tools manually.

TSO is enabled on a VMkernel interface. If TSO becomes disabled for a particular VMkernel interface, the only way to enable TSO is to delete that VMkernel interface and recreate it with TSO enabled.