Scaling the Deployment of Virtual Machines in UnaCloud

  • Jaime ChavarriagaEmail author
  • César Forero-González
  • Jesse Padilla-Agudelo
  • Andrés Muñoz
  • Rodolfo Cáliz-Ospino
  • Harold Castro
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 796)


UnaCloud is an Opportunistic Cloud Platform that allows to create virtual clusters in non-dedicated hardware by harvesting idle resources in computer rooms across a campus. To launch a virtual cluster, the platform first determines which desktops can run the virtual machines and copies the corresponding images to these computers, mostly located in the same room. Regretfully, UnaCloud uses a TCP-based protocol to copy those images that results in large transmission times. Our diagnostics shows that the main cause for errors when deploying multiple machines is reaching a timeout. This paper reports our efforts to scale the deployment in UnaCloud to support clusters with a large number of nodes. We have implemented and evaluated multiple protocols for transferring virtual machine images. Our tests showed that BitTorrent, a P2P file transfer protocol, outperforms copying a single image using other protocols. Using it, we can deploy up to 100 virtual machines, one per desktop, in less than 10 min. Although this time is twice the offered by Amazon EC2, it is better than the exhibited by dedicated private clouds using software such as OpenStack and VMWare vCloud.


Cloud provisioning Virtual machine images BitTorrent 



This research was performed by the Center of Excellence and Appropriation in Big Data and Data Analytics (CAOBA), financed by the Ministerio de Tecnologías de la Información y Telecomunicaciones de la República de Colombia (MinTIC) through the Departamento Administrativo de Ciencia, Tecnología e Innovación (COLCIENCIAS), contract N\(^{\underline{\mathrm {o}}}\) FP44842-anexo46-2015.


  1. 1.
    Babaoglu, O., Marzolla, M., Tamburini, M.: Design and implementation of a P2P cloud system. In: 27th Annual ACM Symposium on Applied Computing (SAC 2012), pp. 412–417. ACM (2012)Google Scholar
  2. 2.
    Bhushan, A.: A File Transfer Protocol. RFC 114. IETF Network Working Group (1971).
  3. 3.
    Cohen, B.: The BitTorrent Protocol Specification (2008).
  4. 4.
    Costa, F., Silva, L., Fedak, G., Kelley, I.: Optimizing the data distribution layer of BOINC with BitTorrent. In: 2008 IEEE International Symposium on Parallel and Distributed Processing, pp. 1–8, April 2008Google Scholar
  5. 5.
    Laurikainen, R., Laitinen, J., Lehtovuori, P., Nurminen, J.K.: Improving the efficiency of deploying virtual machines in a cloud environment. In: 2012 International Conference on Cloud and Service Computing, pp. 232–239, November 2012Google Scholar
  6. 6.
    Lopez-Garcia, A., del Castillo, E.F.: Efficient image deployment in cloud environments. J. Netw. Comput. Appl. 63, 140–149 (2016)CrossRefGoogle Scholar
  7. 7.
    Mantoro, T., Ali, H.S.: BitTorrent: extra-locality P2P approach for grid content distribution networks. In: 7th International Conference on Advances in Mobile Computing and Multimedia (MoMM 2009), pp. 406–411. ACM (2009)Google Scholar
  8. 8.
    Microsoft: Microsoft SMB Protocol and CIFS Protocol Overview (2017). Accessed June 2017
  9. 9.
    NetBIOS Working Group: Protocol Standard for a NetBIOS Service on a TCP/UDP Transport: Concepts and Methods. RFC 1001. IETF (1987).
  10. 10.
    Postel, J., Reynolds, J.: File Transfer Protocol (FTP). RFC 959. IETF (1971).
  11. 11.
    Rosales, E., Castro, H., Villamizar, M.: UnaCloud: opportunistic cloud computing infrastructure as a service. In: 2nd International Conference on Cloud Computing GRIDs and Virtualization (CLOUD COMPUTING 2011), pp. 187–194 (2011)Google Scholar
  12. 12.
    Sharma, P., Bhakuni, A., Kaushal, R.: Performance analysis of BitTorrent protocol. In: 2013 National Conference on Communications (NCC), pp. 1–5 (2013)Google Scholar

Copyright information

© Springer International Publishing AG 2018

Authors and Affiliations

  • Jaime Chavarriaga
    • 1
    Email author
  • César Forero-González
    • 1
  • Jesse Padilla-Agudelo
    • 1
  • Andrés Muñoz
    • 1
  • Rodolfo Cáliz-Ospino
    • 2
  • Harold Castro
    • 1
  1. 1.COMIT Research GroupUniversidad de los AndesBogotáColombia
  2. 2.Centro de Computación de Alto Desempeño (CECAD)Universidad Distrital Francisco José de CaldasBogotáColombia

Personalised recommendations