A Dynamic Operating System for Sensor Nodes Chih-Chieh Han, Ram Kumar, Roy Shea, Eddie Kohler, Mani, Srivastava, MobiSys ‘05 Oct., 2009 발표자 : 김영선, 윤상열.

Slides:



Advertisements
Similar presentations
Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Advertisements

Reconfigurable Sensor Networks with SOS Chih-Chieh Han, Ram Kumar Rengaswamy, Roy Shea and Mani Srivastava UCLA Networked and Embedded Systems Laboratory.
Harbor: Software based Memory Protection for Sensor Nodes Ram Kumar, Akhilesh Singhania, Eddie Kohler and Mani Srivastava Introduction: Memory protection.
SOS - Dynamic operating system for sensor networks
Department of Computer Science and Engineering University of Washington Brian N. Bershad, Stefan Savage, Przemyslaw Pardyak, Emin Gun Sirer, Marc E. Fiuczynski,
Extensibility, Safety and Performance in the SPIN Operating System Presented by Allen Kerr.
Impala: A Middleware System for Managing Autonomic, Parallel Sensor Systems Ting Liu and Margaret Martonosi Princeton University.
A Dynamic Operating System for Sensor Nodes (SOS) Source:The 3 rd International Conference on Mobile Systems, Applications, and Service (MobiSys 2005)
Threads Irfan Khan Myo Thein What Are Threads ? a light, fine, string like length of material made up of two or more fibers or strands of spun cotton,
Chapter 13 Embedded Systems
1. Overview  Introduction  Motivations  Multikernel Model  Implementation – The Barrelfish  Performance Testing  Conclusion 2.
Chapter 13 Embedded Systems Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
ECE 526 – Network Processing Systems Design Software-based Protocol Processing Chapter 7: D. E. Comer.
An Energy-Efficient MAC Protocol for Wireless Sensor Networks
OS Fall’02 Memory Management Operating Systems Fall 2002.
Contiki A Lightweight and Flexible Operating System for Tiny Networked Sensors Presented by: Jeremy Schiff.
TinyGALS: A Programming Model for Event-Driven Embedded Systems Elaine Cheong UC Berkeley Ptolemy Group / PARC Judy Liebman (LLNL) Jie Liu, Feng Zhao (PARC)
Server Architecture Models Operating Systems Hebrew University Spring 2004.
Memory Management 2010.
Active Messages: a Mechanism for Integrated Communication and Computation von Eicken et. al. Brian Kazian CS258 Spring 2008.
1 Efficient Memory Safety for TinyOS 2.1 Yang Chen Nathan Cooprider Will Archer Eric Eide David Gay † John Regehr University of Utah School of Computing.
Extensibility, Safety and Performance in the SPIN Operating System Dave Camarillo.
Supporting Time-sensitive Application on a Commodity OS By Ashvin Goel, Luca Abeni, Charles Krasic, Jim Snow, Jonathan Walpole Presenter: Shuping Tien.
1 Introduction to Load Balancing: l Definition of Distributed systems. Collection of independent loosely coupled computing resources. l Load Balancing.
Maté: A Tiny Virtual Machine for Sensor Networks Philip Levis and David Culler Presented by: Michele Romano.
A. Frank - P. Weisberg Operating Systems Introduction to Tasks/Threads.
The Design of Robust and Efficient Microkernel ManRiX, The Design of Robust and Efficient Microkernel Presented by: Manish Regmi
File System. NET+OS 6 File System Architecture Design Goals File System Layer Design Storage Services Layer Design RAM Services Layer Design Flash Services.
Shahin Farshchi, Member, IEEE, Aleksey Pesterev, Paul Nuyujukian, Eric Guenterberg, Istvan Mody, and Jack W. Judy, Senior Member, IEEE, ” Structure of.
So, Jung-ki Distributed Computing System LAB School of Computer Science and Engineering Seoul National University Implementation of Package Management.
Extensibility, Safety and Performance in the SPIN Operating System Ashwini Kulkarni Operating Systems Winter 2006.
Chapter 4: Operating Systems. 2 Fundamentals of Wireless Sensor Networks: Theory and Practice Waltenegus Dargie and Christian Poellabauer © 2010 Outline.
Operating System 4 THREADS, SMP AND MICROKERNELS
Threads Many software packages are multi-threaded Web browser: one thread display images, another thread retrieves data from the network Word processor:
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
1 XYZ: A Motion-Enabled, Power Aware Sensor Node Platform for Distributed Sensor Network Applications Presenter: James D. Lymberopoulos, A. Savvides.
Korea Advanced Institute of Science and Technology Active Sensor Networks(Mate) (Published by Philip Levis, David Gay, and David Culler in NSDI 2005) 11/11/09.
TRICKLE: A Self-Regulating Algorithm for Code Propagation and Maintenance in Wireless Sensor Networks Philip Levis, Neil Patel, Scott Shenker and David.
Mate: A Tiny Virtual Machine for Sensor Networks Phil Levis and David Culler Presented by Andrew Chien CSE 291 Chien April 22, 2003 (slides courtesy, Phil.
Simon Han – Ram Kumar Rengaswamy – Roy Shea – Mani Srivastava – Eddie Kohler –
ELF: An Efficient Log-Structured Flash File System For Micro Sensor Nodes Hui Dai Michael Neufeld Richard Han University of Colorado at Boulder Computer.
TinySec : Link Layer Security Architecture for Wireless Sensor Networks Chris Karlof :: Naveen Sastry :: David Wagner Presented by Anil Karamchandani 10/01/2007.
The Mach System Abraham Silberschatz, Peter Baer Galvin, Greg Gagne Presentation By: Agnimitra Roy.
Scott Ferguson Section 1
M. Accetta, R. Baron, W. Bolosky, D. Golub, R. Rashid, A. Tevanian, and M. Young MACH: A New Kernel Foundation for UNIX Development Presenter: Wei-Lwun.
Processes, Threads, and Process States. Programs and Processes  Program: an executable file (before/after compilation)  Process: an instance of a program.
Processes & Threads Introduction to Operating Systems: Module 5.
CS510 Concurrent Systems Jonathan Walpole. RCU Usage in Linux.
CSC 360, Instructor: Kui Wu Thread & PThread. CSC 360, Instructor: Kui Wu Agenda 1.What is thread? 2.User vs kernel threads 3.Thread models 4.Thread issues.
Link Layer Support for Unified Radio Power Management in Wireless Sensor Networks IPSN 2007 Kevin Klues, Guoliang Xing and Chenyang Lu Database Lab.
System Architecture Directions for Networked Sensors.
CS533 Concepts of Operating Systems Jonathan Walpole.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Big Picture Lab 4 Operating Systems C Andras Moritz
Processes Chapter 3. Processes in Distributed Systems Processes and threads –Introduction to threads –Distinction between threads and processes Threads.
Why does it need? [USN] ( 주 ) 한백전자 Background Wireless Sensor Network (WSN)  Relationship between Sensor and WSN Individual sensors are very limited.
Software Architecture of Sensors. Hardware - Sensor Nodes Sensing: sensor --a transducer that converts a physical, chemical, or biological parameter into.
The Structuring of Systems Using Upcalls By David D. Clark Presented by Samuel Moffatt.
Presented by: Daniel Taylor
Process concept.
Threads vs. Events SEDA – An Event Model 5204 – Operating Systems.
Introduction to Load Balancing:
Operating System for Sensor Network
Presentation by Omar Abu-Azzah
Bluetooth Based Smart Sensor Network
Embedded Operating Systems
Chapter 4: Operating Systems
Co-designed Virtual Machines for Reliable Computer Systems
Mr. M. D. Jamadar Assistant Professor
Threads CSE 2431: Introduction to Operating Systems
Presentation transcript:

A Dynamic Operating System for Sensor Nodes Chih-Chieh Han, Ram Kumar, Roy Shea, Eddie Kohler, Mani, Srivastava, MobiSys ‘05 Oct., 2009 발표자 : 김영선, 윤상열

Introduction Sensor Operating System is needed for Wireless Sensor Network –General-purpose System Characteristic Easy to Write Applications –Embedded System Characteristic Little Energy Robust to Environmental Conditions –Sensor nodes located Far from Networked Infrastructure Internet System Technology2

Motivation code updates become more expensive, since a whole system image must be distributed More efficient energy Less latency Internet System Technology3

Solution Approach Operating System for Sensor Node –Event Driven –Component Model Possible Exceptionally to be Modified after Deploying it to a System –Flexible System such as VM Computational Overhead → Less CPU Overhead but Higher Mote Reprogramming Cost Internet System Technology4

Solution Approach Micro kernel –Mach, Exokernel  SOS uses a small kernel : Lower than Mach and higher than the Exokernel TinyOS –Event driven –Static-linked system  SOS is event driven and uses a component model, but SOS components can be installed and modified after a system has been deployed. Internet System Technology5

Solution Approach : structure of SOS Module –position independent binaries driver, protocol, application component –Message handling Parameter : message + module state Internet System Technology6

Solution Approach : structure of SOS Message handling –init / final message –init message handler module initialize initial periodic timer, function registration, function subscription –final message handler free node resources such as timer, memory, registered functions –module specific messages handling of timer trigger sensor reading incoming data messages from other modules or nodes Internet System Technology7

Solution Approach : structure of SOS Function Control Block (FCB) –key information about the registered function –indexed by the tuple { module ID, function ID } –valid flag, subscriber reference count, prototype information prototype : { return type, pointer, ?, parameter n } –SOS kernel can easily replace a function by changing the function pointer in the FCB ※ module access kernel functions using a jump table Internet System Technology8

Solution Approach : structure of SOS Module insertion –distribution protocol listening for advertisements of new modules –check... already installed? free program memory? Module removal –initiated by the kernel dispatching a final message final opportunity to gracefully release –garbage collection memory, timers, sensor drivers, and other resources Internet System Technology9

Solution Approach : structure of SOS Potential Failure Modes –deliver a scheduled message to a module that does not exist on the node drop the message and free memory –delivering a message to a handler that is unable to handle the message solved by the individual modules drop the message, return an error code, and instruct the kernel to collect memory Internet System Technology10

Solution Approach : structure of SOS Message Scheduling –priority queues –Memory Layout of An SOS Message Queue Internet System Technology11

Solution Approach : structure of SOS Dynamic Memory –simple best fit fixed-block memory allocation smallest block size –message headers... larger block –applications need to move large continuous blocks of memory –allocates using linked list of free blocks Internet System Technology12

Advantage Small code size Very focused on less energy consumption to support powerful update mechanism Internet System Technology13

Discussion (1/3) Authors conclusively mentioned event-driven is more applicable than multi-thread. Only compared with event-driven based operating systems. >> The performance of event-driven could be affected by lengthy computation or latency. >> ‘Contiki’ uses a hybrid model to combine the benefits of both event-driven systems and preemptable threads. Internet System Technology14 [IEEE LCN'04] Contiki - a Lightweight and Flexible Operating System for Tiny Networked Sensors

Discussion (2/3) The total energy usage in SOS is nearly identical to that in TinyOS and Mat´e, despite different update costs and CPU active times. Dynamic memory and dynamic module management should have overhead. >> It can be possible to consume higher total energy if modules update less than expected. Internet System Technology15

Discussion (3/3) There is no objective evaluation for stability of dynamic memory. >> Dynamic memory is rarely used for sensor node because of limitation of memory and the possibility of memory crash. Internet System Technology16