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