
Solarflare
Server
Adapter
User
Guide
Solarflare
Adapters
on
Linux
Issue
20
©
Solarflare
Communications
2017
118
Tuning
Recommendations
The
following
tables
provide
recommendations
for
tuning
settings
for
different
applications.
•
Throughput
‐
•
Latency
•
Forwarding
‐
Recommended
Throughput
Tuning
shows
recommended
tuning
settings
for
throughput:
Table
24:
Throughput
Tuning
Settings
Tuning
Parameter
How?
MTU
Size
Configure
to
maximum
supported
by
network:
/sbin/ifconfig
<ethX>
mtu
<size>
Interrupt
moderation
Leave
at
default
(Enabled).
TCP/IP
Checksum
Offload
Leave
at
default
(Enabled).
TCP
Segmentation
Offload
Leave
at
default
(Enabled).
TCP
Large
Receive
Offload
Leave
at
default
(Enabled).
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)
Application
dependent
Interrupt
affinity
&
irqbalance
service
Interrupt
affinity
settings
are
application
dependent
Stop
irq
balance
service:
/sbin/service
irqbalance
stop
Reload
the
drivers
to
use
the
driver
default
interrupt
affinity.
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.