<  Back to the Polytechnique Montréal portal

Virtual CPU state detection and execution flow analysis by host tracing

Hani Nemati and Michel R. Dagenais

Conference or Workshop Item - Paper (2016)

Accepted Version
Terms of Use: All rights reserved.
Download (757kB)
Cite this document: Nemati, H. & Dagenais, M. R. (2016, October). Virtual CPU state detection and execution flow analysis by host tracing. Paper presented at IEEE International Conferences on Big Data and Cloud Computing, Social Computing and Networking, Sustainable Computing and Communications (BDCloud 2016) (SocialCom 2016) (SustainCom 2016), Atlanta, GA, USA (9 pages). doi:10.1109/bdcloud-socialcom-sustaincom.2016.13
Show abstract Hide abstract


Cloud computing offers to the end user the ability of accessing a pool of resources with the Pay as Use (PaU) model. By leveraging this technology, users can benefit from hardware virtualization for on-demand resource acquisition and rapid elasticity. However, there is no effective tool to analyze virtual hardware performance, especially when isolation between these virtual resources is not adequate. The existing tools need to access and trace the whole activity of the VM and host. However, in most cases, tracing the virtual machine (VM) is not possible because of security issues and the added overhead. Therefore, there is a need for a tool to troubleshoot unexpected behavior of VMs without internal access for tracing or debugging. In this paper, we propose a new method to study the state of CPUs inside VMs without internal access. Our tool can detect unexpected delays and their root causes. We developed a virtual CPU (vCPU) state analyser to detect the state of vCPUs along with the reason for being in that state. This approach relies on host tracing, thus adding less overhead to VMs as compared to existing approaches. Then we propose a new approach for profiling threads inside the VMs by host tracing. We implemented different views for the TraceCompass trace viewer to let the administrator visually track different threads and their states inside the VMs. Our tool can detect different problems such as overcommitment of resources.

Uncontrolled Keywords

virtualization; KVM; performance analysis; vCPU states; LTTng; TraceCompass

Open Access document in PolyPublie
Subjects: 2700 Technologie de l'information > 2700 Technologie de l'information
2700 Technologie de l'information > 2705 Logiciels et développement
2700 Technologie de l'information > 2719 Architecture d'ordinateur et conception
2700 Technologie de l'information > 2720 Logiciel de systèmes informatiques
Department: Département de génie informatique et génie logiciel
Research Center: Non applicable
Grant number: CRDPJ468687-14
Date Deposited: 13 Feb 2018 12:47
Last Modified: 24 Oct 2018 16:12
PolyPublie URL: https://publications.polymtl.ca/2991/


Total downloads

Downloads per month in the last year

Origin of downloads


Repository Staff Only