summaryrefslogtreecommitdiffstats
path: root/qtip/driver/playbook/ramspeed/run.yaml
diff options
context:
space:
mode:
authorzhihui wu <zhihui.wu2006+zte@gmail.com>2017-03-10 04:14:45 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-10 04:14:45 +0000
commit16ae1eae90cf0fcdb82def11eef6016e4f5f4a50 (patch)
tree5b42bae3ce5264b6010de9125012a1a6e6762f7c /qtip/driver/playbook/ramspeed/run.yaml
parent3a0d983022a8a670fe930ca9da76ec1403afdfe7 (diff)
parent628d8e4f591290671172dd79017e1b40cba0c1e6 (diff)
Merge "modify logfile directory structure"
Diffstat (limited to 'qtip/driver/playbook/ramspeed/run.yaml')
-rw-r--r--qtip/driver/playbook/ramspeed/run.yaml14
1 files changed, 5 insertions, 9 deletions
diff --git a/qtip/driver/playbook/ramspeed/run.yaml b/qtip/driver/playbook/ramspeed/run.yaml
index 33c9a6ef..94becb55 100644
--- a/qtip/driver/playbook/ramspeed/run.yaml
+++ b/qtip/driver/playbook/ramspeed/run.yaml
@@ -12,22 +12,18 @@
remote_user: root
tasks:
- - name: Get current timestamp
- set_fact:
- timestamp: "{{ lookup('pipe', 'date +%Y-%m-%d-%H-%M') }}"
-
- name: Make some directories needed
file:
- path: '{{ ansible_env.HOME }}/qtip_result/{{ timestamp }}/{{ ansible_hostname }}'
+ path: '{{ ansible_env.HOME }}/qtip_result/{{ ansible_hostname }}/ramspeed/'
state: directory
- include: ../inxi.yaml
vars:
- dest_path: '{{ ansible_env.HOME }}/qtip_result/{{ timestamp }}/{{ ansible_hostname }}/'
+ dest_path: '{{ ansible_env.HOME }}/qtip_result/{{ ansible_hostname }}/ramspeed/'
- include: ../top.yaml
vars:
- dest_path: '{{ ansible_env.HOME }}/qtip_result/{{ timestamp }}/{{ ansible_hostname }}/'
+ dest_path: '{{ ansible_env.HOME }}/qtip_result/{{ ansible_hostname }}/ramspeed/'
- name: Benchmarking IntMem Bandwidth and FloatMem Bandwidth
shell: '{{ item }}'
@@ -35,10 +31,10 @@
- ~/ramspeed/ramsmp-3.5.0/ramsmp -b 3 -l 5 -p 1 >> Intmem
- ~/ramspeed/ramsmp-3.5.0/ramsmp -b 6 -l 5 -p 1 >> Floatmem
args:
- chdir: '{{ ansible_env.HOME }}/qtip_result/{{ timestamp }}/{{ ansible_hostname }}/'
+ chdir: '{{ ansible_env.HOME }}/qtip_result/{{ ansible_hostname }}/whetstone/'
- name: Fetch result files to local manchine
synchronize:
mode: pull
src: '{{ ansible_env.HOME }}/qtip_result/'
- dest: '{{ result_dir }}/ramspeed/logs/'
+ dest: '{{ result_dir }}/'