Computing benchmark playbooks including dhrystone, whetstone and cachebench 29/1129/2
authorNauman Ahad <Nauman_Ahad@dell.com>
Thu, 6 Aug 2015 20:02:38 +0000 (13:02 -0700)
committerWenjing Chu <wenjing_chu@dell.com>
Mon, 10 Aug 2015 18:11:43 +0000 (18:11 +0000)
Sample benchmarks for the first demo

JIRA:QTIP-3

Change-Id: I9f7fc9bcba84b875a481034e1593e0166d0b627a
Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
playboooks/cachebench.yaml [new file with mode: 0644]
playboooks/dhrystone.yaml [new file with mode: 0644]
playboooks/whetstone.yaml [new file with mode: 0644]

diff --git a/playboooks/cachebench.yaml b/playboooks/cachebench.yaml
new file mode 100644 (file)
index 0000000..13b968b
--- /dev/null
@@ -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/
diff --git a/playboooks/dhrystone.yaml b/playboooks/dhrystone.yaml
new file mode 100644 (file)
index 0000000..e0b4842
--- /dev/null
@@ -0,0 +1,16 @@
+ - hosts: demo1
+
+   tasks:
+    - name: cleaning
+      shell: rm -rf /root/tempT
+    - name: Install git
+      shell: yum install git -y
+    - name: Clone unixbench
+      shell: git clone https://github.com/kdlucas/byte-unixbench.git /root/tempT
+    - name: make
+      shell: make --directory /root/tempT/UnixBench/
+    - name: Run dhrystone
+      shell: cd /root/tempT/UnixBench/&&./Run -v dhrystone
+    - name: copy results
+      shell: scp -r /root/tempT/UnixBench/results/* root@172.18.0.11:/root/results/dhrystone
diff --git a/playboooks/whetstone.yaml b/playboooks/whetstone.yaml
new file mode 100644 (file)
index 0000000..f07ea07
--- /dev/null
@@ -0,0 +1,16 @@
+ - hosts: demo1
+
+   tasks:
+    - name: cleaning
+      shell: rm -rf /root/tempT
+    - name: Install git
+      shell: yum install git -y
+    - name: Clone unixbench
+      shell: git clone https://github.com/kdlucas/byte-unixbench.git /root/tempT
+    - name: make
+      shell: make --directory /root/tempT/UnixBench/
+    - name: Run whetstone
+      shell: cd /root/tempT/UnixBench/&&./Run -v whetstone
+    - name: copy results
+      shell: scp -r /root/tempT/UnixBench/results/* root@172.18.0.11:/root/results/whetstone