Sign inSign up

stef3a/dacapo

By stef3a

•Updated about 10 years ago

Image including the Java dacapo benchmark with support to pass JVM options and display GC logs

Artifact
0

1.1K

stef3a/dacapo repository overview

Supports passing dacapo options for the selection of workload and related options. Additionally, Java garbage collection logginc is enabled and echoed at the end of the container run for later analysis.

For example, to run the 'h2' benchmark with 2 threads and gather the corresponding GC statistics:

$ sudo docker run stef3a/dacapo h2 -t 2 Using scaled threading model. 4 processors detected, 2 threads used to drive the workload, in a possible range of [1,4000] ===== DaCapo 9.12 h2 starting ===== .... Completed 4000 transactions Stock level ............. 155 ( 3.9%) Order status by name .... 108 ( 2.7%) Order status by ID ...... 65 ( 1.6%) Payment by name ......... 1050 (26.2%) Payment by ID ........... 661 (16.5%) Delivery schedule ....... 167 ( 4.2%) New order ............... 1774 (44.4%) New order rollback ...... 20 ( 0.5%) Resetting database to initial state ===== DaCapo 9.12 h2 PASSED in 5969 msec ===== OpenJDK 64-Bit Server VM (25.91-b14) for linux-amd64 JRE (1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14), built on Jul 21 2016 04:13:34 by "buildd" with gcc 5.3.1 20160413 Memory: 4k page, physical 3976244k(2134640k free), swap 4124668k(4124592k free) CommandLine flags: -XX:InitialHeapSize=63619904 -XX:MaxHeapSize=1017918464 -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseParallelGC 2016-09-28T12:27:21.195+0000: 0.476: [GC (Allocation Failure) 15872K->5015K(60928K), 0.0048088 secs] 2016-09-28T12:27:21.388+0000: 0.670: [GC (Allocation Failure) 20887K->9331K(60928K), 0.0128376 secs] 2016-09-28T12:27:21.556+0000: 0.838: [GC (Allocation Failure) 25203K->12595K(60928K), 0.0072654 secs] ...

Tag summary

Content type

Unrecognized

Digest

Size

259.8 MB

Last updated

about 10 years ago

docker pull stef3a/dacapo