1 AUTHOR = "Lucas Meneghel Rodrigues <lucasmr (a] br.ibm.com>" 2 NAME = "dacapo" 3 TIME = "MEDIUM" 4 TEST_CLASS = "Java" 5 TEST_CATEGORY = "Functional" 6 TEST_TYPE = "client" 7 DOC = """\ 8 This benchmark suite is intended as a tool for Java benchmarking by the 9 programming language, memory management and computer architecture communities. 10 It consists of a set of open source, real world applications with non-trivial 11 memory loads. The suite is the culmination of over five years work at eight 12 institutions, as part of the DaCapo research project, which was funded by a 13 National Science Foundation ITR Grant, CCR-0085792. 14 """ 15 16 dacapo_base_config = ''' 17 [dacapo] 18 tarball_url = http://downloads.sourceforge.net/project/dacapobench/9.12-bach/dacapo-9.12-bach.jar 19 package_md5 = 3f5c11927268b567bc90629c17ec446b 20 21 [global] 22 iterations = 5 23 workload = large 24 use_global = yes 25 26 [avrora] 27 iterations = 0 28 workload = large 29 30 [batik] 31 iterations = 0 32 workload = large 33 34 [eclipse] 35 iterations = 0 36 workload = large 37 38 [fop] 39 iterations = 0 40 workload = large 41 42 [h2] 43 iterations = 0 44 workload = large 45 46 [jython] 47 iterations = 0 48 workload = large 49 50 [luindex] 51 iterations = 0 52 workload = large 53 54 [lusearch] 55 iterations = 0 56 workload = large 57 58 [pmd] 59 iterations = 0 60 workload = large 61 62 [sunflow] 63 iterations = 0 64 workload = large 65 66 [tomcat] 67 iterations = 0 68 workload = large 69 70 [tradebeans] 71 iterations = 0 72 workload = large 73 74 [tradesoap] 75 iterations = 0 76 workload = large 77 78 [xalan] 79 iterations = 0 80 workload = large 81 ''' 82 83 java_config = ''' 84 [ibm14-ppc64] 85 jvm_pkg_url = http://myhost.foo.com/packages/java/ibm14/ppc/IBMJava2-142-ppc32-JRE-1.4.2-9.0.ppc.rpm 86 java_root = /opt/IBMJava2-ppc-142 87 package_md5 = 5e90f080f8834a2b1af66490158497ed 88 89 [ibm15-ppc64] 90 jvm_pkg_url = http://myhost.foo.com/packages/java/ibm15/ppc/ibm-java2-ppc-jre-5.0-5.1.ppc.rpm 91 java_root = /opt/ibm/java2-ppc-50 92 package_md5 = 63e19cc1ac2d29186e594b0b4dd35ce0 93 94 [ibm14-i386] 95 jvm_pkg_url = http://myhost.foo.com/packages/java/ibm14/i386/IBMJava2-142-ia32-JRE-1.4.2-8.0.i386.rpm 96 java_root = /opt/IBMJava2-142 97 package_md5 = 1c499114dec5fb0123edad4e89b26370 98 99 [sun16-i386] 100 jvm_pkg_url = http://myhost.foo.com/packages/java/sun16/i386/jre-6u3-linux-i586.rpm 101 java_root = /usr/java/jre1.6.0_03 102 package_md5 = e94c47adedf329200fc975662d667307 103 ''' 104 105 dacapo_config = dacapo_base_config + java_config 106 107 # list of jvm entries inside the configuration file. 'default' means the test 108 # will use the jvm installed on the machine. 109 jvm_list = ['default'] 110 111 # list of dacapo tests that will be executed 112 dacapo_tests = ['avrora', 'batik', 'eclipse', 'fop', 'h2', 'jython', 'luindex', 113 'lusearch', 'pmd', 'sunflow', 'tomcat', 'tradebeans', 114 'tradesoap', 'xalan'] 115 116 # No go trough the tests and jvms 117 for jvm in jvm_list: 118 for test in dacapo_tests: 119 t = test + '-' + jvm 120 job.run_test('dacapo', test=test, config=dacapo_config, jvm=jvm, tag=t) 121