Tracing of Multi-Threaded Java Applications in Score-P Using JVMTI and User Instrumentation
Publikation: Beitrag in Fachzeitschrift › Konferenzartikel › Beigetragen › Begutachtung
Beitragende
Abstract
Over the past years, parallel Java applications received a substantial boost in the research field of High Performance Computing, especially in the field of Big Data Analytics by the development of Java-based frameworks, i. e., Apache Hadoop, Flink or Spark, amongst others, for processing large-scale datasets. Analyzing the performance of said Big Data frameworks in particular, and multi-threaded Java applications in general, is indispensable for efficient execution. Due to the high number of threads, this requires a scalable runtime performance measurement infrastructure. The established, open-source tracing framework Score-P provides such an infrastructure, but did not support (parallel) Java applications, previously. We added support for tracing multi-threaded Java applications to Score-P by implementing two instrumentation approaches. The first instrumentation approach is based on the Java Virtual Machine tool interface (JVMTI) and allows to easily trace an application without source code modifications. The second instrumentation approach allows to manually modify sources via API functions such that only those parts of an application are recorded which the user is interested in. Both instrumentation approaches were successfully applied to the LU kernel of the established Java benchmark suite SPECjvm2008 at a modern HPC machine. We show the quality of the implementations by determining the tracing overheads of the instrumented versions for different test scenarios using varying numbers of Java threads, and thus, varying numbers of recorded events.
Details
Originalsprache | Englisch |
---|---|
Seiten (von - bis) | 91-102 |
Fachzeitschrift | PARS-Mitteilungen |
Jahrgang | 34 |
Ausgabenummer | 1 |
Publikationsstatus | Veröffentlicht - 1 Mai 2017 |
Peer-Review-Status | Ja |
Externe IDs
ORCID | /0009-0007-5755-1427/work/142250921 |
---|
Schlagworte
Forschungsprofillinien der TU Dresden
Schlagwörter
- instrumentation, Java, JVMTI, Multi-Threaded, performance analysis, profiling, Score-P, tracing