Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
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
Stefane Fermigier
neo
Commits
115b25d2
Commit
115b25d2
authored
Mar 09, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
26ad577f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
go/neo/t/neotest
go/neo/t/neotest
+7
-4
No files found.
go/neo/t/neotest
View file @
115b25d2
...
...
@@ -201,7 +201,7 @@ init_fs() {
dataset
=
# name of current dataset
dataset_size
=
# size parameter for current dataset
ds
=
# top-level dir of current dataset
neocluster
=
# NEO cluster name (different for different datasets to avoid confus
t
ion)
neocluster
=
# NEO cluster name (different for different datasets to avoid confusion)
# switch_dataset <name> <size> - switch benchmarking dataset to named with size
switch_dataset
()
{
...
...
@@ -539,7 +539,7 @@ system_info() {
echo
-n
"
${
myaddr4v
[0]
}
"
test
"
${#
myaddr4v
[@]
}
"
-eq
1
||
echo
-n
" (+
$((${#
myaddr4v
[@]
}
-
1
))
·ipv4)"
echo
")"
echo
-ne
"uname:
\t
"
;
uname
-a
# XXX key name
echo
-ne
"uname:
\t
"
;
uname
-a
# cpu
echo
-ne
"cpu:
\t
"
;
grep
"^model name"
/proc/cpuinfo |head
-1
|sed
-e
's/model name\s*: //'
...
...
@@ -623,7 +623,10 @@ system_info() {
idledump
test
"
$freqstable
"
=
y
||
echo
"WARNING: cpu: frequency not fixed - benchmark timings won't be stable"
test
"
$latmax
"
-le
10
||
echo
"WARNING: cpu: C-state exit-latency is max
${
latmax
}
μs - up to that can add to networked and IPC request-reply latency"
test
"
$latmax
"
-le
10
||
{
echo
"WARNING: cpu: C-state exit-latency is max
${
latmax
}
μs - benchmark timings won't be stable"
echo
"WARNING: cpu: (up to that might be adding to networked and IPC request-reply latency)"
}
# disk under .
...
...
@@ -830,7 +833,7 @@ cpustat() {
# XXX we assume cpuidle states are the same for all cpus and get list of them from cpu0
statev
=(
`
ls
-vd
${
cpuv
[0]
}
/cpuidle/state[0-9]
*
|xargs
-n
1
basename
`
)
# get current [state]usage. usage for a state is summed ac
creso
all cpus
# get current [state]usage. usage for a state is summed ac
ross
all cpus
statev_usage
()
{
usagev
=()
for
s
in
${
statev
[*]
}
;
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