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
6ec740c1
Commit
6ec740c1
authored
Oct 04, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
ee59940e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
go/neo/t/neotest
go/neo/t/neotest
+9
-5
No files found.
go/neo/t/neotest
View file @
6ec740c1
...
@@ -481,8 +481,8 @@ header() {
...
@@ -481,8 +481,8 @@ header() {
< <
(
ls
-vd
$syscpu
/cpu[0-9]
*
)
< <
(
ls
-vd
$syscpu
/cpu[0-9]
*
)
idledump
idledump
test
"
$freqstable
"
=
y
||
echo
"#
WARNING: cpu
frequency not fixed - benchmark timings won't be stable"
test
"
$freqstable
"
=
y
||
echo
"#
cpu: WARNING:
frequency not fixed - benchmark timings won't be stable"
test
"
$latmax
"
-gt
10
&&
echo
"# WARNING: cpu
C-state exit-latency is max
${
latmax
}
μs - that can add to networked request-reply latency (?)"
test
"
$latmax
"
-gt
10
&&
echo
"# cpu: WARNING:
C-state exit-latency is max
${
latmax
}
μs - that can add to networked request-reply latency (?)"
# disk under .
# disk under .
...
@@ -515,7 +515,7 @@ header() {
...
@@ -515,7 +515,7 @@ header() {
coalok
=
y
coalok
=
y
coal
=
`
ethtool
-c
$nicname
2>/dev/null
`
||
coalok
=
n
coal
=
`
ethtool
-c
$nicname
2>/dev/null
`
||
coalok
=
n
if
[
$coalok
!=
y
]
;
then
if
[
$coalok
!=
y
]
;
then
echo
-e
"
\t
(rx
: ? tx
: ?)"
echo
-e
"
\t
(rx
c: ? txc
: ?)"
continue
continue
fi
fi
...
@@ -533,10 +533,14 @@ header() {
...
@@ -533,10 +533,14 @@ header() {
txt_irq
=
`
coal1 tx-usecs-irq
`
txt_irq
=
`
coal1 tx-usecs-irq
`
txf_irq
=
`
coal1 tx-frames-irq
`
txf_irq
=
`
coal1 tx-frames-irq
`
echo
-en
"
\t
(rx:
${
rxt
}
μs/
${
rxf
}
f/
${
rxt_irq
}
μs-irq/
${
rxf_irq
}
f-irq"
echo
-en
"
\t
(rx
c
:
${
rxt
}
μs/
${
rxf
}
f/
${
rxt_irq
}
μs-irq/
${
rxf_irq
}
f-irq"
echo
-e
" tx:
${
txt
}
μs/
${
txf
}
f/
${
txt_irq
}
μs-irq/
${
txf_irq
}
f-irq)"
echo
-e
" tx
c
:
${
txt
}
μs/
${
txf
}
f/
${
txt_irq
}
μs-irq/
${
txf_irq
}
f-irq)"
# XXX also add -low and -high ?
# XXX also add -low and -high ?
# warn if rx latency is too high
rxlat
=
$((
$rxt
>
$rxt_irq
?
$rxt
:
$rxt_irq
))
test
"
$rxlat
"
-gt
10
&&
echo
"#
$nicname
: WARNING: RX coalesce latency is max
${
rxlat
}
μs - that will add to networked request-reply latency"
done
done
echo
-n
"# "
;
python
--version
echo
-n
"# "
;
python
--version
...
...
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