Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christopher Ferreira
erods-bench
Commits
5419e478
Commit
5419e478
authored
Jun 26, 2017
by
aumgn
Browse files
[migrations.org] Add more informations in the scheduling domains script
parent
151e956d
Changes
1
Hide whitespace changes
Inline
Side-by-side
migrations/migrations.org
View file @
5419e478
...
...
@@ -216,19 +216,28 @@ This function will never be called at runtime and probably be optimized away by
flags_decl[SD_NUMA]=0x4000
for domain in /proc/sys/kernel/sched_domain/cpu0/domain*; do
echo -n "$(basename $domain)
: "
echo -n "$(basename $domain): "
cat $domain/name
printf " imbalance_pct: "
cat $domain/imbalance_pct
printf " busy_factor: "
cat $domain/busy_factor
printf " cache_nice_tries: "
cat $domain/cache_nice_tries
flags=$(cat $domain/flags)
printf " Flags
:\n"
printf " Flags:\n"
for k in "${!flags_decl[@]}"; do
if [[ $(( $flags & ${flags_decl[$k]} )) -ne 0 ]]; then
printf " $k\n"
fi
done
printf " Index
es
:\n"
printf " Index
of load exponential smoothing
:\n"
printf " | busy | idle | newidle | wake | forkexec |\n"
printf " | %3d | %3d | %3d | %3d | %3d |\n" \
$(cat $domain/busy_idx) \
...
...
@@ -239,21 +248,27 @@ This function will never be called at runtime and probably be optimized away by
done
#+END_SRC
On the mc2 :
:RESULTS:
On mc2
domain0 : MC
Flags :
domain0: MC
imbalance_pct: 117
busy_factor: 32
cache_nice_tries: 1
Flags:
SD_BALANCE_EXEC
SD_WAKE_AFFINE
SD_SHARE_PKG_RESOURCES
SD_LOAD_BALANCE
SD_BALANCE_FORK
SD_BALANCE_NEWIDLE
Index
es
:
Index
of load exponential smoothing
:
| busy | idle | newidle | wake | forkexec |
| 2 | 0 | 0 | 0 | 0 |
domain1 : NUMA
Flags :
domain1: NUMA
imbalance_pct: 125
busy_factor: 32
cache_nice_tries: 2
Flags:
SD_BALANCE_EXEC
SD_WAKE_AFFINE
SD_NUMA
...
...
@@ -262,11 +277,14 @@ domain1 : NUMA
SD_LOAD_BALANCE
SD_BALANCE_FORK
SD_BALANCE_NEWIDLE
Index
es
:
Index
of load exponential smoothing
:
| busy | idle | newidle | wake | forkexec |
| 3 | 2 | 0 | 0 | 0 |
domain2 : NUMA
Flags :
domain2: NUMA
imbalance_pct: 125
busy_factor: 32
cache_nice_tries: 2
Flags:
SD_BALANCE_EXEC
SD_WAKE_AFFINE
SD_NUMA
...
...
@@ -275,7 +293,7 @@ domain2 : NUMA
SD_LOAD_BALANCE
SD_BALANCE_FORK
SD_BALANCE_NEWIDLE
Index
es
:
Index
of load exponential smoothing
:
| busy | idle | newidle | wake | forkexec |
| 3 | 2 | 0 | 0 | 0 |
:END:
...
...
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