Skip to contentSkip to conversation

Adding NAS Parallel Benchmarks (NPB) as client test

PATCH New Lucas Meneghel Rodrigues 1 participant 1 message Oct 5, 2009 KVM

lore
Share & tools
lore
#0 lore raw

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

This new autotest module implements a benchmark for parallel processing (SMP) systems. Besides the traditional benchmarking, some sanity checks are made, in order to test effectively the SMP implementation of virtual machines. So this module at the same time is a regular benchmark, but it can be also used as a functional test for virtualization.

V3: Implemented suggestions made during review of the module.
Binary diff removed, this is for the sake of documentation.

---
 client/tests/kvm/autotest_control/npb.control |   28 +++
 client/tests/kvm/kvm_tests.cfg.sample         |    4 +
 client/tests/npb/NPB3.3.tar.gz                |  Bin 0 -> 615658 bytes
 client/tests/npb/control                      |   28 +++
 client/tests/npb/enable-all-tests.patch       |  233 +++++++++++++++++++++++++
 client/tests/npb/npb.py                       |  145 +++++++++++++++
 6 files changed, 438 insertions(+), 0 deletions(-)
 create mode 100644 client/tests/kvm/autotest_control/npb.control
 create mode 100644 client/tests/npb/NPB3.3.tar.gz
 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/autotest_control/npb.control new file +28 -0
new file mode 100644
index 0000000..2a8a8bb
@@ -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')
+
client/tests/kvm/kvm_tests.cfg.sample +4 -0
index ceda7b3..fa4dd12 100644
@@ -96,6 +96,9 @@ variants:
                 # control file and set this timeout appropriately.
                 test_timeout = 3900
                 test_control_file = cerberus.control
+            - npb:
+                test_name = npb
+                test_control_file = npb.control
 
     - linux_s3:     install setup
         type = linux_s3
@@ -639,6 +642,7 @@ linux_s3:
 
 variants:
     - @up:
+        no autotest.npb
     - smp2:
         extra_params += " -smp 2"
client/tests/npb/control new file +28 -0
new file mode 100644
index 0000000..bebd0e9
@@ -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 bt.S bt.W')
+
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 +145 -0

145 lines not on this page · raw message

Signature · 1 line
1.6.2.5