
Chapter 5
Configuring the
nxge
Device Driver Parameters
51
3. To set a particular variable, use the
/usr/local/bin/nxge_config
if_name
set
param_name value
:
Tuning for Maximum Performance on a
Linux Platform
The following tunings will improve the performance of the Sun x8 Express Dual 10
Gigabit Ethernet device driver on a system running the Linux operating system.
1. Create the
conf
file (for example,
sysctl_nxge.conf
) that will be called by the
sysctl
utility.
#
/usr/local/bin/nxge_config eth4 set class_opt_ipv4_tcp 0xfe0
### IPV4 specific settings
# turns TCP timestamp support off, default 1, reduces CPU use
net.ipv4.tcp_timestamps = 0
# turn SACK support off, default on systems with a VERY fast bus ->
# memory interface this is the big gainer
net.ipv4.tcp_sack = 0
# sets min/default/max TCP read buffer, default 4096 87380 174760
net.ipv4.tcp_rmem = 10000000 10000000 10000000
# sets min/pressure/max TCP write buffer, default 4096 16384 131072
net.ipv4.tcp_wmem = 10000000 10000000 10000000
# sets min/pressure/max TCP buffer space, default 31744 32256 32768
net.ipv4.tcp_mem = 10000000 10000000 10000000
### CORE settings (mostly for socket and UDP effect)
# maximum receive socket buffer size, default 131071
net.core.rmem_max = 524287
# maximum send socket buffer size, default 131071
net.core.wmem_max = 524287
# default receive socket buffer size, default 65535
net.core.rmem_default = 524287
# default send socket buffer size, default 65535
net.core.wmem_default = 524287
# maximum amount of option memory buffers, default 10240
net.core.optmem_max = 524287
# number of unprocessed input packets before kernel starts dropping
# them, default 300
net.core.netdev_max_backlog = 300000
Содержание Dual XFP
Страница 8: ...viii Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 10: ...x Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 12: ...xii Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 18: ...xviii Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 22: ...4 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 30: ...12 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 52: ...34 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 78: ...60 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 84: ...66 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 94: ...76 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 98: ...80 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 100: ...82 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...