3.Set the MTU for maximum performance:

#ifconfig ethx mtu 9194

Where x is the instance number of the interface you want to configure jumbo frames on.

To Show the Driver Statistics in a Linux Environment

1.Use the ifconfig utility to display driver statistics, for example:

#ifconfig eth4

eth9

Link

encap:Ethernet

HWaddr 00:14:4F:6C:78:E9

 

inet

addr:38.38.9.42

Bcast:38.38.9.255

Mask:255.255.255.0

inet6 addr: fe80::214:4fff:fe6c:78e9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:9194 Metric:1

RX packets:748274 errors:0 dropped:0 overruns:0 frame:0 TX packets:8645339 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:44983920 (42.9 MiB) TX bytes:75352303126 (70.1

GiB)

2.Use the ethtool utility with -Soption to get more detailed information. This option displays a large amount of statistics manintined by the driver.

#ethtool -S eth9 grep rx_pac rx_packets: 748274 rx_packets: 828 rx_packets: 112 rx_packets: 189088 rx_packets: 134 rx_packets: 196085 rx_packets: 177884 rx_packets: 93 rx_packets: 184050

58 Sun Dual 10GbE XFP PCI Express Card User’s Guide • January 2009

Page 76
Image 76
Sun Microsystems 10GBE XFP manual To Show the Driver Statistics in a Linux Environment, Set the MTU for maximum performance