Skip to main content

CNTC: A Container Aware Network Traffic Control Framework

  • Conference paper
Green, Pervasive, and Cloud Computing (GPC 2019)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 11484))

Included in the following conference series:

Abstract

As a lightweight virtualization technology, containers are attracting much attention and widely deployed in the cloud data centers. To provide consistent and reliable performance, cloud providers should ensure resource isolation since each host consists of multiple containers sharing the host kernel. As a mainstream container system, Docker uses CGroup to provide CPU, memory, and disk resource isolation. Unfortunately, all present solutions ignore the network resource, leading to the resource competition and violating the performance of networked hosts. Although several researches discuss the possibility of leveraging Linux Traffic Control (TC) module to guarantee network bandwidth, they fail to capture the diversity and dynamics of container network resource demands and therefore cannot be applied to container-level network traffic control. In this paper, we propose a Container Network Traffic Control (CNTC) framework which can provide strong isolation and container-level management for network resource with joint consideration of container characteristics and quality of service. To simplify the traffic control, we also design a series of APIs which allow inexpert programmers to perform complicated traffic control on each container. Through experiment results, we show that CNTC works well in all network modes of containers.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Containers: The future of virtualization & sddc. https://goo.gl/Mb3yFq

  2. Linux advanced routing & traffic control. https://www.lartc.org/

  3. Linux control groups. https://www.kernel.org/doc/Documentation/cgroup-v1/cgroups.txt

  4. Linux namespace. https://www.kernel.org/doc/Documentation/namespaces/

  5. Linux traffic control next generation. http://tcng.sourceforge.net/

  6. The truth about docker container lifecycles. https://goo.gl/Wcj894

  7. Barker, S., Shenoy, P.: Empirical evaluation of latency-sensitive application performance in the cloud. In: Proceedings of ICMR, pp. 35–46. ACM (2010)

    Google Scholar 

  8. Dua, R., Raja, A.R., Kakadia, D.: Virtualization vs containerization to support PaaS. In: Proceedings of IC2E, pp. 610–614. IEEE (2014)

    Google Scholar 

  9. Herbein, S., et al.: Resource management for running HPC applications in container clouds. In: Kunkel, J.M., Balaji, P., Dongarra, J. (eds.) ISC High Performance 2016. LNCS, vol. 9697, pp. 261–278. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-41321-1_14

    Chapter  Google Scholar 

  10. Jeyakumar, V., Alizadeh, M., Mazières, D., Prabhakar, B., Kim, C., Greenberg, A.: Eyeq: practical network performance isolation at the edge. In: Proceedings of NSDI, pp. 297–312. USENIX (2013)

    Google Scholar 

  11. Khalid, J., Rozner, E., Felter, W., Xu, C.: Iron: isolating network-based CPU in container environments. In: Proceedings of NSDI, pp. 1–17. USENIX (2018)

    Google Scholar 

  12. Ma, S., Jiang, J., Li, B., Li, B.: Maximizing container-based network isolation in parallel computing clusters. In: Proceedings of ICNP, pp. 1–10. IEEE (2016)

    Google Scholar 

  13. Mogul, J.C., Popa, L.: What we talk about when we talk about cloud network performance. In: Proceedings of SIGCOMM, pp. 44–48. ACM (2012)

    Google Scholar 

  14. Popa, L., Kumar, G., Chowdhury, M., Krishnamurthy, A., Ratnasamy, S., Stoica, I.: Faircloud: sharing the network in cloud computing. In: Proceedings of SIGCOMM, pp. 187–198. ACM (2012)

    Google Scholar 

  15. Popa, L., Yalagandula, P., Banerjee, S., Mogul, J.C., Turner, Y., Santos, J.R.: Elasticswitch: practical work-conserving bandwidth guarantees for cloud computing. In: Proceedings of SIGCOMM, pp. 351–362. ACM (2013)

    Google Scholar 

  16. Rodrigues, H., Santos, J.R., Turner, Y., Soares, P., Guedes, D.: Gatekeeper: supporting bandwidth guarantees for multi-tenant datacenter networks. In: Proceedings of WIOV, pp. 784–789. USENIX (2011)

    Google Scholar 

  17. Sharma, P., Sharma, L., Shenoy, P.: Containers and virtual machines at scale: a comparative study. In: Proceedings of Middleware, pp. 1–13. ACM (2016)

    Google Scholar 

  18. Shieh, A., Kandula, S., Greenberg, A., Kim, C., Saha, B.: Sharing the data center network. In: Proceedings of NSDI, pp. 309–322. USENIX (2011)

    Google Scholar 

  19. Stoica, S., Pan, R., Vahdat, A., Varghese, G.: Netshare and stochastic netshare: predictable bandwidth allocation for data centers. In: Proceedings of SIGCOMM, pp. 5–11. ACM (2012)

    Google Scholar 

  20. Suo, K., Zhao, Y., Chen, W., Rao, J.: An analysis and empirical study of container networks. In: Proceedings of INFOCOM, pp. 1–9. IEEE (2018)

    Google Scholar 

Download references

Acknowledgements

This work is supported by National Key Research and Development Program under grant 2016YFB1000501, National Science Foundation of China under grant No.61732010, and Pre-research Project of Beifang under grant FFZ-1601.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Song Wu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Cite this paper

Gu, L. et al. (2019). CNTC: A Container Aware Network Traffic Control Framework. In: Miani, R., Camargos, L., ZarpelĂŁo, B., Rosas, E., Pasquini, R. (eds) Green, Pervasive, and Cloud Computing. GPC 2019. Lecture Notes in Computer Science(), vol 11484. Springer, Cham. https://doi.org/10.1007/978-3-030-19223-5_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-19223-5_15

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-19222-8

  • Online ISBN: 978-3-030-19223-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics