Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
68d5b015
Commit
68d5b015
authored
Oct 12, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X show gro_flush_timeout + friends
parent
86ab45eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
go/neo/t/neotest
go/neo/t/neotest
+11
-0
No files found.
go/neo/t/neotest
View file @
68d5b015
...
@@ -612,6 +612,17 @@ system_info() {
...
@@ -612,6 +612,17 @@ system_info() {
test
"
$rxlat
"
-le
10
||
nicwarnv+
=(
"RX coalesce latency is max
${
rxlat
}
μs - that will add to networked request-reply latency"
)
test
"
$rxlat
"
-le
10
||
nicwarnv+
=(
"RX coalesce latency is max
${
rxlat
}
μs - that will add to networked request-reply latency"
)
fi
fi
# show main parameters + GRO flush time
s
=
"#
$nicname
:"
s+
=
"
`
cat
$nic
/operstate
`
"
speed
=
`
cat
$nic
/speed 2>/dev/null
`
||
speed
=
?
# returns EINVAL for wifi
s+
=
", speed=
$speed
"
s+
=
", mtu=
`
cat
$nic
/mtu
`
"
s+
=
", txqlen=
`
cat
$nic
/tx_queue_len
`
"
tgroflush_ns
=
`
cat
$nic
/gro_flush_timeout
`
s+
=
", gro_flush_timeout=
`
python
-c
"print '%.3f' % (
$tgroflush_ns
/ 1E3)"
`
µs"
echo
"
$s
"
# emit NIC warnings
# emit NIC warnings
for
warn
in
"
${
nicwarnv
[@]
}
"
;
do
for
warn
in
"
${
nicwarnv
[@]
}
"
;
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment