beautypg.com

Sun Microsystems Ethernet MMF/UTP Adapter User Manual

Page 115

background image

Appendix C

Installing the Sun PCI-Express Dual Gigabit Ethernet Device Driver on Linux Platforms

81

1. Create a performance tuning script (for example, e1000_perf.sh), and edit this

file to add the interface or device ID of Sun PCI-Express Dual Gigabit Ethernet
Low-Profile adapter.

#!/bin/bash

echo "configuring network performance"

# set mmrbc to 4k reads, modify only Sun PCI-E Dual Gigabit device

IDs

# set the MTU (max transmission unit) - it requires your switch and

# clients to change too and should support the value you provide

here.

# Also set the txqueuelen on your SSun PCI-E Dual Gigabit adapter.

# If your adapter was configured as eth2, you would the following:

ifconfig eth2 mtu 16110 txqueuelen 1000 up

# call the sysctl utility to modify /proc/sys entries; update the

# location of the sysctl_e1000.conf file as appropriate

sysctl -p ./sysctl_e1000.conf