VMware Cloud Community
zhangfred_vm
Contributor
Contributor
Jump to solution

VM NIC TCP SEGMENTATION OFFLOADING

Hi Experts,

Does the VM nic support the TSO?

thanks.

0 Kudos
1 Solution

Accepted Solutions
AWo
Immortal
Immortal
Jump to solution

Try "ethtool -k eth0". It shows you if it is set to on or off.

With "ethtool -K eth0 tso on" you can switch it on.

Note that the "K" is upper case when you want to set the paramter!


AWo

VCP 3 & 4

Author @ vmwire.net

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =

View solution in original post

0 Kudos
8 Replies
AWo
Immortal
Immortal
Jump to solution

The virtual one? Yes. At least the vmxnet3 type.


AWo

VCP 3 & 4

Author @ vmwire.net

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
zhangfred_vm
Contributor
Contributor
Jump to solution

thank you, how to watch it.

I use the "ifconfig" command, but I din't see the TSO releated info.

0 Kudos
AWo
Immortal
Immortal
Jump to solution

Is your virtual NIC a vmxnet3?

Which guest OS do you use?

Where do you expect to see TSO information?


AWo

VCP 3 & 4

Author @ vmwire.net

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
AWo
Immortal
Immortal
Jump to solution

Check KB 1001805. vmxnet2 supports TSO, as well.


AWo

VCP 3 & 4

Author @ vmwire.net

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
zhangfred_vm
Contributor
Contributor
Jump to solution

Yes, it is the vmxnet 3.

The Guest is os is suse 10.3.

It is said we can see the TSO related info,by the ifconfig command.

but I didn't see such info.

linux-hdof:~ # ifconfig

eth4 Link encap:Ethernet HWaddr 00:50:56:A3:76:9E

inet addr:10.32.33.121 Bcast:10.32.33.255 Mask:255.255.255.0

inet6 addr: fe80::250:56ff:fea3:769e/64 Scope:Link

UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1

RX packets:11766 errors:0 dropped:0 overruns:0 frame:0

TX packets:141 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:904177 (882.9 Kb) TX bytes:18021 (17.5 Kb)

0 Kudos
AWo
Immortal
Immortal
Jump to solution

Try "ethtool -k eth0". It shows you if it is set to on or off.

With "ethtool -K eth0 tso on" you can switch it on.

Note that the "K" is upper case when you want to set the paramter!


AWo

VCP 3 & 4

Author @ vmwire.net

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
zhangfred_vm
Contributor
Contributor
Jump to solution

So great! Thank you very much!

what do you suggest, to turn on or not?

-


linux-hdof:~ # ethtool -k eth4

Offload parameters for eth4:

Cannot get device udp large send offload settings: Operation not supported

rx-checksumming: on

tx-checksumming: on

scatter-gather: on

tcp segmentation offload: on

udp fragmentation offload: off

generic segmentation offload: off

-


0 Kudos
AWo
Immortal
Immortal
Jump to solution

Huh, I don't know....you should try what's best for you. Whatch all guests when you try as this might have a negative effect on other guests. Someone has to do the work you offload.....


AWo

VCP 3 & 4

Author @ vmwire.net

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos