Cargando…
Memory and Energy Optimization Strategies for Multithreaded Operating System on the Resource-Constrained Wireless Sensor Node
Memory and energy optimization strategies are essential for the resource-constrained wireless sensor network (WSN) nodes. In this article, a new memory-optimized and energy-optimized multithreaded WSN operating system (OS) LiveOS is designed and implemented. Memory cost of LiveOS is optimized by usi...
Autores principales: | , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2014
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4327005/ https://www.ncbi.nlm.nih.gov/pubmed/25545264 http://dx.doi.org/10.3390/s150100022 |
_version_ | 1782356991676514304 |
---|---|
author | Liu, Xing Hou, Kun Mean de Vaulx, Christophe Xu, Jun Yang, Jianfeng Zhou, Haiying Shi, Hongling Zhou, Peng |
author_facet | Liu, Xing Hou, Kun Mean de Vaulx, Christophe Xu, Jun Yang, Jianfeng Zhou, Haiying Shi, Hongling Zhou, Peng |
author_sort | Liu, Xing |
collection | PubMed |
description | Memory and energy optimization strategies are essential for the resource-constrained wireless sensor network (WSN) nodes. In this article, a new memory-optimized and energy-optimized multithreaded WSN operating system (OS) LiveOS is designed and implemented. Memory cost of LiveOS is optimized by using the stack-shifting hybrid scheduling approach. Different from the traditional multithreaded OS in which thread stacks are allocated statically by the pre-reservation, thread stacks in LiveOS are allocated dynamically by using the stack-shifting technique. As a result, memory waste problems caused by the static pre-reservation can be avoided. In addition to the stack-shifting dynamic allocation approach, the hybrid scheduling mechanism which can decrease both the thread scheduling overhead and the thread stack number is also implemented in LiveOS. With these mechanisms, the stack memory cost of LiveOS can be reduced more than 50% if compared to that of a traditional multithreaded OS. Not is memory cost optimized, but also the energy cost is optimized in LiveOS, and this is achieved by using the multi-core “context aware” and multi-core “power-off/wakeup” energy conservation approaches. By using these approaches, energy cost of LiveOS can be reduced more than 30% when compared to the single-core WSN system. Memory and energy optimization strategies in LiveOS not only prolong the lifetime of WSN nodes, but also make the multithreaded OS feasible to run on the memory-constrained WSN nodes. |
format | Online Article Text |
id | pubmed-4327005 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2014 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-43270052015-02-23 Memory and Energy Optimization Strategies for Multithreaded Operating System on the Resource-Constrained Wireless Sensor Node Liu, Xing Hou, Kun Mean de Vaulx, Christophe Xu, Jun Yang, Jianfeng Zhou, Haiying Shi, Hongling Zhou, Peng Sensors (Basel) Article Memory and energy optimization strategies are essential for the resource-constrained wireless sensor network (WSN) nodes. In this article, a new memory-optimized and energy-optimized multithreaded WSN operating system (OS) LiveOS is designed and implemented. Memory cost of LiveOS is optimized by using the stack-shifting hybrid scheduling approach. Different from the traditional multithreaded OS in which thread stacks are allocated statically by the pre-reservation, thread stacks in LiveOS are allocated dynamically by using the stack-shifting technique. As a result, memory waste problems caused by the static pre-reservation can be avoided. In addition to the stack-shifting dynamic allocation approach, the hybrid scheduling mechanism which can decrease both the thread scheduling overhead and the thread stack number is also implemented in LiveOS. With these mechanisms, the stack memory cost of LiveOS can be reduced more than 50% if compared to that of a traditional multithreaded OS. Not is memory cost optimized, but also the energy cost is optimized in LiveOS, and this is achieved by using the multi-core “context aware” and multi-core “power-off/wakeup” energy conservation approaches. By using these approaches, energy cost of LiveOS can be reduced more than 30% when compared to the single-core WSN system. Memory and energy optimization strategies in LiveOS not only prolong the lifetime of WSN nodes, but also make the multithreaded OS feasible to run on the memory-constrained WSN nodes. MDPI 2014-12-23 /pmc/articles/PMC4327005/ /pubmed/25545264 http://dx.doi.org/10.3390/s150100022 Text en © 2015 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Liu, Xing Hou, Kun Mean de Vaulx, Christophe Xu, Jun Yang, Jianfeng Zhou, Haiying Shi, Hongling Zhou, Peng Memory and Energy Optimization Strategies for Multithreaded Operating System on the Resource-Constrained Wireless Sensor Node |
title | Memory and Energy Optimization Strategies for Multithreaded Operating System on the Resource-Constrained Wireless Sensor Node |
title_full | Memory and Energy Optimization Strategies for Multithreaded Operating System on the Resource-Constrained Wireless Sensor Node |
title_fullStr | Memory and Energy Optimization Strategies for Multithreaded Operating System on the Resource-Constrained Wireless Sensor Node |
title_full_unstemmed | Memory and Energy Optimization Strategies for Multithreaded Operating System on the Resource-Constrained Wireless Sensor Node |
title_short | Memory and Energy Optimization Strategies for Multithreaded Operating System on the Resource-Constrained Wireless Sensor Node |
title_sort | memory and energy optimization strategies for multithreaded operating system on the resource-constrained wireless sensor node |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4327005/ https://www.ncbi.nlm.nih.gov/pubmed/25545264 http://dx.doi.org/10.3390/s150100022 |
work_keys_str_mv | AT liuxing memoryandenergyoptimizationstrategiesformultithreadedoperatingsystemontheresourceconstrainedwirelesssensornode AT houkunmean memoryandenergyoptimizationstrategiesformultithreadedoperatingsystemontheresourceconstrainedwirelesssensornode AT devaulxchristophe memoryandenergyoptimizationstrategiesformultithreadedoperatingsystemontheresourceconstrainedwirelesssensornode AT xujun memoryandenergyoptimizationstrategiesformultithreadedoperatingsystemontheresourceconstrainedwirelesssensornode AT yangjianfeng memoryandenergyoptimizationstrategiesformultithreadedoperatingsystemontheresourceconstrainedwirelesssensornode AT zhouhaiying memoryandenergyoptimizationstrategiesformultithreadedoperatingsystemontheresourceconstrainedwirelesssensornode AT shihongling memoryandenergyoptimizationstrategiesformultithreadedoperatingsystemontheresourceconstrainedwirelesssensornode AT zhoupeng memoryandenergyoptimizationstrategiesformultithreadedoperatingsystemontheresourceconstrainedwirelesssensornode |