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

Use $NET_IF in manual polling

parent be1188f6
No related branches found
No related tags found
No related merge requests found
...@@ -3,9 +3,9 @@ if [ "$(uname -r)" == "5.15.79-peter" ]; then ...@@ -3,9 +3,9 @@ if [ "$(uname -r)" == "5.15.79-peter" ]; then
exit 1 exit 1
fi fi
ethtool -G eno3d1 rx 8192 ethtool -G $NET_IF rx 8192
ethtool -C eno3d1 rx-usecs 65534 rx-frames 65534 adaptive-rx off # 65535 - default ethtool -C $NET_IF rx-usecs 65534 rx-frames 65534 adaptive-rx off # 65535 - default
ethtool -C eno3d1 tx-usecs 1024 tx-frames 256 adaptive-tx off # 65535 - default ethtool -C $NET_IF tx-usecs 1024 tx-frames 256 adaptive-tx off # 65535 - default
sysctl net.core.busy_poll=65535 sysctl net.core.busy_poll=65535
sysctl net.core.busy_read=65535 sysctl net.core.busy_read=65535
sysctl net.core.dev_weight=1024 sysctl net.core.dev_weight=1024
......
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