Skip to content
Snippets Groups Projects
Commit 362591fb authored by Peter Cai's avatar Peter Cai
Browse files

Increase RX ring size by default

parent 407accd8
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ $CPUPOWER frequency-set -f 2.7GHz || true # This can throw out errors but it's g
# Default non-polling NIC settings
# ethtool may fail without fatal errors (e.g. when it made no changes)
ethtool -G $NET_IF rx 1024 || true
ethtool -G $NET_IF rx 8192 || true # Default to a large RX ring size to avoid drops at high rates
ethtool -C $NET_IF rx-usecs 16 rx-frames 44 adaptive-rx on || true
ethtool -C $NET_IF tx-usecs 16 tx-frames 16 adaptive-tx off || true
sysctl net.core.busy_poll=0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment