A Robust and Space-Efficient Stack Management Method for Wireless Sensor Network OS with Scarce Hardware Resources

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 ~ 16 KB). It exposes each...

Full description

Saved in:
Bibliographic Details
Main Authors: Seokhwan Kim, Seungku Kim, Doo-Seop Eom
Format: Article
Language:English
Published: Wiley 2012-10-01
Series:International Journal of Distributed Sensor Networks
Online Access:https://doi.org/10.1155/2012/962151
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832545209232130048
author Seokhwan Kim
Seungku Kim
Doo-Seop Eom
author_facet Seokhwan Kim
Seungku Kim
Doo-Seop Eom
author_sort Seokhwan Kim
collection DOAJ
description 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 ~ 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.
format Article
id doaj-art-000974a136364feab8aedaf332da5fe2
institution Kabale University
issn 1550-1477
language English
publishDate 2012-10-01
publisher Wiley
record_format Article
series International Journal of Distributed Sensor Networks
spelling doaj-art-000974a136364feab8aedaf332da5fe22025-02-03T07:26:21ZengWileyInternational Journal of Distributed Sensor Networks1550-14772012-10-01810.1155/2012/962151A Robust and Space-Efficient Stack Management Method for Wireless Sensor Network OS with Scarce Hardware ResourcesSeokhwan KimSeungku KimDoo-Seop EomDue 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 ~ 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.https://doi.org/10.1155/2012/962151
spellingShingle Seokhwan Kim
Seungku Kim
Doo-Seop Eom
A Robust and Space-Efficient Stack Management Method for Wireless Sensor Network OS with Scarce Hardware Resources
International Journal of Distributed Sensor Networks
title A Robust and Space-Efficient Stack Management Method for Wireless Sensor Network OS with Scarce Hardware Resources
title_full A Robust and Space-Efficient Stack Management Method for Wireless Sensor Network OS with Scarce Hardware Resources
title_fullStr A Robust and Space-Efficient Stack Management Method for Wireless Sensor Network OS with Scarce Hardware Resources
title_full_unstemmed A Robust and Space-Efficient Stack Management Method for Wireless Sensor Network OS with Scarce Hardware Resources
title_short A Robust and Space-Efficient Stack Management Method for Wireless Sensor Network OS with Scarce Hardware Resources
title_sort robust and space efficient stack management method for wireless sensor network os with scarce hardware resources
url https://doi.org/10.1155/2012/962151
work_keys_str_mv AT seokhwankim arobustandspaceefficientstackmanagementmethodforwirelesssensornetworkoswithscarcehardwareresources
AT seungkukim arobustandspaceefficientstackmanagementmethodforwirelesssensornetworkoswithscarcehardwareresources
AT dooseopeom arobustandspaceefficientstackmanagementmethodforwirelesssensornetworkoswithscarcehardwareresources
AT seokhwankim robustandspaceefficientstackmanagementmethodforwirelesssensornetworkoswithscarcehardwareresources
AT seungkukim robustandspaceefficientstackmanagementmethodforwirelesssensornetworkoswithscarcehardwareresources
AT dooseopeom robustandspaceefficientstackmanagementmethodforwirelesssensornetworkoswithscarcehardwareresources