Resource monitoring and visualization of OSGi-based software components: Master's thesis

Tuukka Miettinen

Research output: Book/ReportBook (author)Scientificpeer-review


This work introduces a novel approach for the resources consumption analysis of OSGi-based software components. OSGi Service Platform provides a component based and service-oriented Java environment that is especially emerging in environments with constrained computational resources. OSGi Service Platform enables the cooperation of multiple Java based components within a single Java Virtual Machine. Existing JVM analyzing tools typically monitor the resource consumption of the whole Java environment, which is not sufficient in an OSGi environment since the JVM conceals the resource consumption information of separate OSGi components. This emphasizes the need for monitoring solutions that are able to provide a detailed view of the resource consumption of the Java environment. Tools implemented in this work enable the effective resource consumption analysis of individual software components executed on a OSGi platform. A monitoring tool that is able to identify the resource consuming component was developed to extract both component and environment specific data from the Java environment. An existing visualization tool was extended in order to provide an easy to understand view of the resource consumption behaviour of both single component and component compositions. Two novel visualizations were introduced to facilitate the analysis of software resource usage. The tool produces 3D visualization that simultaneously illustrates the time related CPU utilizations and memory consumptions of all desired components executed on the OSGi platform. The other novel visualization presents the amount of resources required by a component to operate normally. In addition, it enables the comparison of resource consumption information to desired usage boundaries. The OSGi-based resource monitoring service was also developed in order to provide runtime resource consumption information for components that are able to adapt their behaviour according to available computing resources. The applicability of the tools was demonstrated with two use cases. Firstly, an OSGi component's resource usage boundaries were detected and validated. Secondly, multiple components were monitored and use of the resource monitoring service was demonstrated with an adaptive OSGi component. It was proved that implemented tools effectively reveal how the components behave inside the OSGi environment from a resource consumption perspective.
Original languageEnglish
Place of PublicationEspoo
PublisherVTT Technical Research Centre of Finland
Number of pages115
ISBN (Electronic)978-951-38-7105-5
ISBN (Print)978-951-38-7104-8
Publication statusPublished - 2008
MoE publication typeC1 Separate scientific books

Publication series

SeriesVTT Publications


  • resource consumption
  • resource monitoring
  • software visualization
  • performance analysis


Dive into the research topics of 'Resource monitoring and visualization of OSGi-based software components: Master's thesis'. Together they form a unique fingerprint.

Cite this