A Robust and Space-Efficient Stack Management Method for Wireless Sensor Network OS with Scarce Hardware Resources
- Authors
- Kim, Seokhwan; Kim, Seungku; Eom, Doo-Seop
- Issue Date
- 2012
- Publisher
- SAGE PUBLICATIONS INC
- Citation
- INTERNATIONAL JOURNAL OF DISTRIBUTED SENSOR NETWORKS
- Indexed
- SCIE
SCOPUS
- Journal Title
- INTERNATIONAL JOURNAL OF DISTRIBUTED SENSOR NETWORKS
- URI
- https://scholar.korea.ac.kr/handle/2021.sw.korea/134188
- DOI
- 10.1155/2012/962151
- ISSN
- 1550-1329
- Abstract
- Due to such requirements as low power consumption and low cost, sensor nodes commonly do not include advanced H/W features. The absence of the features such as the memory management unit enforces several tasks to share a memory address domain on a small data memory space (1 similar to 16 KB). It exposes each task to the stack overflow causing the corruption of other memory areas. In this paper, we propose a robust and efficient stack memory management method (RESM) that dynamically assigns and releases a preestimated amount of stack memory to each function call at runtime. RESM maintains the stack memory usage with the similar amount of the stack usage that the system actually requires, and the stack memory area of each task is individually protected from corruption by the stack overflow. RESM can also anticipate a saturated condition in data memory at runtime. When the memory state is unsafe from the saturated condition, it conditionally allows function calls to operate tasks without any memory fault by using the proposed function call deferring algorithm. From the analytical and experiment results, it is proven that the performance of RESM outperforms the other mechanisms and RESM can provide more robust stack operation environment.
- Files in This Item
- There are no files associated with this item.
- Appears in
Collections - College of Engineering > School of Electrical Engineering > 1. Journal Articles
Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.