diff --git a/tunings/manual_polling.sh b/tunings/manual_polling.sh index 59f74fdd782bc4fb0c313931e58abe5cd77a4e85..aea26089c98625e0c6920704e47bd8dceea60c27 100644 --- a/tunings/manual_polling.sh +++ b/tunings/manual_polling.sh @@ -3,9 +3,9 @@ if [ "$(uname -r)" == "5.15.79-peter" ]; then exit 1 fi -ethtool -G eno3d1 rx 8192 -ethtool -C eno3d1 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 -G $NET_IF rx 8192 +ethtool -C $NET_IF rx-usecs 65534 rx-frames 65534 adaptive-rx 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_read=65535 sysctl net.core.dev_weight=1024