(Press-News.org) Embedded systems such as Internet of Things (IoT) devices and single-board computers possess limited memory and processing power, necessitating the effective management of these constraints. This makes Linux—a flexible and cost-effective platform—promising for embedded systems. Indeed, Linux-based operating systems, including Ubuntu Core, Raspberry Pi OS, BalenaOS, and OpenWrt, are commonly used for a wide variety of embedded devices. However, ptmalloc—its default memory allocator—is often unable to satisfy the needs of all applications. While experts have proposed alternatives such as jemalloc, tcmalloc, and mimalloc for improved memory management, these general-purpose dynamic memory allocators suffer from heavy memory consumption, vast library sizes, complexity, and eventual performance degradation. This highlights the urgent requirement for new lightweight options.
Addressing this issue to reduce complexity and optimize performance, researchers led by Dr. Hwajung Kim, an Assistant Professor of Smart ICT Convergence Engineering at Seoul National University of Science and Technology (SeoulTech), Republic of Korea, have developed LWMalloc, a lightweight and high-performance dynamic memory allocator specifically designed for resource-constrained environments. Their novel findings were made available online on 12 February 2025 and have been published in Volume 12, Issue 12 of the IEEE Internet of Things Journal on 15 June 2025.
LWMalloc is based on a lightweight data structure and possesses a deferred coalescing policy and dedicated small chunk pools for memory allocation optimization. Its data structure helps reduce metadata overhead for compact and efficient implementation. Notably, the DC policy postpones redundant operations until allocation, thus lowering the execution overhead and maintaining efficiency as well as low-response times. Furthermore, dedicated small chunk pools segregate small memory requests common in dynamic allocation patterns into fixed-size pools, facilitating their O(1)—constant time complexity—allocation.
The researchers demonstrated the superiority of LWMalloc through extensive experimental real-world applications on Raspberry Pi Zero W, Raspberry Pi 4, and Jetson Orin Nano. “Our proposal outperforms ptmalloc, the default allocator in Linux, achieving up to 53% faster execution time and 23% lower memory usage. With a compact implementation of only 530 lines of code and a 20-KB size, significantly smaller than ptmalloc’s 4838 lines and 116 KB, LWMalloc achieves an effective balance between performance and memory efficiency, making it highly suitable for resource-constrained environments,” remarks Dr. Kim.
LWMalloc can benefit any embedded or IoT system that operates under strict memory and performance constraints. These include consumer electronics, such as smart TVs, set-top boxes, home appliances, mobile and wearable devices, automotive systems with real-time constraints, as well as edge computing nodes handling AI or data processing workloads.
In the long term, efficient memory allocators like LWMalloc can extend device lifespans, reduce energy consumption, and enable more complex applications to run on low-power hardware. According to Dr. Kim: “This could make high-performance features accessible on affordable consumer devices, reduce e-waste, and improve the responsiveness and reliability of everyday embedded systems. Moreover, as IoT and edge computing continue to expand, such lightweight allocators will be critical in ensuring the scalability and sustainability of connected devices worldwide.”
***
Reference
DOI: 10.1109/JIOT.2025.3541247
About the institute Seoul National University of Science and Technology (SEOULTECH)
Seoul National University of Science and Technology, commonly known as 'SEOULTECH,' is a national university located in Nowon-gu, Seoul, South Korea. Founded in April 1910, around the time of the establishment of the Republic of Korea, SEOULTECH has grown into a large and comprehensive university with a campus size of 504,922 m2. It comprises 10 undergraduate schools, 35 departments, 6 graduate schools, and has an enrollment of approximately 14,595 students.
Website: https://en.seoultech.ac.kr/
About the author
Dr. Hwajung Kim is an Assistant Professor of Smart ICT Convergence Engineering at Seoul National University of Science and Technology (SeoulTech). Her group is developing innovative system software technologies, including operating systems, file and storage systems, distributed systems, and database systems. Dr. Kim’s research aims to optimize data management and computing performance in edge and cloud environments. Before joining SeoulTech, she spent 11 years at Samsung Research, developing middleware for mobile, SmartTV, and server architecture for cloud services. In 2023, she received a PhD in Computer Science from Seoul National University.
END
Too little snowfall is now also shaking the foundations of some of the world’s most resilient 'water towers', a new study led by the Pellicciotti group at the Institute of Science and Technology Austria (ISTA) shows. After establishing a monitoring network on a new benchmark glacier in central Tajikistan, the international team of researchers was able to model the entire catchment’s behavior from 1999 to 2023. The results, showing decreasing glacier health, were published in Communications Earth & Environment.
High-mountain Asia has been nicknamed the Third Pole ...
The future of plastic recycling may soon get much less complicated, frustrating and tedious.
In a new study, Northwestern University chemists have introduced a new plastic upcycling process that can drastically reduce — or perhaps even fully bypass — the laborious chore of pre-sorting mixed plastic waste.
The process harnesses a new, inexpensive nickel-based catalyst that selectively breaks down polyolefin plastics consisting of polyethylenes and polypropylenes — the single-use kind that dominates nearly ...
Researchers have identified a neurochemical signature that sets Parkinson’s disease apart from essential tremor — two of the most common movement disorders, but each linked to distinct changes in the brain.
In a new study in Nature Communications, scientists from the Fralin Biomedical Research Institute at VTC and the Virginia Tech College of Science identified unique chemical signaling patterns of two key neurotransmitters — dopamine and serotonin — that distinguish these two disorders.
“This study builds on decades of work,” ...
PHILADELPHIA – A first-of-its-kind, federally funded clinical trial has shown it’s possible to identify breast cancer survivors who are at higher risk of their cancer coming back due to the presence of dormant cancer cells and to effectively treat these cells with repurposed, existing drugs. The research, led by scientists from the Abramson Cancer Center of the University of Pennsylvania and Penn’s Perelman School of Medicine was published today in Nature Medicine.
While breast cancer survival continues to improve, thanks to advances in detection and treatment, when breast cancer relapses—or returns after initial treatment—it is still ...
One of the first parts of the brain affected by Alzheimer’s disease is the entorhinal cortex — a region that plays a big role in memory, spatial navigation, and the brain’s internal mapping system.
With support from the Commonwealth of Virginia’s Alzheimer’s and Related Diseases Research Award Fund (ARDRAF), Fralin Biomedical Research Institute at VTC scientists Sharon Swanger and Shannon Farris are working to understand why this area is especially vulnerable.
Swanger studies how brain cells communicate across synapses in disease-susceptible brain circuits, while ...
VILLARS-SUR-GLÂNE, SWITZERLAND, 2 September 2025 -- In a revealing Genomic Press Interview published today in Psychedelics, Professor Gregor Hasler unveils transformative discoveries that are fundamentally reshaping international approaches to mental health treatment through psychedelic research. As Chair of Psychiatry at the University of Fribourg and Director of the Molecular Psychiatry Lab, Professor Hasler stands at the vanguard of a scientific revolution that promises to alleviate suffering for millions worldwide who struggle with treatment-resistant psychiatric conditions. The interview, part of the Innovators ...
VIENNA, AUSTRIA, 2 September 2025 -- In a compelling Genomic Press Interview published today in Brain Medicine, Professor Siegfried Kasper shares extraordinary insights from his distinguished career that has transformed global understanding of psychiatric disorders and their treatment. The interview reveals how this internationally renowned psychiatrist revolutionized approaches to treatment-resistant depression while establishing biological psychiatry as a cornerstone of modern medicine worldwide.
Professor Kasper, who serves as Professor Emeritus at the Medical University of ...
Looking for the perfect vacation? Do you crave late-night fun? PSO J318.5−22, the planet with no star where nightlife never ends, is perfect for you! Prefer some peace and a chance to catch some rays? Kepler-16b, the land of two suns—where your shadow always has company—is waiting!
In 2015, NASA launched an unusual and brilliant exoplanet outreach campaign, offering retro-style posters, virtual guided tours, and even coloring books. The project quickly went viral worldwide. What explains the success of a campaign about a relatively young field of science that—unlike other areas of space research—lacks spectacular imagery?
Ceridwen Dovey, science communicator, ...
Researchers at the University of Southampton examining worldwide variations in funding for cancer research say there’s a pressing need to invest more in lower income countries.
They also reveal research into certain treatments urgently need more money, in particular surgery and radiotherapy, and that overall annual research investment has largely decreased, globally, since 2016.
The team’s study, due for publication in the journal The Lancet Oncology, shows most research income is concentrated in higher income countries, leaving others struggling to keep pace ...
University of Cambridge media release
England’s forgotten first king deserves to be famous, says Æthelstan biographer as anniversaries approach
UNDER STRICT EMBARGO UNTIL 19:01 (US ET) ON MONDAY 1ST SEPTEMBER 2025 / 00:01AM (UK TIME) ON TUESDAY 2ND SEPTEMBER 2025
A groundbreaking new biography of Æthelstan marks 1,100 years since his coronation in 925AD, reasserts his right to be called the first king of England, explains why he isn’t better known and highlights his many overlooked achievements. The book’s author, Professor David Woodman, is campaigning for greater public recognition ...