
Solarflare
Server
Adapter
User
Guide
Solarflare
Adapters
on
Linux
Issue
20
©
Solarflare
Communications
2017
121
Recommended
Forwarding
Tuning
shows
recommended
tuning
settings
for
forwarding
Table
26:
Forwarding
Tuning
Settings
Tuning
Parameter
How?
MTU
Size
Configure
to
maximum
supported
by
network:
/sbin/ifconfig
<ethX>
mtu
<size>
Interrupt
moderation
Configure
an
explicit
interrupt
moderation
interval
by
setting
the
following
driver
options
(see
):
irq_adapt_enable=0
tx_irq_mod_usec=150
TCP/IP
Checksum
Offload
Leave
at
default
(Enabled).
TCP
Segmentation
Offload
Leave
at
default
(Enabled).
TCP
Large
Receive
Offload
Disable
using
sysfs:
echo
0
>
/sys/class/net/ethX/device/lro
TCP
Protocol
Tuning
Leave
at
default
for
2.6.16
and
later
kernels.
For
earlier
kernels:
sysctl
net.core.tcp_rmem
4096
87380
524288
sysctl
net.core.tcp_wmem
4096
87380
524288
Receive
Side
Scaling
(RSS)
Leave
the
rss_cpus
option
at
the
default,
to
use
all
CPUs
for
RSS.
Ensure
the
rss_numa_local
driver
option
is
set
to
its
default
value
of
1
(see
Interrupt
affinity
&
irqbalance
service
Interrupt
affinity.
Affinitize
each
ethX
interface
to
its
own
CPU
(if
possible
select
CPU's
on
the
same
Package).
Refer
to
.
Stop
irqbalance
service:
/sbin/service
irqbalance
stop
Buffer
Allocation
Method
Leave
at
default.
Some
applications
may
benefit
from
specific
setting.
The
Solarflare
driver
now
supports
a
single
optimized
buffer
allocation
strategy
and
any
value
set
by
the
rx_alloc_method
parameter
is
ignored.