aboutsummaryrefslogtreecommitdiffstats
path: root/playboooks/cachebench.yaml
diff options
context:
space:
mode:
authorNauman Ahad <Nauman_Ahad@dell.com>2015-08-06 13:02:38 -0700
committerWenjing Chu <wenjing_chu@dell.com>2015-08-10 18:11:43 +0000
commitbe6d041ae8279f7a8e6de4153217108a7b383637 (patch)
tree401d65f46a87c3350b0d43672c65136e200d2b8e /playboooks/cachebench.yaml
parentbe14c50905fc12e8a6971b94d7d25bcec76584de (diff)
Computing benchmark playbooks including dhrystone, whetstone and cachebench
Sample benchmarks for the first demo JIRA:QTIP-3 Change-Id: I9f7fc9bcba84b875a481034e1593e0166d0b627a Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
Diffstat (limited to 'playboooks/cachebench.yaml')
-rw-r--r--playboooks/cachebench.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/playboooks/cachebench.yaml b/playboooks/cachebench.yaml
new file mode 100644
index 00000000..13b968b4
--- /dev/null
+++ b/playboooks/cachebench.yaml
@@ -0,0 +1,25 @@
+
+ - hosts: demo1
+
+ tasks:
+ - name: clean
+ shell: rm -rf /usr/bin/phoronix-test-suite
+ shell: rm -rf /usr/share/doc/phoronix-test-suite/
+ shell: rm -rf /usr/share/phoronix-test-suite
+ shell: rm -rf /root/photmp/
+ - name: make direc
+ file: path=/root/photmp/ state=directory
+ - name: Fetch Phornonix
+ shell: cd /root/photmp/ && wget https://www.dropbox.com/s/5kks513ozxy7vvs/phoronix-suite.tar.gz
+ - name: unarchive Phoronix
+ shell: cd /root/photmp/ && tar -zxvf phoronix-suite.tar.gz
+ - name: Install Phornonix
+ shell: cd /root/photmp/phoronix-test-suite-master/&&./install-sh
+ - name: batchSetup
+ shell: phoronix-test-suite batch-setup
+ - name: install
+ shell: phoronix-test-suite batch-install cachebench
+ - name: run
+ shell: phoronix-test-suite batch-run cachebench
+ - name: copy results
+ shell: scp -r /var/lib/phoronix-test-suite/test-results/* root@172.18.0.11:/root/results/cachebench/