summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLisa Nguyen <lisa.nguyen@linaro.org>2018-08-20 11:05:18 -0700
committerLisa Nguyen <lisa.nguyen@linaro.org>2018-08-20 11:05:18 -0700
commit25be174be3159bcfa430aa86e84701b521fd71cc (patch)
treeb20de6b0ed0ba61d3d62e405697d76590f23a995
Add agenda and config templates for WA3
Most of the templates come from qa/wa-templates repository, and adding the ones used by the PMWG CI loops. Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
-rw-r--r--agenda/android-dhrystone.yaml6
-rw-r--r--agenda/example_agenda_aep.yaml162
-rw-r--r--agenda/linux-dhrystone.yaml6
-rw-r--r--agenda/linux-workloads.yaml17
-rw-r--r--config/generic-android.yaml18
-rw-r--r--config/generic-linux-localhost.yaml19
-rw-r--r--config/generic-linux-remote.yaml19
7 files changed, 247 insertions, 0 deletions
diff --git a/agenda/android-dhrystone.yaml b/agenda/android-dhrystone.yaml
new file mode 100644
index 0000000..5e3ad31
--- /dev/null
+++ b/agenda/android-dhrystone.yaml
@@ -0,0 +1,6 @@
+global:
+ iterations: 3
+
+workloads:
+ - id: dhrystone
+ name: dhrystone
diff --git a/agenda/example_agenda_aep.yaml b/agenda/example_agenda_aep.yaml
new file mode 100644
index 0000000..03449a1
--- /dev/null
+++ b/agenda/example_agenda_aep.yaml
@@ -0,0 +1,162 @@
+# This is an example agenda which shows a possible (rather large) set of
+# workloads and data collection.
+#
+# This will run 3 iterations each of a large set of workloads, under each of
+# PELT and WALT load tracking (it assumes that the target supports both
+# mechanisms).
+
+################################################################################
+# GLOBAL CONFIGURATIONS
+################################################################################
+global:
+ # Collect energy data, ftrace files, and dmesg
+ # You may want to edit your config.yaml to set up the energy_measurement
+ # instrument (an example configuration is provided in this repo).
+ instrumentation: [energy_measurement, dmesg]
+ iterations: 3
+
+ # To aid reproducibility and try to reduce noise in power measurements,
+ # minimise the screen brightness and set airplane mode on.
+ runtime_params:
+ brightness: 0
+ screen_on: true
+ airplane_mode: true
+ sysfile_values:
+ /dev/stune/foreground/schedtune.boost: 20
+ /dev/stune/top-app/schedtune.boost: 20
+
+ energy_measurement:
+ instrument: arm_energy_probe
+ instrument_parameters:
+ config_file: "$WA_EXTENSION_PATHS/config-hikey-01-aep"
+
+
+################################################################################
+# SYSTEM CONFIGURATIONS
+################################################################################
+sections:
+ - id: default # Just a human-readable name
+ classifiers: # Will be used to map job output to 'tags' when analysing
+ tag: dflt
+
+################################################################################
+# WORKLOADS CONFIGURATIONS
+################################################################################
+workloads:
+################################################################################
+ - name: idle
+ classifiers:
+ test: cooldown
+ workload_parameters:
+ duration: 30
+ iterations: 8
+ - name: idle
+ id: idle
+ classifiers:
+ tag: sit_15s
+ workload_parameters:
+ duration: 15
+ iterations: 8
+ - name: homescreen
+ id: homescreen
+ workload_parameters:
+ duration: 15
+ iterations: 8
+ - name: vellamo
+ id: vellamo
+ - name: idle
+ classifiers:
+ test: cooldown
+ workload_parameters:
+ duration: 15
+ iterations: 8
+ - name: jankbench
+ id: jankbench_list_view
+ classifiers:
+ tag: iter_30
+ workload_parameters:
+ test_ids: list_view
+ - name: idle
+ classifiers:
+ test: cooldown
+ workload_parameters:
+ duration: 15
+ iterations: 8
+ - name: jankbench
+ id: jankbench_image_list_view
+ classifiers:
+ tag: iter_30
+ workload_parameters:
+ test_ids: image_list_view
+ - name: idle
+ classifiers:
+ test: cooldown
+ workload_parameters:
+ duration: 15
+ iterations: 8
+ - name: jankbench
+ id: jankbench_shadow_grid
+ classifiers:
+ tag: iter_30
+ workload_parameters:
+ test_ids: shadow_grid
+ - name: idle
+ classifiers:
+ test: cooldown
+ workload_parameters:
+ duration: 15
+ iterations: 8
+ - name: jankbench
+ id: jankbench_low_hitrate_text
+ classifiers:
+ tag: iter_30
+ workload_parameters:
+ test_ids: low_hitrate_text
+ - name: idle
+ classifiers:
+ test: cooldown
+ workload_parameters:
+ duration: 15
+ iterations: 8
+ - name: jankbench
+ id: jankbench_edit_text
+ classifiers:
+ tag: iter_30
+ workload_parameters:
+ test_ids: edit_text
+ - name: idle
+ classifiers:
+ test: cooldown
+ workload_parameters:
+ duration: 15
+ iterations: 8
+ - name: exoplayer
+ id: exoplayer_mov720_30s
+ classifiers:
+ tag: mov_720p_30s
+ workload_parameters:
+ format: "mov_720p"
+ duration: 30
+ version: 2.5
+ - name: idle
+ classifiers:
+ test: cooldown
+ workload_parameters:
+ duration: 15
+ iterations: 8
+ - name: exoplayer
+ id: exoplayer_ogg_128kbps_30s
+ classifiers:
+ tag: ogg_128kbps_30s
+ workload_parameters:
+ format: "ogg_128kbps"
+ duration: 30
+ version: 2.5
+ - name: idle
+ classifiers:
+ test: cooldown
+ workload_parameters:
+ duration: 15
+ iterations: 8
+ - name: youtube_playback
+ id: youtube_playback_default
diff --git a/agenda/linux-dhrystone.yaml b/agenda/linux-dhrystone.yaml
new file mode 100644
index 0000000..5e3ad31
--- /dev/null
+++ b/agenda/linux-dhrystone.yaml
@@ -0,0 +1,6 @@
+global:
+ iterations: 3
+
+workloads:
+ - id: dhrystone
+ name: dhrystone
diff --git a/agenda/linux-workloads.yaml b/agenda/linux-workloads.yaml
new file mode 100644
index 0000000..31a9424
--- /dev/null
+++ b/agenda/linux-workloads.yaml
@@ -0,0 +1,17 @@
+workloads:
+ - id: cyclictest
+ name: cyclictest
+ - id: dhrystone
+ name: dhrystone
+ - id: hackbench
+ name: hackbench
+ - id: idle
+ name: idle
+ - id: linpack-cli
+ name: linpack-cli
+ - id: memcpy
+ name: memcpy
+ - id: stream
+ name: stream
+ - id: sysbench
+ name: sysbench
diff --git a/config/generic-android.yaml b/config/generic-android.yaml
new file mode 100644
index 0000000..21eedee
--- /dev/null
+++ b/config/generic-android.yaml
@@ -0,0 +1,18 @@
+reboot_policy: never
+assets_repository: null
+execution_order: by_iteration
+augmentations:
+ - execution_time
+ - csv
+ - sqlite
+
+logging:
+ color: false
+ file_format: '%(asctime)s %(levelname)-8s %(name)s: %(message)s'
+ regular_format: '%(levelname)-8s %(message)s'
+ verbose_format: '%(asctime)s %(levelname)-8s %(name)s: %(message)s'
+
+device: generic_android
+device_config:
+ device: 'android_serial'
+ working_directory: '/data/local/tmp/wa-working'
diff --git a/config/generic-linux-localhost.yaml b/config/generic-linux-localhost.yaml
new file mode 100644
index 0000000..99dab34
--- /dev/null
+++ b/config/generic-linux-localhost.yaml
@@ -0,0 +1,19 @@
+reboot_policy: never
+assets_repository: null
+execution_order: by_iteration
+augmentations:
+ - execution_time
+ - csv
+ - sqlite
+
+logging:
+ color: false
+ file_format: '%(asctime)s %(levelname)-8s %(name)s: %(message)s'
+ regular_format: '%(levelname)-8s %(message)s'
+ verbose_format: '%(asctime)s %(levelname)-8s %(name)s: %(message)s'
+
+device: generic_linux
+device_config:
+ host: 127.0.0.1
+ username: root
+ password: linaro123
diff --git a/config/generic-linux-remote.yaml b/config/generic-linux-remote.yaml
new file mode 100644
index 0000000..e5d07a4
--- /dev/null
+++ b/config/generic-linux-remote.yaml
@@ -0,0 +1,19 @@
+reboot_policy: never
+assets_repository: null
+execution_order: by_iteration
+augmentations:
+ - execution_time
+ - csv
+ - sqlite
+
+logging:
+ color: false
+ file_format: '%(asctime)s %(levelname)-8s %(name)s: %(message)s'
+ regular_format: '%(levelname)-8s %(message)s'
+ verbose_format: '%(asctime)s %(levelname)-8s %(name)s: %(message)s'
+
+device: generic_linux
+device_config:
+ host: lava-target-ip
+ username: root
+ password: linaro123