Advertisement

Data Plane Optimization in Open Virtual Routers

  • Muhammad Siraj Rathore
  • Markus Hidell
  • Peter Sjödin
Part of the Lecture Notes in Computer Science book series (LNCS, volume 6640)

Abstract

A major challenge in network virtualization is to virtualize the components constituting the network, in particular the routers. In the work presented here, we focus on how to use open source Linux software in combination with commodity hardware to build open virtual routers. A general approach in open router virtualization is to run multiple virtual instances in parallel on the same PC hardware. This means that virtual components are combined in the router’s data plane, which can result in performance penalty. In this paper, we investigate the impact of the design of virtual network devices on router performance in Linux namespace environment. We identify performance bottlenecks along the packet data path. We suggest design changes to improve performance. In particular, we investigate modifications of the “macvlan” device, and analyze the performance improvements in terms of packet forwarding. We also investigate how the number of virtual routers and virtual devices within a physical machine influence performance.

Keywords

network virtualization virtual router SoftIRQ NAPI Softnet API 

References

  1. 1.
    Egi, N., Greenhalgh, A., Handley, M., Hoerdt, M., Mathy, L., Schooley, T.: Evaluating Xen for virtual routers. In: PMECT 2007 (August 2007)Google Scholar
  2. 2.
    Anhalt, F., Primet, P.: Analysis and experimental evaluation of data plane virtualization with Xen. In: IEEE 5th ICNS (November 2009)Google Scholar
  3. 3.
    Egi, N., Greenhalgh, A., Handley, M., Hoerdt, M., Mathy, L.: Towards High Performance virtual routers on commodity hardware. In: ACM CoNext (December 2008)Google Scholar
  4. 4.
    Bavier, Feamster, N., Huang, M., Patterson, L., Rexford, J.: In VINI Veritas: Realistic and Controlled Network Experimentation. In: SIGCOMM 2006: Proceedings of ACM SIGCOMM 2006 Conference, Pisa, Italy, September 11-15 (2006)Google Scholar
  5. 5.
    Bhatia, S., Motiwala, M., Muhlbauer, W., Valancius, V., Bavier, A., Feamster, N., Peterson, L., Rexford, J.: Trellis: A Platform for Building Flexible, Fast Virtual Networks on Commodity Hardware. In: ACM ROADS 2008, Madrid, Spain, December 9 (2008)Google Scholar
  6. 6.
    Keller, E., Green, E.: Virtualizing the data plane through source code merging. In: PRESTO 2008: Proceedings of the ACM Workshop on Programmable Routers for Extensible Services of Tomorrow (2008)Google Scholar
  7. 7.
    Liao, Y., Yin, D., Gao, L.: PdP: Parallelizing Data Plane in Virtual Network Substrate. In: ACM VISA 2009, Barcelona, Spain, August 17 (2009)Google Scholar
  8. 8.
    Liao, Y., Yin, D., Gao, L.: Crossbow: From Hardware Virtualized NICs to Virtualized Networks. In: ACM VISA 2009, Barcelona, Spain, August 17 (2009)Google Scholar
  9. 9.
    Rathore, S., Hidell, M., Sjödin, P.: Performance Evaluation of Open Virtual Routers. In: IEEE GlobeCom Workshop on Future Internet, Miami, USA, December 10 (2010)Google Scholar
  10. 10.
    Bianco, A., Finochietto, J.M., Galante, G., Mellia, M., Neri, F.: Open-Source PC-Based Software Routers: A viable Approach to High-Performance Packet Switching. In: Ajmone Marsan, M., Bianchi, G., Listanti, M., Meo, M. (eds.) QoS-IP 2004. LNCS, vol. 3375, pp. 353–366. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  11. 11.
    Intel: Interrupt moderation using Intel Gigabit Ethernet controllers (Application Note 450), http://download.intel.com/design/network/applnots/ap450.pdf (last accessed April, 2010)
  12. 12.
    Salim, J.H., Olsson, R., Kuznetsov, A.: Beyond softnet. In: Proceedings of the 5th Annual Linux Showcase & Conference (ALS 2001), Oakland, CA, USA (2001)Google Scholar
  13. 13.
    Rio, M., et al.: A map of the networking code in Linux kernel 2.4.20. Technical Report DataTAG-2004-1, FP5/IST DataTAG Project (March 2004)Google Scholar
  14. 14.
    Pfaff, B., Petit, J., Koponen, T., Amidon, K., Casado, M., Shenker, S.: Extending Networking into the virtualization layer. In: ACM Sigcomm HotNets (September 2009)Google Scholar
  15. 15.
    Soltesz, S., Poltz, H., Fiuczynski, M., Bavier, A., Patersson, L.: Container-based Operating System Virtualization: A Scalable, High-performance Alternative to Hypervisors. In: EuroSys 2007: Proceedings of the 2nd ACM EuroSys Conference, March 21-23 (2007)Google Scholar
  16. 16.
    RFC 2544 Benchmarking methodology for interconnecting devices, http://tools.ietf.org/html/rfc2544 (last accessed April, 2010)
  17. 17.
    Olsson, R.: pktgen the Linux packet Generator. In: Proceedings of the Linux Symposium, Ottawa, July 20-23, vol. 2, pp. 11–24 (2005)Google Scholar

Copyright information

© IFIP International Federation for Information Processing 2011

Authors and Affiliations

  • Muhammad Siraj Rathore
    • 1
  • Markus Hidell
    • 1
  • Peter Sjödin
    • 1
  1. 1.Telecommunication Systems (TS) Lab, School of ICTKTH-Royal Institute of TechnologyKistaSweden

Personalised recommendations