{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,25]],"date-time":"2026-09-25T18:30:50Z","timestamp":1790361050082,"version":"4.1.0"},"reference-count":34,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2014,12,23]],"date-time":"2014-12-23T00:00:00Z","timestamp":1419292800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>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 \u201ccontext aware\u201d and multi-core \u201cpower-off\/wakeup\u201d 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.<\/jats:p>","DOI":"10.3390\/s150100022","type":"journal-article","created":{"date-parts":[[2014,12,23]],"date-time":"2014-12-23T15:33:56Z","timestamp":1419348836000},"page":"22-48","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":8,"title":["Memory and Energy Optimization Strategies for Multithreaded Operating System on the Resource-Constrained Wireless  Sensor Node"],"prefix":"10.3390","volume":"15","author":[{"given":"Xing","family":"Liu","sequence":"first","affiliation":[{"name":"LIMOS Laboratory, CNRS UMR 6158, Blaise Pascal University, Les C\u00e9zeaux, BP 10125, Clermont-Ferrand 63173, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kun","family":"Hou","sequence":"additional","affiliation":[{"name":"LIMOS Laboratory, CNRS UMR 6158, Blaise Pascal University, Les C\u00e9zeaux, BP 10125, Clermont-Ferrand 63173, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Christophe","family":"De Vaulx","sequence":"additional","affiliation":[{"name":"LIMOS Laboratory, CNRS UMR 6158, Blaise Pascal University, Les C\u00e9zeaux, BP 10125, Clermont-Ferrand 63173, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jun","family":"Xu","sequence":"additional","affiliation":[{"name":"Internet and Information Technology Laboratory, Electronic Information School, Wuhan University, Road LuoJia, Wuhan 430072, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jianfeng","family":"Yang","sequence":"additional","affiliation":[{"name":"Internet and Information Technology Laboratory, Electronic Information School, Wuhan University, Road LuoJia, Wuhan 430072, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Haiying","family":"Zhou","sequence":"additional","affiliation":[{"name":"School of Electrical & Information, Hubei University of Automotive Technology, Shiyan 442002, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hongling","family":"Shi","sequence":"additional","affiliation":[{"name":"LIMOS Laboratory, CNRS UMR 6158, Blaise Pascal University, Les C\u00e9zeaux, BP 10125, Clermont-Ferrand 63173, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Peng","family":"Zhou","sequence":"additional","affiliation":[{"name":"LIMOS Laboratory, CNRS UMR 6158, Blaise Pascal University, Les C\u00e9zeaux, BP 10125, Clermont-Ferrand 63173, France"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2014,12,23]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Dargie, W., and Poellabauer, C. (2010). Fundamentals of Wireless Sensor Networks: Theory and Practice, John Wiley & Sons.","DOI":"10.1002\/9780470666388"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Akyildiz, I. F., and Vuran, M.C. (2010). Wireless Sensor Networks, John Wiley & Sons.","DOI":"10.1002\/9780470515181"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Sohraby, K., Minoli, D., and Znati, T. (2007). Wireless Sensor Networks: Technology, Protocols, and Applications, John Wiley & Sons.","DOI":"10.1002\/047011276X"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"2292","DOI":"10.1016\/j.comnet.2008.04.002","article-title":"Wireless sensor network survey","volume":"52","author":"Yick","year":"2008","journal-title":"Comput. Netw."},{"key":"ref_5","unstructured":"Gross, N. (1999). Ideas for the 21st century. Business Week, 78\u2013167."},{"key":"ref_6","unstructured":"Ousterhout, J. (, January 22\u201326). Why threads are a bad idea (for most purposes). San Diego, CA, USA."},{"key":"ref_7","unstructured":"Von Behren, R., Condit, J. R., and Brewer, J. (2003, January 18\u201321). Why Events Are a Bad Idea (for High-Concurrency Servers). Lihue, HI, USA."},{"key":"ref_8","unstructured":"Li, S.F., Sutton, R., and Rabaey, J. (2003). Compilers and Operating Systems for Low Power, Kluwer Academic Publishers."},{"key":"ref_9","unstructured":"Levis, P. TinyOS programming. Available online: http:\/\/www.tinyos.net\/tinyos2.x\/doc\/pdf\/tinyos-programming.pdf."},{"key":"ref_10","unstructured":"Torgerson, A. (2005). Automatic Thread Stack Management for Resource-Constrained Sensor Operating Systems. [Master's Thesis, University of Colorado]."},{"key":"ref_11","unstructured":"AbsInt Corporation Stack Analyzer: Stack Usage Analysis. Available online: http:\/\/www.absint.com\/stackanalyzer\/index.htm."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"563","DOI":"10.1007\/s11036-005-1567-8","article-title":"MANTIS OS: An embedded multithreaded operating system for wireless micro sensor platforms","volume":"10","author":"Bhatti","year":"2005","journal-title":"ACM Kluwer Mob. Netw. Appl. J."},{"key":"ref_13","unstructured":"Simple Real Time Java A Small Footprint Java VM for Embedded and Consumer Devices. Available online: http:\/\/www.csc.uvic.ca\/\u223cmcheng\/360\/notes\/simpleRTJ\/."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Brouwers, N., Langendoen, K., Corke, P., and Darjeeling, B. (2009, January 4\u20136). A feature-rich VM for the resource poor. Berkeley, CA, USA.","DOI":"10.1145\/1644038.1644056"},{"key":"ref_15","unstructured":"Aslam, F. (2011). Challenges and Solutions in the Design of a Java Virtual Machine for Resource Constrained Microcontrollers. [Ph.D Thesis, University of Freiburg]."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Hill, J., Szewczyk, R., Woo, A., Hollar, S., Culler, D., and Pister, K. (2000, January 12\u201315). System architecture directions for networked sensors. Cambridge, MA, USA.","DOI":"10.1145\/378993.379006"},{"key":"ref_17","unstructured":"Dunkels, A., Gronvall, B., and Voigt, T. (2004, January 16\u201318). Contiki\u2014A lightweight and flexible operating system for tiny networked sensors. Tampa, FL, USA."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Han, C., Kumar, R., Shea, R., Kohler, E., and Srivastava, M. (2005, January 6\u20138). A dynamic operating system for sensor nodes. Seattle, WA, USA.","DOI":"10.1145\/1067170.1067188"},{"key":"ref_19","unstructured":"OpenWSN\u2014Open-Source Implementations of Protocol Stacks Based on Internet of Things Standards. Available online: https:\/\/openwsn.atlassian.net\/wiki\/pages\/viewpage.action? pageId=688187."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"480","DOI":"10.1002\/ett.2558","article-title":"OpenWSN: A standards-based low-power wireless development environment","volume":"23","author":"Watteyne","year":"2012","journal-title":"Trans. Emerg. Telecommun. Technol."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Willson, P.R., Johnstone, M.S., Neely, M., and Boles, D. (1995, January 27\u201329). Dynamic storage allocation: A survey and critical review. Kinross, UK.","DOI":"10.1007\/3-540-60368-9_19"},{"key":"ref_22","unstructured":"Dunkels, A., Schmidt, O., Voigt, T., and Ali, M. (November, January 31). Protothreads: Simplifying event-driven programming of memory-constrained embedded systems. Boulder, CO, USA."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"46","DOI":"10.1145\/321738.321743","article-title":"Scheduling algorithms for multiprogramming in a hard-real-time environment","volume":"20","author":"Liu","year":"1973","journal-title":"J. Assoc. Comput. Mach."},{"key":"ref_24","unstructured":"Atmel Studio\u2014the integrated development platform for developing and debugging Atmel ARM\u00ae Cortex\u00ae-M processor-based and Atmel AVR\u00ae microcontroller applications. Available online: http:\/\/www.atmel.com\/tools\/atmelstudio.aspx."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Klues, K., Liang, C.J.M., Paek, J., Musaloiu-Elefteri, R., Levis, P., Terzis, A., and Govindan, R. (2009, January 4\u20136). TOSThreads: Thread-safe and non-invasive preemption in TinyOS. Berkeley, CA, USA.","DOI":"10.1145\/1644038.1644052"},{"key":"ref_26","unstructured":"Decagon Devices\u2014Volumetric Water Content Sensors. Available online: http:\/\/www.decagon.com\/products\/soils\/volumetric-water-content-sensors\/."},{"key":"ref_27","unstructured":"IRR METER\u2014WATERMARK\/IRROMETER Sensors. Available online: http:\/\/www.irrometer.com\/sensors.html."},{"key":"ref_28","unstructured":"AVR Instruction Set. Available online: http:\/\/www.atmel.com\/images\/doc0856.pdf."},{"key":"ref_29","unstructured":"Atmel Corporation 8-bit Microcontroller with 64K\/128K\/256K Bytes in-System Programmable Flash. Available online: http:\/\/www.atmel.com\/Images\/2549s.pdf."},{"key":"ref_30","unstructured":"Atmel Corporation Atmel SAM7X Series of Microcontrollers. Available online: http:\/\/www.atmel.com\/Images\/doc6120.pdf."},{"key":"ref_31","unstructured":"IGLOO nano FPGAs. Available online: http:\/\/www.microsemi.com\/products\/fpga-soc\/fpga\/igloo-nano."},{"key":"ref_32","unstructured":"IGLOO nano Low-Power Flash FPGAs with Flash*Freeze Technology. Available online: http:\/\/www.microsemi.com\/document-portal\/doc_view\/130695-igloo-nano-low-power-flash-fpgas-datasheet."},{"key":"ref_33","unstructured":"Polastre, J., Szewcyzk, R., Sharp, C., and Culler, D. (2004, January 22\u201324). The mote revolution: Low power wireless sensor network devices. Stanford, CA, USA."},{"key":"ref_34","unstructured":"SMIR Team Homepage, an Introduction to the Projects of SMIR Team. Available online: http:\/\/edss.isima.fr\/sites\/smir\/."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/15\/1\/22\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T21:11:33Z","timestamp":1760217093000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/15\/1\/22"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2014,12,23]]},"references-count":34,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2015,1]]}},"alternative-id":["s150100022"],"URL":"https:\/\/doi.org\/10.3390\/s150100022","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2014,12,23]]}}}