Fine-grained preemption analysis for latency investigation across virtual machines

Mohamad Gebai, Francis Giraldeau, Michel Dagenais

Article de revue (2014)

Accéder à ce document
Disponible
Libre accès au texte intégral dans PolyPublie et chez l'éditeur officiel
Version officielle de l'éditeur
Texte Texte • 1MB •

Résumé

This paper studies the preemption between programs running in different virtual machines on the same computer. One of the current monitoring methods consist of updating the average steal time through collaboration with the hypervisor. However, the average is insufficient to diagnose abnormal latencies in time-sensitive applications. Moreover, the added latency is not directly visible from the virtual machine point of view. The main challenge is to recover the cause of preemption of a task running in a virtual machine, whether it is a task on the host computer or in another virtual machine. We propose a new method to study thread preemption crossing virtual machines boundaries using kernel tracing. The host computer and each monitored virtual machine are traced simultaneously. We developed an efficient and portable trace synchronization method, which is required to account for time offset and drift that occur within each virtual machine. We then devised an algorithm to recover the root cause of preemption between threads at every level. The algorithm successfully detected interactions between multiple competing threads in distinct virtual machines on a multi-core machine.

Mots clés

Organismes subventionnaires:
Ericsson
Adresse URL de PolyPublie:
Titre de la revue :
Journal of Cloud Computing : Advances, Systems and Applications ( vol. 3 , no 1 )
Maison d'édition:
Springer
OAI:
oai:publications.polymtl.ca:4879
ORCID
Date du dépôt:
19 avr. 2022 13:22
Dernière modification:
08 oct. 2026 16:43
Citer en APA 7:
Gebai, M., Giraldeau, F., & Dagenais, M. (2014). Fine-grained preemption analysis for latency investigation across virtual machines. Journal of Cloud Computing : Advances, Systems and Applications, 3(1), 23 (15 pages). https://doi.org/10.1186/s13677-014-0023-3

Statistiques

Total des téléchargements à partir de PolyPublie

Téléchargements par année

Provenance des téléchargements

Dimensions

Actions réservées au personnel

Afficher document
Afficher document