Profiling an Erlang Program Inside A Linux Environment: A Discussion of Possible Approaches
Abstract
Erlang is a concurrent language built to run on the BEAM virtual machine. This paper discusses the different approaches one can take to profile programs built on Erlang from both inside and outside BEAM and their inherent tradeoffs. It divides profiling and tracing tools into system and VM-level, com- pares both categories’ advantages and disadvantages in terms of performance and how trying to keep performance might minimize other aspects of the pro- filing, and describes how to take advantage of them both alone and together by combining their outputs to produce the best possible result.
Keywords:
Performance measurements, evaluation and prediction, Performance Engineering
References
Joe Armstrong. Programming Erlang: software for a concurrent world. Pragmatic Book-shelf, 2013.
Walter Binder, Jarle Hulaas, Philippe Moret, and Alex Villazón. Platform-independent profiling in a virtual execution environment. Software: Practice and Experience, 39(1):47–79, 2009.
Scott Lystig Fritchie. DTrace and Erlang: a new beginning. In Erlang User Conf., 2011.
Sebasthian Karlsson. Exploring the Elixir ecosystem testing, benchmarking and profiling. https://odr.chalmers.se/handle/20.500.12380/219742, 2015. Access: 13-04-2021.
Andrea Rosà, Lydia Y Chen, and Walter Binder. Actor profiling in virtual execution environments. In Procs. of the 2016 ACM SIGPLAN Intl. Conference on Generative Programming: Concepts and Experiences, pages 36–46, 2016.
Michał Slaski and Wojciech Turek. Towards online profiling of Erlang systems. In Proceedings of the 18th ACM SIGPLAN International Workshop on Erlang, pages 13–17, 2019.
Walter Binder, Jarle Hulaas, Philippe Moret, and Alex Villazón. Platform-independent profiling in a virtual execution environment. Software: Practice and Experience, 39(1):47–79, 2009.
Scott Lystig Fritchie. DTrace and Erlang: a new beginning. In Erlang User Conf., 2011.
Sebasthian Karlsson. Exploring the Elixir ecosystem testing, benchmarking and profiling. https://odr.chalmers.se/handle/20.500.12380/219742, 2015. Access: 13-04-2021.
Andrea Rosà, Lydia Y Chen, and Walter Binder. Actor profiling in virtual execution environments. In Procs. of the 2016 ACM SIGPLAN Intl. Conference on Generative Programming: Concepts and Experiences, pages 36–46, 2016.
Michał Slaski and Wojciech Turek. Towards online profiling of Erlang systems. In Proceedings of the 18th ACM SIGPLAN International Workshop on Erlang, pages 13–17, 2019.
Published
2021-05-06
How to Cite
FUKUDA, João C.; FRANCESQUINI, Emilio; CORDEIRO, Daniel.
Profiling an Erlang Program Inside A Linux Environment: A Discussion of Possible Approaches. In: REGIONAL SCHOOL OF HIGH PERFORMANCE COMPUTING FROM SÃO PAULO (ERAD-SP), 12. , 2021, Evento Online.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2021
.
p. 9-12.
DOI: https://doi.org/10.5753/eradsp.2021.16693.
