2000 character limit reached
What Do You Mean by Memory? When Engineers Are Lost in the Maze of Complexity (2312.13462v1)
Published 20 Dec 2023 in cs.SE
Abstract: An accepted practice to decrease applications' memory usage is to reduce the amount and frequency of memory allocations. Factors such as (a) the prevalence of out-of-memory (OOM) killers, (b) memory allocations in modern programming languages done implicitly, (c) overcommitting being a default strategy in the Linux kernel, and (d) the rise in complexity and terminology related to memory management makes the existing guidance inefficient. The industry needs detailed guidelines for optimizing memory usage targeting specific operating systems (OS) and programming language types.
- Thomas Anderson and Michael Dahlin. 2014. Operating Systems: Principles and Practice (2nd ed.). Recursive Books, Austin, TX, USA.
- Apple Inc. 2013. About the Virtual Memory System. Retrieved October 3, 2023 from https://developer.apple.com/library/archive/documentation/Performance/Conceptual/ManagingMemory/Articles/AboutMemory.html
- Apple Inc. 2020. XNU kernel source code. Retrieved October 3, 2023 from https://opensource.apple.com/source/xnu/xnu-7195.81.3/osfmk/kern/task.c
- Apple Inc. 2023. Apple reports first quarter results. Retrieved October 3, 2023 from https://www.apple.com/newsroom/2023/02/apple-reports-first-quarter-results/
- Maurice J. Bach. 1986. Design of the UNIX operating system. Prentice Hall, Philadelphia, PA, USA.
- Brendan Gregg. 2020. Systems Performance: Enterprise and the Cloud (2nd ed.). Addison-Wesley, Boston, MA, USA.
- Frank Herbert. 1984. Dune (1st ed.). Putnam, New York, NY, USA.
- Jonathan Levin. 2017. *OS internals. Volume 1: User space (2nd ed.). Technologeeks.com, Edison, NJ, USA.
- Robert Love. 2005. Linux Kernel Development (2nd ed.). Novell Press, Indianapolis, IN, USA.
- Robert Love. 2013. Linux System Programming (2nd ed.). O’Reilly Media, Sebastopol, CA, USA.
- James Noble and Charles Weir. 2000. Small Memory Software. Addison Wesley, Boston, MA, USA.
- Mark Russinovich. 2011. Mysteries of Windows Memory Management Revealed. Talk presented at TechEd North America 2011, Georgia World Congress Center, Atlanta, GA, USA. Retrieved October 3, 2023 from https://www.youtube.com/watch?v=TrFEgHr72Yg
- Amit Singh. 2016. Mac OS X Internals: a Systems Approach. Addison-Wesley Professional, Boston, MA, USA.
- Lorenzo Stoakes. 2023. The Linux Memory Manager—Progress. Retrieved October 3, 2023 from https://linuxmemory.org/progress
- Windows Internals: System architecture, processes, threads, memory management, and more (7th ed.). Microsoft Press, Redmond, WA, USA.