skip to main content
10.1145/1292520.1292532acmconferencesArticle/Chapter ViewAbstractPublication PagesicfpConference Proceedingsconference-collections
Article

Optimising TCP/IP connectivity

Published:05 October 2007Publication History

ABSTRACT

With the increased use of network enabled applications and server hosted software systems, scalability with respect to network connectivity is becoming an increasingly important subject. The programming language Erlang has previously been shown to be a suitable choice for creating highly available, scalable and robust telecoms systems. In this exploratory study we want to investigate how to optimise an Erlang system for maximum TCP/IP connectivity in terms of operating system, tuning of the operating system TCP stack and tuning of the Erlang Runtime System. The study shows how a series of benchmarks are used to evaluate the impact of these factors and how to evaluate the best settings for deploying and configuring an Erlang application. We conclude that the choice of operating system and the use of kernel poll both have a major impact on the scalability of the benchmarked systems.

References

  1. epoll scalability web page. http://lse.sourceforge. net/epoll/index.html, Nov. 2002.Google ScholarGoogle Scholar
  2. poll(7d) driver for fast poll on many file descriptors. Online manual: http://docs.sun.com/app/docs/doc/816-5177/6mbbc4g9q?a=view, Sept. 2005.Google ScholarGoogle Scholar
  3. Erlang/OTP product information. http://www.erlang.se/productinfo/index.shtml, Feb. 2006.Google ScholarGoogle Scholar
  4. Release notes for Erlang R11B-2. http://www.erlang.org/download/otp_src_R11B-2.readme, Nov. 2006.Google ScholarGoogle Scholar
  5. Tsung. http://tsung.erlang-projects.org/, Dec. 2006.Google ScholarGoogle Scholar
  6. ejabberd distributed fault-tolerant Jabber/XMPP server in Erlang. http://ejabberd.jabber.ru/, Feb. 2007.Google ScholarGoogle Scholar
  7. Erlang/OTP R11B Documentation. http://www. erlang.org/doc/doc-5.5.4/doc/, 2007.Google ScholarGoogle Scholar
  8. The FreeBSD project. http://www.freebsd.org/, 2007.Google ScholarGoogle Scholar
  9. The Linux kernel archives. http://www.sun.com/software/solaris/, 2007.Google ScholarGoogle Scholar
  10. The NetBSD project. http://www.netbsd.org/, 2007.Google ScholarGoogle Scholar
  11. openSUSE. http://www.opensuse.org/, 2007.Google ScholarGoogle Scholar
  12. Solaris 10 operating system. http://www.sun.com/software/solaris/, 2007.Google ScholarGoogle Scholar
  13. Yaws. http://yaws.hyber.org/, 2007.Google ScholarGoogle Scholar
  14. J. Armstrong. The development of Erlang. In ICFP '97: Proceedings ofthe second ACM SIGPLAN international conference on Functional programming, pages 196--203, New York, NY, USA, 1997. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. R. Benson. The event completion framework for the Solaris operating system. http://developers.sun.com/solaris/articles/event_completion. html, July 2004.Google ScholarGoogle Scholar
  16. E. Biagioni. A structured TCP in standard ML. In SIGCOMM '94: Proceedings of the conference on Communications architectures, protocols and applications, pages 36--45, New York, NY, USA, 1994. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. F. Cesarini, L. Larsson, and M. Slaski. From http to html: Erlang/otp experiences in web based service applications. In ERLANG '06: Proceedings of the 2006 ACM SIGPLAN workshop on Erlang, pages 52--57, New York, NY, USA, 2006. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. A. Erramilli, O. Narayan, A. Neidhardt, and I. Saniee. Performance impacts of multi-scaling in wide-area TCP/IP traffic. In Proceedings of the 2000 IEEE Computer and Communications Societies Conference on Computer Communications (INFOCOM-00), pages 352--359, Los Alamitos, Mar. 26-30 2000. IEEE.Google ScholarGoogle ScholarCross RefCross Ref
  19. S. L. Fritchie. A study of erlang ETS table implementations and performance. In B. Däcker and T. Arts, editors, Proceedings of the 2003 ACM SIGPLAN Workshop on Erlang, Uppsala, Sweden, August 29, 2003, pages 43--55. ACM, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. V. Jacobson, R. Braden, and D. Borman. RFC 1323: TCP extensions for high performance, May 1992. Obsoletes RFC1072, RFC1185. Status: PROPOSED STANDARD. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. F. v. Leitner. Benchmarking BSD and Linux. http: //bulk.fefe.de/scalability/, Oct. 2003.Google ScholarGoogle Scholar
  22. W. E. Leland, M. S. Taqqu, W. Willinger, and D. V. Wilson. On the self-similar nature of ethernet traffic (extended version). IEEE/ACM Trans. Netw., 2(1):1--15, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. J. Lemon. Kqueue: Ageneric and scalable event notification system for freebsd. In Proceedings of the FREENIX Track. 2001 USENIX Annual Technical Conference, pages 141--153, Berkeley, CA, USA, 2001. USENIX Assoc. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. D. Libenzi. /dev/epoll home page. http://www.xmailserver.org/linux-patches/nio-improve.html, 2002.Google ScholarGoogle Scholar
  25. J. Liedtke, N. Islam, T. Jaeger, V. Panteleenko, and Y. Park. Irreproducible benchmarks might be sometimes useful. In EW 8: Proceedings of the 8th ACM SIGOPS European workshop on Support for composing distributed applications, pages 242--246, New York, NY, USA, 1998. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. P. Mohagheghi and R. Conradi. An empirical investigation of software reuse benefits in a large telecom producet. Technical report, The Norwegian University of Science and Technology, Computer and Information Science, 2001.Google ScholarGoogle Scholar
  27. N. Niclausse, Z. Liu, and C. Jalpa-Villanueva. Traffic model and performance evaluation of web servers. Performance Evaluation, 46(2-3):77--100, Oct. 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. J. H. Nyström, P. W. Trinder, and D. J. King. Are highlevel languages suitable for robust telecoms software? In Proceedings of Computer Safety, Reliability, and Security. 24th International Conference, SAFECOMP 2005., pages 275--288, Berlin, Germany, Sept. 2005. Springer-Verlag. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. J. París, V. M. Gulías, and A. Valderruten. A high performance erlang Tcp/Ip stack. In K. F. Sagonas and J. Armstrong, editors, Proceedings of the 2005 ACM SIGPLAN Workshop on Erlang, Tallinn, Estonia, September 26-28, 2005, pages 52--61. ACM, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. V. Paxson and S. Floyd. Wide-area traffic: The failure of poisson modeling. IEEE/ACM Trans. Netw., 3(3):226--244, June 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. P. Saint-Andre. RFC 3920: Extensible Message and Presence Protocol (XMPP): Core, Oct. 2004. Status: PROPOSED STANDARD.Google ScholarGoogle Scholar
  32. P. Saint-Andre. RFC 3921: Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence, Oct. 2004. Status: PROPOSED STANDARD.Google ScholarGoogle Scholar
  33. J. Wechta, A. Eberlein, and F. Halsall. Impact of topology and choice of tcp window size on the performance of switched LANs. Computer Communications, 22(10):995--965, June 1999.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Optimising TCP/IP connectivity

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in
              • Published in

                cover image ACM Conferences
                ERLANG '07: Proceedings of the 2007 SIGPLAN workshop on ERLANG Workshop
                October 2007
                106 pages
                ISBN:9781595936752
                DOI:10.1145/1292520

                Copyright © 2007 ACM

                Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 5 October 2007

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • Article

                Acceptance Rates

                ERLANG '07 Paper Acceptance Rate11of15submissions,73%Overall Acceptance Rate51of68submissions,75%

                Upcoming Conference

                ICFP '24
              • Article Metrics

                • Downloads (Last 12 months)5
                • Downloads (Last 6 weeks)1

                Other Metrics

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader