Introduction to SPECjvm
SPECjvm can be used to test the performance of servers and systems. To achieve better performance of servers and systems, you can tune SPECjvm by tuning hardware and containers.
SPECjvm 2008 is a benchmark suite for measuring the performance of a Java Runtime Environment (JRE). It contains multiple real-life applications and benchmarks focusing on core Java functionality. This suite focuses on the performance of the JRE executing a single application. It reflects the performance of the hardware processor and memory subsystem but has low dependence on the file system I/O and network I/O. As SPEC's first Java virtual machine (JVM) benchmark, SPECjvm 2008 is free to download.
SPECjvm 2008 simulates various common general-purpose application computations and so it is suitable for measuring the performance of a wide range of client and server systems. The suite has 21 benchmarks, each containing a 2-minute warmup and 4-minute measurement. Given that the program does not interrupt the benchmark execution, the whole runtime takes at least 126 minutes (21 x (2+4)). The actual duration may vary according to the Java performance.
To run SPECjvm 2008, you need to install a Java dependency package that supports Java SE 5.0. Generally, OpenJDK 1.8 can meet this requirement.
For more information about SPECjvm, visit the SPECjvm 2008 official website.
You can tune SPECjvm to improve the performance and stability of servers and systems in tests. The tuning involves two aspects: hardware and container. The SPECjvm test result shows that the overall performance of servers and systems can be improved by 5% using the tuning methods described in this document.