Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
netstack-exp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Cai
netstack-exp
Commits
521a71e1
Commit
521a71e1
authored
2 years ago
by
Peter Cai
Browse files
Options
Downloads
Patches
Plain Diff
Use $NET_IF in manual polling
parent
be1188f6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tunings/manual_polling.sh
+3
-3
3 additions, 3 deletions
tunings/manual_polling.sh
with
3 additions
and
3 deletions
tunings/manual_polling.sh
+
3
−
3
View file @
521a71e1
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment