Hardware Transactional Memory Assisted Synchronization Mechanism in Virtu-alized Environment

Qianqian YU,Mingkai DONG,Haibo CHEN
DOI: https://doi.org/10.3778/j.issn.1673-9418.1609034
2017-01-01
Abstract:In a virtualized environment, there is a common existence of double scheduling problem. Moreover, over-commitment exacerbates the problem, and causes a significant performance downgrade. As a result, how to alleviate this problem while protecting the system's fairness and improve its overall performance has become a critical issue. This paper studies the performance issue of synchronization mechanism caused by double scheduling problem, and proposes a new synchronization mechanism SPINRTM with the help of hardware transactional memory. On the one hand, SPINRTM takes advantage of hardware transactional memory to protect critical sections from being preempted, which effectively alleviates double scheduling problem. On the other hand, it is combined with ticket spinlock to protect the efficiency of hardware transactional memory and guarantee the fairness of the system. Evaluation results show that SPINRTM can protect the system's fairness and improve its performance at the same time when resources are overcommitted.
What problem does this paper attempt to address?