-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathusage_scenario.yml
68 lines (65 loc) · 2.88 KB
/
usage_scenario.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
name: Sysbench validation workload
author: Arne Tarara <arne@green-coding.berlin>
description: Stress Container in 1 core steps for 90 seconds each and log SCI
services:
gcb-alpine-sysbench:
image: gcb_alpine_sysbench
build: .
sci:
R_d: Sysbench_event
flow:
- name: Stress
container: gcb-alpine-sysbench
commands:
- type: console
shell: sh
command: sysbench cpu run --cpu-max-prime=25000 --threads=1 --time=15 --events=0 --rate=0 --debug=off | gawk '/total number of events:/{print "GMT_SCI_R="$NF}'
note: Starting Sysbench 90 Seconds 1 Threads
log-stdout: True
read-sci-stdout: True
- type: console
shell: sh
command: sysbench cpu run --cpu-max-prime=25000 --threads=2 --time=15 --events=0 --rate=0 --debug=off | gawk '/total number of events:/{print "GMT_SCI_R="$NF}'
note: Starting Sysbench 90 Seconds 2 Threads
log-stdout: True
read-sci-stdout: True
- type: console
shell: sh
command: sysbench cpu run --cpu-max-prime=25000 --threads=3 --time=15 --events=0 --rate=0 --debug=off | gawk '/total number of events:/{print "GMT_SCI_R="$NF}'
note: Starting Sysbench 90 Seconds 3 Threads
log-stdout: True
read-sci-stdout: True
- type: console
shell: sh
command: sysbench cpu run --cpu-max-prime=25000 --threads=4 --time=15 --events=0 --rate=0 --debug=off | gawk '/total number of events:/{print "GMT_SCI_R="$NF}'
note: Starting Sysbench 90 Seconds 4 Threads
log-stdout: True
read-sci-stdout: True
- type: console
shell: sh
command: sysbench cpu run --cpu-max-prime=25000 --threads=5 --time=15 --events=0 --rate=0 --debug=off | gawk '/total number of events:/{print "GMT_SCI_R="$NF}'
note: Starting Sysbench 90 Seconds 5 Threads
log-stdout: True
read-sci-stdout: True
- type: console
shell: sh
command: sysbench cpu run --cpu-max-prime=25000 --threads=6 --time=15 --events=0 --rate=0 --debug=off | gawk '/total number of events:/{print "GMT_SCI_R="$NF}'
note: Starting Sysbench 90 Seconds 6 Threads
log-stdout: True
read-sci-stdout: True
- type: console
shell: sh
command: sysbench cpu run --cpu-max-prime=25000 --threads=7 --time=15 --events=0 --rate=0 --debug=off | gawk '/total number of events:/{print "GMT_SCI_R="$NF}'
note: Starting Sysbench 90 Seconds 7 Threads
log-stdout: True
read-sci-stdout: True
- type: console
command: sleep 120
note: Sleep 120
- type: console
shell: sh
command: sysbench cpu run --cpu-max-prime=25000 --threads=8 --time=600 --events=0 --rate=0 --debug=off | gawk '/total number of events:/{print "GMT_SCI_R="$NF}'
note: Starting Sysbench 10 Minutes 8 Threads
log-stdout: True
read-sci-stdout: True