Skip to contentSkip to conversation

Adding NAS Parallel Benchmarks(NPB) as client test [1/2]

PATCH New Cao, Chen 1 participant 2 messages Sep 21, 2009 KVM

lore
Share & tools
lore

Cao, Chen

author
#0 lore raw

PATCH 1/1 Adding NAS Parallel Benchmarks(NPB) as client test [1/2]

- Using NPB OpenMP implementaion.

---
 client/tests/kvm/kvm_tests.cfg.sample   |    4 +
 client/tests/npb/control                |   28 ++++
 client/tests/npb/enable-all-tests.patch |  233 +++++++++++++++++++++++++++++++
 client/tests/npb/npb.py                 |   95 +++++++++++++
 4 files changed, 360 insertions(+), 0 deletions(-)
 create mode 100644 client/tests/npb/control
 create mode 100644 client/tests/npb/enable-all-tests.patch
 create mode 100644 client/tests/npb/npb.py
client/tests/kvm/kvm_tests.cfg.sample +4 -0
index 285a38f..0b2ab37 100644
@@ -90,6 +90,10 @@ variants:
             - disktest:
                 test_name = disktest
                 test_control_file = disktest.control
+            - npb:
+                test_name = npb
+                test_control_file = npb.control
+                extra_params += " -smp 2"
 
     - linux_s3:     install setup
         type = linux_s3
client/tests/npb/control new file +28 -0
new file mode 100644
index 0000000..d6c2adb
@@ -0,0 +1,28 @@
+NAME = "NAS Parallel Benchmarks"
+AUTHOR = "Cao, Chen <[email protected]>"
+TEST_TYPE = "CLIENT"
+TEST_CLASS = "HARDWARE"
+TEST_CATEGORY = "BENCHMARK"
+TIME = "MEDIUM"
+DOC = """\
+Using NPB, OpenMP implementation.
+
+See http://www.nas.nasa.gov/Software/NPB/
+"""
+
+# Supported tests (benchmarks):
+#   bt.A bt.B bt.C bt.D bt.E bt.S bt.W
+#   cg.A cg.B cg.C cg.S cg.W
+#   dc.A dc.B dc.S dc.W
+#   ep.A ep.B ep.C ep.D ep.E ep.S ep.W
+#   ft.A ft.B ft.S ft.W
+#   is.A is.B is.C is.S is.W
+#   lu.A lu.B lu.C lu.S lu.W
+#   mg.A mg.B mg.S mg.W
+#   sp.A sp.B sp.C sp.D sp.E sp.S sp.W
+#   ua.A ua.B ua.C ua.S ua.W
+#
+# Please refer to npb.py for more infomation about
+# the arguments.
+job.run_test(url='npb', tests='ep.A ep.B', ratio=0.5)
+
client/tests/npb/enable-all-tests.patch new file +233 -0

233 lines not on this page · raw message

client/tests/npb/npb.py new file +95 -0

95 lines not on this page · raw message

Signature · 1 line
1.5.5.6
author
#1 lore raw

PATCH 1/1 Adding NAS Parallel Benchmarks(NPB) as client test [2/2]

The source code of NPB.
Please check the attachment.

relative path:
client/tests/npb/NPB3.3.tar.gz

Thanks.

Cao, Chen
2009/09/21