Enhancing virtual environments with QoS aware resource management

  • Fernando Rodríguez-HaroEmail author
  • Felix Freitag
  • Leandro Navarro


Nowadays, the consolidation of application servers is the most common use for current virtualization solutions. Each application server takes the form of a virtual machine (VM) that can be hosted into one physical machine. In a default Xen implementation, the scheduler is configured to handle equally all of the VMs that run on a single machine. As a consequence, the scheduler shares equally all of the available physical CPU resources among the running VMs. However, when the applications that run in the VM dynamically change their resource requirements, a different solution is needed. Furthermore, if the resource usage is associated with service-level agreements, a predefined equal share of the processor power is insufficient for the VMs. Within the Xen’s primitives, even though it is possible to tune the scheduler parameters, there is no tool to achieve the dynamic change of the share of the processor power assigned to each VM. A combination of a number of primitives, however, appears to be suited as a base for achieving this. In this paper, we present an approach to efficiently manage the quality of service (QoS) of virtualized resources in multicore machines. We evaluate different alternatives within Xen for building an enhanced management of virtual CPU resources. We compare these alternatives in terms of performance, flexibility, and ease of use. We devise an architecture to build a high-level service that combines interdomain communication mechanisms with monitoring and control primitives for local resource management. We achieve this by our solution, a local resource manager (LRM), which adjusts the resources needed by each VM according to an agreed QoS. The LRM has been implemented as a prototype and deployed on Xen-virtualized machines. By means of experiments, we show that the implemented management component can meet the service-level objectives even under dynamic conditions by adapting the resources assigned to the virtualized machines according to demand. With the LRM, we therefore achieve both fine-grain resource allocation and efficient assignment.


Dynamic resource management Virtualization Multicore 



This work is supported in part by the European Union under Contract SORMA EU IST-FP6-034286, partially supported by the Spanish MEC project P2PGrid TIN2007-68050-C03-01, and the Mexican program PROMEP.


  1. 1.
    Advanced Micro Devices (2005) AMD64 Virtualization codenamed “Pacifica” technology. Secure Virtual Machine Architecture Reference ManualGoogle Scholar
  2. 2.
    Barham P, Dragovic B, Fraser K, Hand S, Harris T, Ho A, Neugebauer R, Pratt I, Warfield A (2003) Xen and the art of virtualization. In: SOSP ’03: proceedings of the 19th ACM symposium on operating systems principles. ACM, New York, pp 164–177. doi: CrossRefGoogle Scholar
  3. 3.
    Colling D, Ferrari T, Hassoun Y, Huang C, Kotsokalis C, McGough S, Patel Y, Ronchieri E, Tsanakas P (2007) On quality of service support for grid computing. In: 2nd International workshop on distributed cooperative laboratories and instrumenting the GRID (INGRID 2007).
  4. 4.
    Creasy RJ (1981) The origin of the vm/370 time-sharing system. IBM J Res Develop 25(5):483–490CrossRefGoogle Scholar
  5. 5.
    Figueiredo RJ, Dinda PA, Fortes JAB (2003) A case for grid computing on virtual machines. In: ICDCS ’03: Proceedings of the 23rd international conference on distributed computing systems. IEEE Computer Society, Washington, DC, p 550Google Scholar
  6. 6.
    Goldberg RP (1973) Architecture of virtual machines. In: Proceedings of the workshop on virtual computer systems. ACM, New York, pp 74–112. doi: CrossRefGoogle Scholar
  7. 7.
    Lawton KP (1999) Running multiple operating systems concurrently on an ia32 pc using virtualization techniques.
  8. 8.
    Menascé DA, Casalicchio E (2004) Qos in grid computing. IEEE Internet Comput 8(4):85–87CrossRefGoogle Scholar
  9. 9.
    Mergen MF, Uhlig V, Krieger O, Xenidis J (2006) Virtualization for high-performance computing. SIGOPS Oper Syst Rev 40(2):8–11. doi: CrossRefGoogle Scholar
  10. 10.
    Padala P, Shin KG, Zhu X, Uysal M, Wang Z, Singhal S, Merchant A, Salem K (2007) Adaptive control of virtualized resources in utility computing environments. In: EuroSys2007, Lisbon, March 2007Google Scholar
  11. 11.
    Popek GJ, Goldberg RP (1974) Formal requirements for virtualizable third generation architectures. Commun ACM 17(7):412–421. doi: zbMATHCrossRefMathSciNetGoogle Scholar
  12. 12.
    Rodríguez F, Freitag F, Navarro L (2007) A multiple dimension slotting approach for virtualized resource management. In: 1st workshop on system-level virtualization for high performance computing (Eurosys 2007), Lisbon, March 2007Google Scholar
  13. 13.
    Rodríguez F, Freitag F, Navarro L (2007) Towards a performance model for resource allocation in tycoon. In: IADIS international conference APPLIED COMPUTING 2007. IADIS, Salamanca, pp 615–619Google Scholar
  14. 14.
    Rodríguez F, Freitag F, Navarro L (2008) Towards QoS provision for virtualized resources in grids. In: 3rd international workshop on distributed cooperative laboratories: instrumenting the grid (INGRID 08), LNCS, Lacco Ameno, 9–11 April 2008Google Scholar
  15. 15.
    Rodríguez-Haro F, Felix Freitag LN, Brunner R (2007) Exploring the behaviour of fine-grain management for virtual resource provisioning. In: Proc. of the 7th international conference on parallel processing and applied mathematics (PPAM’2007). LNCS, vol 4967. Gdansk, 9–12 September 2007Google Scholar
  16. 16.
    Ruth P, Rhee J, Xu D, Kennell R, Goasguen S (2006) Autonomic live adaptation of virtual computational environments in a multi-domain infrastructure. In: IEEE international conference on autonomic computing, 2006. ICAC ’06. IEEE, Piscataway, pp 5–14CrossRefGoogle Scholar
  17. 17.
    Sugerman J, Venkitachalam G, Lim BH (2001) Virtualizing i/o devices on vmware workstation’s hosted virtual machine monitor. In: Proceedings of the general track: 2002 USENIX annual technical conference. USENIX, Berkeley, pp 1–14Google Scholar
  18. 18.
    Uhlig R, Neiger G, Rodgers D, Santoni AL, Martins FC, Anderson AV, Bennett SM, Kagi A, Leung FH, Smith L (2005) Intel virtualization technology. Computer 38(5):48–56. doi: CrossRefGoogle Scholar
  19. 19.
    VMWare (2006) VMWare homepage.
  20. 20.
    VMWare Inc (1999) Introducing vmware virtual platform. Technical white paperGoogle Scholar
  21. 21.
    Xen (2006) Xen homepage.
  22. 22.
    Youseff L, Wolski R, Gorda BC, Krintz C (2006) Paravirtualization for hpc systems. In: ISPA workshops, Sorrento, 4–7 December 2006, pp 474–486Google Scholar

Copyright information

© Institut TELECOM and Springer-Verlag 2009

Authors and Affiliations

  • Fernando Rodríguez-Haro
    • 1
    Email author
  • Felix Freitag
    • 1
  • Leandro Navarro
    • 1
  1. 1.Computer Architecture DepartmentPolytechnic University of CataloniaBarcelonaSpain

Personalised recommendations