Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
machinejobfeatures
mjf-scripts
Commits
a615920b
Commit
a615920b
authored
Jan 16, 2017
by
Andrew McNab
Browse files
Try to use performance cpufreq governor before benchmark
parent
d22ca0d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
VERSION
View file @
a615920b
VERSION=00.1
7
VERSION=00.1
8
db12.init
View file @
a615920b
...
...
@@ -2,7 +2,7 @@
#
# db12 Run DB12 fast benchmark and create /etc/db12 files
#
# chkconfig: 345
14 86
# chkconfig: 345
01 99
# description: Run DB12 fast benchmark and create /etc/db12 files
# Source function library.
...
...
@@ -39,7 +39,15 @@ start() {
# Plymouth boot up splash screen uses lots of CPU!
plymouth hide-splash
fi
# Try to use full CPU speed for benchmarking
modprobe acpi-cpufreq
for
i
in
/sys/devices/system/cpu/cpu
*
/cpufreq/scaling_governor
do
echo
performance
>
$i
done
# Get the total benchmark for this machine, assuming $total_cpu jobslots
db12_sum
=
`
/usr/sbin/DIRACbenchmark.py
--iterations
=
$iterations
--extra-iteration
$total_cpu
|
head
-1
|
cut
-f2
-d
' '
`
if
[
"
$db12_sum
"
!=
""
]
;
then
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment