Reliable benchmarking: requirements and solutions

Dirk Beyer, Stefan Löwe, Philipp Wendler

International Journal on Software Tools for Technology Transfer · 2017 · 211 citations · 19 references

DOIFull text

Open access

Concepts

TL;DR

Benchmarking is a widely used method in experimental computer science for comparing tools and algorithms, yet many questions about proper resource measurement and result presentation must be addressed to support researchers, developers, users, and competitions. The authors aim to identify indispensable requirements for reliable benchmarking, develop the open‑source BenchExec framework that satisfies these requirements, and provide guidelines for scientifically valid result presentation. BenchExec implements the requirements by leveraging Linux cgroup and namespace features in a tool‑independent, open‑source framework. BenchExec works with a wide range of tools, has proven reliable in the International Competition on Software Verification, and is adopted by research groups worldwide for dependable benchmarking.

Abstract

Abstract Benchmarking is a widely used method in experimental computer science, in particular, for the comparative evaluation of tools and algorithms. As a consequence, a number of questions need to be answered in order to ensure proper benchmarking, resource measurement, and presentation of results, all of which is essential for researchers, tool developers, and users, as well as for tool competitions. We identify a set of requirements that are indispensable for reliable benchmarking and resource measurement of time and memory usage of automatic solvers, verifiers, and similar tools, and discuss limitations of existing methods and benchmarking tools. Fulfilling these requirements in a benchmarking framework can (on Linux systems) currently only be done by using the cgroup and namespace features of the kernel. We developed BenchExec , a ready-to-use, tool-independent, and open-source implementation of a benchmarking framework that fulfills all presented requirements, making reliable benchmarking and resource measurement easy. Our framework is able to work with a wide range of different tools, has proven its reliability and usefulness in the International Competition on Software Verification, and is used by several research groups worldwide to ensure reliable benchmarking. Finally, we present guidelines on how to present measurement results in a scientifically valid and comprehensible way.

References

19