Enabling Hardware Performance Counters for Microkernel-Based Virtualization on Embedded Systems

Virtualization techniques continue to evolve at rapid speed and have now come to find its application in embedded and mobile computing devices. Virtualization improves the utilization of system resources effectively and also enhances security by providing isolated environments to run untrusted appli...

Full description

Bibliographic Details
Main Authors: Deepa Mathew, Bijoy Antony Jose, Jimson Mathew, Priyadarsan Patra
Format: Article
Language:English
Published: IEEE 2020-01-01
Series:IEEE Access
Subjects:
PMU
Online Access:https://ieeexplore.ieee.org/document/9115598/
id doaj-0f8f4353fe1245aa9279a6f3d4b01668
record_format Article
spelling doaj-0f8f4353fe1245aa9279a6f3d4b016682021-03-30T01:49:49ZengIEEEIEEE Access2169-35362020-01-01811055011056410.1109/ACCESS.2020.30021069115598Enabling Hardware Performance Counters for Microkernel-Based Virtualization on Embedded SystemsDeepa Mathew0https://orcid.org/0000-0003-0901-1876Bijoy Antony Jose1https://orcid.org/0000-0002-9541-4286Jimson Mathew2https://orcid.org/0000-0001-8247-9040Priyadarsan Patra3https://orcid.org/0000-0002-9585-0598Department of Electronics, Cochin University of Science and Technology, Kochi, IndiaDepartment of Electronics, Cochin University of Science and Technology, Kochi, IndiaDepartment of Computer Science and Engineering, IIT Patna, Patna, IndiaSchool of Computer Science and Engineering, Xavier University Bhubaneswar, Bhubaneswar, IndiaVirtualization techniques continue to evolve at rapid speed and have now come to find its application in embedded and mobile computing devices. Virtualization improves the utilization of system resources effectively and also enhances security by providing isolated environments to run untrusted applications. There are various approaches to virtualization of embedded systems, from among them, we have chosen microkernel-based virtualization for our analysis due to its low memory requirements and advantages in terms of security. The microkernel selected for our work is the L4/Fiasco microkernel. Most of the modern CPUs consist of Performance Monitoring Unit (PMUs), which have a set of hardware counters that can be configured to monitor events. These hardware performance counters in the PMU block is not accessible from a microkernel-based virtualization environment. Access to PMU from a virtual environment would facilitate profiling with better accuracy and reduced overheads. To get this realized we propose a method to access the hardware performance counters from a microkernel-based virtualization environment. We have used this implementation to analyze the performance of applications in a microkernel-based virtual environment and to compare its performance in a non-virtual environment.https://ieeexplore.ieee.org/document/9115598/Virtualizationmicrokernelembedded systemsPMUperformanceperf
collection DOAJ
language English
format Article
sources DOAJ
author Deepa Mathew
Bijoy Antony Jose
Jimson Mathew
Priyadarsan Patra
spellingShingle Deepa Mathew
Bijoy Antony Jose
Jimson Mathew
Priyadarsan Patra
Enabling Hardware Performance Counters for Microkernel-Based Virtualization on Embedded Systems
IEEE Access
Virtualization
microkernel
embedded systems
PMU
performance
perf
author_facet Deepa Mathew
Bijoy Antony Jose
Jimson Mathew
Priyadarsan Patra
author_sort Deepa Mathew
title Enabling Hardware Performance Counters for Microkernel-Based Virtualization on Embedded Systems
title_short Enabling Hardware Performance Counters for Microkernel-Based Virtualization on Embedded Systems
title_full Enabling Hardware Performance Counters for Microkernel-Based Virtualization on Embedded Systems
title_fullStr Enabling Hardware Performance Counters for Microkernel-Based Virtualization on Embedded Systems
title_full_unstemmed Enabling Hardware Performance Counters for Microkernel-Based Virtualization on Embedded Systems
title_sort enabling hardware performance counters for microkernel-based virtualization on embedded systems
publisher IEEE
series IEEE Access
issn 2169-3536
publishDate 2020-01-01
description Virtualization techniques continue to evolve at rapid speed and have now come to find its application in embedded and mobile computing devices. Virtualization improves the utilization of system resources effectively and also enhances security by providing isolated environments to run untrusted applications. There are various approaches to virtualization of embedded systems, from among them, we have chosen microkernel-based virtualization for our analysis due to its low memory requirements and advantages in terms of security. The microkernel selected for our work is the L4/Fiasco microkernel. Most of the modern CPUs consist of Performance Monitoring Unit (PMUs), which have a set of hardware counters that can be configured to monitor events. These hardware performance counters in the PMU block is not accessible from a microkernel-based virtualization environment. Access to PMU from a virtual environment would facilitate profiling with better accuracy and reduced overheads. To get this realized we propose a method to access the hardware performance counters from a microkernel-based virtualization environment. We have used this implementation to analyze the performance of applications in a microkernel-based virtual environment and to compare its performance in a non-virtual environment.
topic Virtualization
microkernel
embedded systems
PMU
performance
perf
url https://ieeexplore.ieee.org/document/9115598/
work_keys_str_mv AT deepamathew enablinghardwareperformancecountersformicrokernelbasedvirtualizationonembeddedsystems
AT bijoyantonyjose enablinghardwareperformancecountersformicrokernelbasedvirtualizationonembeddedsystems
AT jimsonmathew enablinghardwareperformancecountersformicrokernelbasedvirtualizationonembeddedsystems
AT priyadarsanpatra enablinghardwareperformancecountersformicrokernelbasedvirtualizationonembeddedsystems
_version_ 1724186288923344896