SlideShare a Scribd company logo
1 of 47
Download to read offline
System Support for Internet of Things
Kishore Ramachandran
(Kirak Hong, Dave Lillethun, Dushmanta Mohapatra)
System Support for Internet of Things
Kishore Ramachandran
(Kirak Hong, Dave Lillethun, Dushmanta Mohapatra)
BIG DATA Industry Forum sponsored by the Institute for Data & High
Performance Computing, Scheller College of Business, Center for Data
Analytics and Center for High Performance Computing at the Georgia
Institute of Technology, Atlanta, Georgia, U.S.A.
March 27, 2014
Abstract
System Support for Internet of Things
It is an exciting time in computing with the sea-change happening both on the technology fronts and
application fronts. Networked sensors and embedded platforms with significant computational
capabilities with access to backend utility computing resources, offer a tremendous opportunity to realize
large-scale cyber-physical systems (CPS) to address the many societal challenges including emergency
response, disaster recovery, surveillance, and transportation. Referred to as Situation awareness
applications, they are latency-sensitive, data intensive, involve heavy-duty processing, run 24x7, and
result in actuation with possible retargeting of sensors. Examples include surveillance deploying large-
scale distributed camera networks, and personalized traffic alerts in vehicular networks using road and
traffic sensing. This talk covers ongoing research in Professor Ramachandran’s embedded pervasive lab
to provide system support for Internet of Things.
Overview
• Motivation
• Mobile Fog: A Distributed Programming Model for the IoT
• The Analysis of Things
• Virtualization for the IoT
• Conclusion
Rise of Internet of Things
Enable New Knowledge
Agriculture
Energy Saving (I2E)‫‏‬
Predictive maintenance
Enhance Safety & Security
Smart Home
Healthcare
Defense
Intelligent Buildings
Smart Grid
Industrial Automation
Transportation and Connected Vehicles
A Broad Set of IoT Applications
Our Lab Focus
System Support for IoT
Overview
• Motivation
• Mobile Fog: A Distributed Programming Model for the IoT
• The Analysis of Things
• Virtualization for the IoT
• Conclusion
Future Internet Applications on IoT
• Common Characteristics
• Dealing with real-world data streams
• Real-time interaction among mobile
devices
• Wide-area analytics
• Requirements
• Dynamic scalability
• Low-latency communication
• Efficient in-network processing
Fog Computing
• New computing paradigm proposed by Cisco
• Extending the cloud utility computing to the edge
• Provide utility computing using resources that are
• Hierarchical
• Geo-distributed Mobile / Sensor
Edge
Core
Problem
• How can we easily develop future Internet applications on the fog
computing infrastructure?
• Need a right programming model that
• Provides a simple API
• Ensures dynamic scalability
• Supports efficient in-network processing for wide-area applications
• Allows real-time interaction among nearby edge devices
Limitations of Existing Platform as a Service
• Based on large data centers
High latency / poor bandwidth for data-intensive apps
• API designed for traditional web applications
Not suitable for the future Internet apps
Network Performance of Cloud VS. Fog
0
0.5
1
1.5
2
2.5
Bandwidth (Mbytes / sec)
Bandwidth (Iperf)
Nearby EC2
• Bandwidth and latency measured between a mobile node and a
computing node connected through GT-wifi
(measured on Apr. 16. 2014)
0
2
4
6
8
10
12
14
16
18
Latency (ms)
Latency (Ping)
Nearby EC2
Mobile Fog
• PaaS programming model on the Internet of Things
• Design Goals
• Simplicity: minimal interface with a single code base
• Scalability: allows dynamic scaling
• Context-awareness: network-, location-, resource-, capability-awareness
• Assumes Fog computing infrastructure
• Infrastructure nodes are placed in the fog
• IaaS interface for utility computing
Mobile Fog – Application Model
• Mobile Fog application
consists distributed
processes connected in a
hierarchy
• Each process covers a
specific geographical
region
Location
Network
Hierarchy
Mobile Fog – API (App Deployment)
App
Code
Runtime
Mobile Fog
Process
Mobile Fog
AppKey
Region
Level
Capacity
Connect_Fog(appkey)
Start_App()
On_create()
On_create()
On_new_parent()
On_new_child()
On_child_leave()
Mobile Fog – API (Communication)
on_message()
send_to()
Mobile Fog – API (Context-awareness)
query_level()
query_resource()
query_capacity()
query_location()
Level 0
Level 1
Level 2Level 2
Level 3 Camera, speed, etc.
CPU, RAM, storage
Mobile Fog – Scalability Level 0
Level 1
Level 2 Level 2
• Application scales at
runtime based on the
workload
• Developer specifies scaling
policy for each level
• Load balancing based on
geo-locations
App
Context
send_up() send_up() send_up() send_up()
F1
F2
F3
F5F4
B (F4)
A (F2)
C (F5)
F3 = B + C
F1 = A + B + C
Spatial Distribution
Temporal Distribution
AA
B
C
now – 3 mins
3 mins – 5 mins
5 mins – 8 mins
F2 F1 F1
F4 F3 F1
F5 F3 F1
time
old
new
space
CBA
Mobile Fog – Spatio-temporal Object Store
• App context object
is tagged by key,
location, and time
• get_object(key,
location, time)
put_object(key,
location,time)
• Context objects are
migrated when
scaling
Use Case – Vehicle Tracking using Cameras
Motion Filter
Image Capture
Target Tracking
License Plate Recognition
Target Location
Aggregation
send_up(motion_frame)
send_up(vehicle_ID)
send_down(PTZ_control)
Experiments
• Quad-tree topology
covering the urban
area
• Edge infrastructure
nodes directly
communicate with
simulated vehicles
• 1000 vehicles in a 7.7
KM x 3.5 KM grid
• SUMO traffic pattern
• OMNET++ net sim
Experiments (Vehicle to Vehicle Video
Streaming)
Fog-based approach
shows better latency
and less net traffic
relative to the cloud
Experiments (Traffic Monitoring)
• Location events from
mobile devices are stored
in Fog or Cloud
• Fog significant advantage
when query range is
within 0.5 KM
• Cloud-based approach is
better when query range
is large (> 0.8 KM)
Overview
• Motivation
• Mobile Fog: A Distributed Programming Model for the IoT
• The Analysis of Things
• Virtualization for the IoT
• Conclusion
26
Challenges to Application Development
• Sensor / actuator access
• Data transport
• Widely-distributes sensors / actuators
• Requires computational resources
• Distributed computation
• for parallelism
• for distributed sensors / actuators
• Application dynamism
• need elastic resources
• Massive scale
• number of sensors / actuators
• amount of data produced
• geographic diversity
• And more…
27
What’s missing from IoT?
• Systems Support for Live Streaming Analysis
• algorithms analyze data streams as they are produced
• brings intelligence to IoT
• proven by the success of Big Data Analytics in static data / batch processing world
• applies in many contexts:
• situation awareness
• cyberphysical systems
• financial analysis
• we refer to Live Stream Analysis in IoT as the Analysis of Things (AoT)
Internet of Things, in detail…
• Myriad sensors and actuators, not just user devices
• digital representations of the real world
• Mobility
• Wireless
• Both “simple” and “rich” sensing
• feature extraction and advanced analysis required for “rich”
sensing
• Heterogeneity
• Dynamic environment
• Machine-to-machine (M2M) and cyberphysical
applications
• sense-process-actuate loop -> low latency!
• Massive scale
• number of devices
• amount of data
• Geographical diversity (and geography matters!)
• location-sensitive & location-aware applications
• Hierarchical structure
• latency tolerance vs. time scale (data liveliness)
Hierarchical Applications
Each Store:
customer interaction (e.g., e-
cupons, product
recommendations)
Regional:
what to carry in stores,
product interactions
Corporate-wide:
marketing decisions, corporate
strategy
System Requirements to Support AoT
• Programming Model
• Execution Environment
Abstract away system-level issues
• Execution EnvironmentExecute applications on distributed resources
• StampedeRT
Efficient and scalable stream transport
• Stream RegistryStream registration and discovery
• Operator StoreComponent-based design
• Drivers
Connecting operator graphs to arbitrary inputs &
outputs
• Proposed WorkWidely distributed architecture
The Programming Model
Operator
State Declarations
Initialization
Routine
Handler
(Algorithm)
Interface
Operator
Store
Operator
Operator
Operator
Operator
Operator
Input / Output
Stream Types
Worker Node
Worker Node
Worker Node
Worker Node
Resource
Manager
Operator
Store
Stream
Registry
Operator
Code
Operator
Graph
System Architecture
Worker Node
Resource
Manager
Operator
Store
Stream
Registry
StampedeRT
workerd
Operator
Container
Running Application
Operator
Operator
Container
Operator
Stream Registration Example
Sensor Type
{ type : “camera”,
capabilities : [
“color”,
“PTZ” ],
location : “KACB 1212”,
gps : {
lat : 12.345,
long : 54.321 }
}
Stream Type
{ type : “video”,
mime : “video/mp4”,
encoding : “H.264”,
resolution : {
x : 800,
y : 600 }
framerate : 10
}
+ Handle (how to connect to stream & produce/consume)
Sharing Analysis Results
Operator
OperatorOperator
Operator
Shared Stream
Operator
Operator
Operator
Operator
Operator
Stream
Registry
Sensor Threshold Application
∑
S
S
S
S
S
S
S
∑
∑
∑
∑
Alert!
s
s
AoT Systemsource
drivers
sink
drivers
sum/mean
operators
threshold
operators{ id, GPS,
sensor value }
{ cent. GPS,
sum, count }
{ list( GPS,
sensor value ) }
Object Tracking Application
DEC
DEC
ENC
ENC
AoT System
source
drivers
{ M-JPEG video }
FG Track
FG Track
S
S
s
s
sink
drivers
JPEG
decoder
JPEG
encoder
foreground
detector
object
detector
/ tracker
{ M-JPEG video
w/ objects }
{ raw video }
{ foreground mask }
{ raw video
w/ objects }
Overview
• Motivation
• Mobile Fog: A Distributed Programming Model for the IoT
• The Analysis of Things
• Virtualization for the IoT
• Conclusion
How Virtualization Fits In IoT?
• Servers, Cloud Setups
• Server Consolidation, Load Balancing, Usage Accounting, Fairness, Security
• Fog Nodes
• Security, Data/ Computation migration to Clouds
• Dealing with the underlying heterogeneity of the fog nodes
• Client Devices
• Versatility, Security in smart phones (other hand-held devices)
• Security of the critical components in automobiles
• Data/ Computation migration to fogs and clouds
Need for new research
• Virtualization has been well researched in the context of servers and cloud
setups
• Introduction into fog nodes & client devices brings new challenges
• Rethink virtualization in the context of heterogeneity presented by fog nodes
• Set of applications running in the client devices may have different requirements
• Implications for the design and implementation of mechanisms
• Resource management in the context of needs of new applications/ usage-modes
• Migration becomes significantly harder
• Granularity of migration (whole VM/ process/ something else?)
• Dealing with the complexity of architectural difference among the nodes
• Dealing with difference in capabilities of I/O devices
• Dealing with geographical separation of the fog nodes and its implications for system and network
virtualization
Examples of Relevant Research
• Virtualization getting introduced into client devices
• Xen-ARM
• VMWARE Mobile Virtualization
• OKL4 Mobile Virtualization
• Research Efforts: Cells, others…
• Initial investigations about introducing into automobile software systems
• Cyber Foraging
• On-Demand Virtualization
• Resource Management
Memory Resource Management
• Core research problem: Dynamically partition the available physical memory
among the set of virtual machines
• Why is it necessary?
• Memory is finite (as opposed to CPU, I/O Cycles)
• Amount of allocated memory has direct impact on the performance of a VM
• Memory need of VMs varies over time
• Static partitioning may be enough in case of over-provisioned systems
• Over-provisioning may result in under-utilization of resource for a majority of time
• Client devices, Automobile systems are not over-provisioned
• May be rather resource-constrained
Known Mechanisms
• Ballooning
• Based on a pseudo-driver called balloon driver inside each VM
• Two operations: Inflate, Deflate
• Transfers memory pages between the VMs and the hypervisor
• Transcendent Memory (T-Mem)
• Collect memory from the hypervisor and the guests into a
centralized pool
• May use ballooning for collecting memory
• Provide indirect page-copy based interface to the pool
• get-page() / put-page()
• To be used by the VMs during memory pressure
• Other hybrid mechanisms
Why are these not good enough?
• Primary Reason: Not designed with
the client device applications in mind
• Application Characteristics:
• Occasional Memory Spikes
• Latency Sensitivity
• Mix of critical and non-critical VMs
• Other Reasons:
• Stand-alone ballooning is not on-demand
• Lack of coordination among the VMs
• T-Mem
• Does not necessarily provide
performance/usage benefit as compared
to ballooning
Youtube-Client
How to improve ballooning
• Directed Ballooning
• Coordinated effort among the
VMs to deal with memory spikes
• Implemented according to Xen
split-driver principle
• Issues
• Interference from other system
constructs
• Latency overhead
Improving latency
• Reduce scheduler interference
• Optimization inside VM kernel
• Capture the event when a ballooning related work item gets allocated to a kernel thread
• Increase the priority level of the kernel thread for the time it does ballooning work
• Optimization in the hypervisor
• A vcpu doing ballooning work is not de-scheduled
• Appropriate working set analysis in deciding the VMs to be used for memory
balancing
• Could also be used for deciding the pages to be freed
• Modify the design and implementation to not use Xen-Store based
coordination protocol
• More active involvement of the hypervisor
• GOAL: To have a latency within a few-factors of in-kernel mechanisms like
‘malloc’
Conclusion
• Variety of IoT applications require proper system support
• Complexity of developing large-scale applications
• Requirement for real-time interaction and dynamic workload handling
• Applications run on resource-poor heterogeneous devices
• System support for IoT
• Programming Model
• Runtime System
• Virtualization

More Related Content

What's hot

Smarter Manufacturing through Equipment Data-Driven Application Design
Smarter Manufacturing through Equipment Data-Driven Application DesignSmarter Manufacturing through Equipment Data-Driven Application Design
Smarter Manufacturing through Equipment Data-Driven Application DesignKimberly Daich
 
Smart Connectivity
Smart ConnectivitySmart Connectivity
Smart ConnectivityReza Rahimi
 
Dell AI Telecom Webinar
Dell AI Telecom WebinarDell AI Telecom Webinar
Dell AI Telecom WebinarBill Wong
 
Integrator Roundtable Discussion: Facing the Future of Automation
Integrator Roundtable Discussion: Facing the Future of AutomationIntegrator Roundtable Discussion: Facing the Future of Automation
Integrator Roundtable Discussion: Facing the Future of AutomationInductive Automation
 
FogFlow: Cloud-Edge Orchestrator in FIWARE
FogFlow: Cloud-Edge Orchestrator in FIWAREFogFlow: Cloud-Edge Orchestrator in FIWARE
FogFlow: Cloud-Edge Orchestrator in FIWAREBin Cheng
 
Approaches for Distributed Information Computation and Processing
Approaches for Distributed Information Computation and ProcessingApproaches for Distributed Information Computation and Processing
Approaches for Distributed Information Computation and ProcessingSergey Boldyrev
 
A secure cloud computing based framework for big information management syste...
A secure cloud computing based framework for big information management syste...A secure cloud computing based framework for big information management syste...
A secure cloud computing based framework for big information management syste...Pawan Arya
 
State of the Virtualized Data Center
State of the Virtualized Data CenterState of the Virtualized Data Center
State of the Virtualized Data CenterJuniper Networks
 
Big Data for Big Power: How smart is the grid if the infrastructure is stupid?
Big Data for Big Power:  How smart is the grid if the infrastructure is stupid?Big Data for Big Power:  How smart is the grid if the infrastructure is stupid?
Big Data for Big Power: How smart is the grid if the infrastructure is stupid?OReillyStrata
 
Data Acquisition Automation for NiFi in a Hybrid Cloud environment – the Path...
Data Acquisition Automation for NiFi in a Hybrid Cloud environment – the Path...Data Acquisition Automation for NiFi in a Hybrid Cloud environment – the Path...
Data Acquisition Automation for NiFi in a Hybrid Cloud environment – the Path...DataWorks Summit
 
Walking through the fog (computing) - Keynote talk at Italian Networking Work...
Walking through the fog (computing) - Keynote talk at Italian Networking Work...Walking through the fog (computing) - Keynote talk at Italian Networking Work...
Walking through the fog (computing) - Keynote talk at Italian Networking Work...FBK CREATE-NET
 
Chapter 5 IoT Design methodologies
Chapter 5 IoT Design methodologiesChapter 5 IoT Design methodologies
Chapter 5 IoT Design methodologiespavan penugonda
 
Pilgrim Beart, Founder AlertMe
Pilgrim Beart, Founder AlertMePilgrim Beart, Founder AlertMe
Pilgrim Beart, Founder AlertMeJustin Hayward
 
Smart Manufacturing Requirements for Equipment Capability and Control
Smart Manufacturing Requirements forEquipment Capability and ControlSmart Manufacturing Requirements forEquipment Capability and Control
Smart Manufacturing Requirements for Equipment Capability and ControlKimberly Daich
 
Affordably Refreshing Your Water District’s Process Control
Affordably Refreshing Your Water District’s Process ControlAffordably Refreshing Your Water District’s Process Control
Affordably Refreshing Your Water District’s Process ControlInductive Automation
 
Cloud-centric Internet of Things
Cloud-centric Internet of ThingsCloud-centric Internet of Things
Cloud-centric Internet of ThingsLynn Langit
 
Stephen Cantrell, kdb+ Developer at Kx Systems “Kdb+: How Wall Street Tech c...
Stephen Cantrell, kdb+ Developer at Kx Systems  “Kdb+: How Wall Street Tech c...Stephen Cantrell, kdb+ Developer at Kx Systems  “Kdb+: How Wall Street Tech c...
Stephen Cantrell, kdb+ Developer at Kx Systems “Kdb+: How Wall Street Tech c...Dataconomy Media
 

What's hot (20)

Cloud computing for Smart City
Cloud computing for Smart CityCloud computing for Smart City
Cloud computing for Smart City
 
Smarter Manufacturing through Equipment Data-Driven Application Design
Smarter Manufacturing through Equipment Data-Driven Application DesignSmarter Manufacturing through Equipment Data-Driven Application Design
Smarter Manufacturing through Equipment Data-Driven Application Design
 
Smart Connectivity
Smart ConnectivitySmart Connectivity
Smart Connectivity
 
Dell AI Telecom Webinar
Dell AI Telecom WebinarDell AI Telecom Webinar
Dell AI Telecom Webinar
 
Integrator Roundtable Discussion: Facing the Future of Automation
Integrator Roundtable Discussion: Facing the Future of AutomationIntegrator Roundtable Discussion: Facing the Future of Automation
Integrator Roundtable Discussion: Facing the Future of Automation
 
How to Architect Smarter Systems for Healthcare
How to Architect Smarter Systems for HealthcareHow to Architect Smarter Systems for Healthcare
How to Architect Smarter Systems for Healthcare
 
FogFlow: Cloud-Edge Orchestrator in FIWARE
FogFlow: Cloud-Edge Orchestrator in FIWAREFogFlow: Cloud-Edge Orchestrator in FIWARE
FogFlow: Cloud-Edge Orchestrator in FIWARE
 
Approaches for Distributed Information Computation and Processing
Approaches for Distributed Information Computation and ProcessingApproaches for Distributed Information Computation and Processing
Approaches for Distributed Information Computation and Processing
 
A secure cloud computing based framework for big information management syste...
A secure cloud computing based framework for big information management syste...A secure cloud computing based framework for big information management syste...
A secure cloud computing based framework for big information management syste...
 
State of the Virtualized Data Center
State of the Virtualized Data CenterState of the Virtualized Data Center
State of the Virtualized Data Center
 
Big Data for Big Power: How smart is the grid if the infrastructure is stupid?
Big Data for Big Power:  How smart is the grid if the infrastructure is stupid?Big Data for Big Power:  How smart is the grid if the infrastructure is stupid?
Big Data for Big Power: How smart is the grid if the infrastructure is stupid?
 
Smart grid talk_puspanjali (1)
Smart grid talk_puspanjali (1)Smart grid talk_puspanjali (1)
Smart grid talk_puspanjali (1)
 
Data Acquisition Automation for NiFi in a Hybrid Cloud environment – the Path...
Data Acquisition Automation for NiFi in a Hybrid Cloud environment – the Path...Data Acquisition Automation for NiFi in a Hybrid Cloud environment – the Path...
Data Acquisition Automation for NiFi in a Hybrid Cloud environment – the Path...
 
Walking through the fog (computing) - Keynote talk at Italian Networking Work...
Walking through the fog (computing) - Keynote talk at Italian Networking Work...Walking through the fog (computing) - Keynote talk at Italian Networking Work...
Walking through the fog (computing) - Keynote talk at Italian Networking Work...
 
Chapter 5 IoT Design methodologies
Chapter 5 IoT Design methodologiesChapter 5 IoT Design methodologies
Chapter 5 IoT Design methodologies
 
Pilgrim Beart, Founder AlertMe
Pilgrim Beart, Founder AlertMePilgrim Beart, Founder AlertMe
Pilgrim Beart, Founder AlertMe
 
Smart Manufacturing Requirements for Equipment Capability and Control
Smart Manufacturing Requirements forEquipment Capability and ControlSmart Manufacturing Requirements forEquipment Capability and Control
Smart Manufacturing Requirements for Equipment Capability and Control
 
Affordably Refreshing Your Water District’s Process Control
Affordably Refreshing Your Water District’s Process ControlAffordably Refreshing Your Water District’s Process Control
Affordably Refreshing Your Water District’s Process Control
 
Cloud-centric Internet of Things
Cloud-centric Internet of ThingsCloud-centric Internet of Things
Cloud-centric Internet of Things
 
Stephen Cantrell, kdb+ Developer at Kx Systems “Kdb+: How Wall Street Tech c...
Stephen Cantrell, kdb+ Developer at Kx Systems  “Kdb+: How Wall Street Tech c...Stephen Cantrell, kdb+ Developer at Kx Systems  “Kdb+: How Wall Street Tech c...
Stephen Cantrell, kdb+ Developer at Kx Systems “Kdb+: How Wall Street Tech c...
 

Similar to System Support for Internet of Things

(R)evolution of the computing continuum - A few challenges
(R)evolution of the computing continuum  - A few challenges(R)evolution of the computing continuum  - A few challenges
(R)evolution of the computing continuum - A few challengesFrederic Desprez
 
Internet of Things A Vision, Architectural Elements, and Future Directions
Internet of Things A Vision, Architectural Elements, and Future Directions Internet of Things A Vision, Architectural Elements, and Future Directions
Internet of Things A Vision, Architectural Elements, and Future Directions Mostafa Arjmand
 
Java in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring StationsJava in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring StationsEurotech
 
People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013Eurotech
 
Get Cloud Resources to the IoT Edge with Fog Computing
Get Cloud Resources to the IoT Edge with Fog ComputingGet Cloud Resources to the IoT Edge with Fog Computing
Get Cloud Resources to the IoT Edge with Fog ComputingBiren Gandhi
 
Cloud computing for Smart City
Cloud computing for Smart CityCloud computing for Smart City
Cloud computing for Smart CityFanky Christian
 
Webofthing_WOT_vs_IOT.pptx
Webofthing_WOT_vs_IOT.pptxWebofthing_WOT_vs_IOT.pptx
Webofthing_WOT_vs_IOT.pptxjainam bhavsar
 
Stop Wasting Energy on M2M
Stop Wasting Energy on M2MStop Wasting Energy on M2M
Stop Wasting Energy on M2MEurotech
 
Are you ready to be edgy? Bringing applications to the edge of the network
Are you ready to be edgy? Bringing applications to the edge of the networkAre you ready to be edgy? Bringing applications to the edge of the network
Are you ready to be edgy? Bringing applications to the edge of the networkMegan O'Keefe
 
11-Module-4 Opportunities and Challenges, Architectures for convergence,Data ...
11-Module-4 Opportunities and Challenges, Architectures for convergence,Data ...11-Module-4 Opportunities and Challenges, Architectures for convergence,Data ...
11-Module-4 Opportunities and Challenges, Architectures for convergence,Data ...RahulJain989779
 
IoT and the Oil & Gas industry at M2M Oil & Gas 2014 in London
IoT and the Oil & Gas industry at M2M Oil & Gas 2014 in LondonIoT and the Oil & Gas industry at M2M Oil & Gas 2014 in London
IoT and the Oil & Gas industry at M2M Oil & Gas 2014 in LondonEurotech
 
Kalix: Tackling the The Cloud to Edge Continuum
Kalix: Tackling the The Cloud to Edge ContinuumKalix: Tackling the The Cloud to Edge Continuum
Kalix: Tackling the The Cloud to Edge ContinuumJonas Bonér
 
Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...
Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...
Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...Eurotech
 
Atal io t introduction
Atal io t introductionAtal io t introduction
Atal io t introductionYadvendra bedi
 
Virtualization on embedded boards
Virtualization on embedded boardsVirtualization on embedded boards
Virtualization on embedded boardsMohamed Ramadan
 
Visualizing Your Network Health - Driving Visibility in Increasingly Complex...
Visualizing Your Network Health -  Driving Visibility in Increasingly Complex...Visualizing Your Network Health -  Driving Visibility in Increasingly Complex...
Visualizing Your Network Health - Driving Visibility in Increasingly Complex...DellNMS
 

Similar to System Support for Internet of Things (20)

(R)evolution of the computing continuum - A few challenges
(R)evolution of the computing continuum  - A few challenges(R)evolution of the computing continuum  - A few challenges
(R)evolution of the computing continuum - A few challenges
 
Internet of Things A Vision, Architectural Elements, and Future Directions
Internet of Things A Vision, Architectural Elements, and Future Directions Internet of Things A Vision, Architectural Elements, and Future Directions
Internet of Things A Vision, Architectural Elements, and Future Directions
 
Java in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring StationsJava in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring Stations
 
People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013
 
Get Cloud Resources to the IoT Edge with Fog Computing
Get Cloud Resources to the IoT Edge with Fog ComputingGet Cloud Resources to the IoT Edge with Fog Computing
Get Cloud Resources to the IoT Edge with Fog Computing
 
Cloud computing for Smart City
Cloud computing for Smart CityCloud computing for Smart City
Cloud computing for Smart City
 
Stephen Wallo
Stephen WalloStephen Wallo
Stephen Wallo
 
Webofthing_WOT_vs_IOT.pptx
Webofthing_WOT_vs_IOT.pptxWebofthing_WOT_vs_IOT.pptx
Webofthing_WOT_vs_IOT.pptx
 
Stop Wasting Energy on M2M
Stop Wasting Energy on M2MStop Wasting Energy on M2M
Stop Wasting Energy on M2M
 
Are you ready to be edgy? Bringing applications to the edge of the network
Are you ready to be edgy? Bringing applications to the edge of the networkAre you ready to be edgy? Bringing applications to the edge of the network
Are you ready to be edgy? Bringing applications to the edge of the network
 
11-Module-4 Opportunities and Challenges, Architectures for convergence,Data ...
11-Module-4 Opportunities and Challenges, Architectures for convergence,Data ...11-Module-4 Opportunities and Challenges, Architectures for convergence,Data ...
11-Module-4 Opportunities and Challenges, Architectures for convergence,Data ...
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
IoT and the Oil & Gas industry at M2M Oil & Gas 2014 in London
IoT and the Oil & Gas industry at M2M Oil & Gas 2014 in LondonIoT and the Oil & Gas industry at M2M Oil & Gas 2014 in London
IoT and the Oil & Gas industry at M2M Oil & Gas 2014 in London
 
Kalix: Tackling the The Cloud to Edge Continuum
Kalix: Tackling the The Cloud to Edge ContinuumKalix: Tackling the The Cloud to Edge Continuum
Kalix: Tackling the The Cloud to Edge Continuum
 
Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...
Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...
Addressing the Complexity and Risks of M2M Projects - M2M World Congress Apri...
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Atal io t introduction
Atal io t introductionAtal io t introduction
Atal io t introduction
 
Virtualization on embedded boards
Virtualization on embedded boardsVirtualization on embedded boards
Virtualization on embedded boards
 
Visualizing Your Network Health - Driving Visibility in Increasingly Complex...
Visualizing Your Network Health -  Driving Visibility in Increasingly Complex...Visualizing Your Network Health -  Driving Visibility in Increasingly Complex...
Visualizing Your Network Health - Driving Visibility in Increasingly Complex...
 

More from HarshitParkar6677 (20)

Wi fi hacking
Wi fi hackingWi fi hacking
Wi fi hacking
 
D dos attack
D dos attackD dos attack
D dos attack
 
Notes chapter 6
Notes chapter  6Notes chapter  6
Notes chapter 6
 
Interface notes
Interface notesInterface notes
Interface notes
 
Chapter6 2
Chapter6 2Chapter6 2
Chapter6 2
 
Chapter6
Chapter6Chapter6
Chapter6
 
8086 cpu 1
8086 cpu 18086 cpu 1
8086 cpu 1
 
Chapter 6 notes
Chapter 6 notesChapter 6 notes
Chapter 6 notes
 
Chapter 5 notes
Chapter 5 notesChapter 5 notes
Chapter 5 notes
 
Chap6 procedures & macros
Chap6 procedures & macrosChap6 procedures & macros
Chap6 procedures & macros
 
Chapter 5 notes new
Chapter 5 notes newChapter 5 notes new
Chapter 5 notes new
 
Notes arithmetic instructions
Notes arithmetic instructionsNotes arithmetic instructions
Notes arithmetic instructions
 
Notes all instructions
Notes all instructionsNotes all instructions
Notes all instructions
 
Notes aaa aa
Notes aaa aaNotes aaa aa
Notes aaa aa
 
Notes 8086 instruction format
Notes 8086 instruction formatNotes 8086 instruction format
Notes 8086 instruction format
 
Misc
MiscMisc
Misc
 
Copy of 8086inst logical
Copy of 8086inst logicalCopy of 8086inst logical
Copy of 8086inst logical
 
Copy of 8086inst logical
Copy of 8086inst logicalCopy of 8086inst logical
Copy of 8086inst logical
 
Chapter3 program flow control instructions
Chapter3 program flow control instructionsChapter3 program flow control instructions
Chapter3 program flow control instructions
 
Chapter3 8086inst stringsl
Chapter3 8086inst stringslChapter3 8086inst stringsl
Chapter3 8086inst stringsl
 

Recently uploaded

Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixingviprabot1
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 

Recently uploaded (20)

Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixing
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 

System Support for Internet of Things

  • 1. System Support for Internet of Things Kishore Ramachandran (Kirak Hong, Dave Lillethun, Dushmanta Mohapatra)
  • 2. System Support for Internet of Things Kishore Ramachandran (Kirak Hong, Dave Lillethun, Dushmanta Mohapatra) BIG DATA Industry Forum sponsored by the Institute for Data & High Performance Computing, Scheller College of Business, Center for Data Analytics and Center for High Performance Computing at the Georgia Institute of Technology, Atlanta, Georgia, U.S.A. March 27, 2014
  • 3. Abstract System Support for Internet of Things It is an exciting time in computing with the sea-change happening both on the technology fronts and application fronts. Networked sensors and embedded platforms with significant computational capabilities with access to backend utility computing resources, offer a tremendous opportunity to realize large-scale cyber-physical systems (CPS) to address the many societal challenges including emergency response, disaster recovery, surveillance, and transportation. Referred to as Situation awareness applications, they are latency-sensitive, data intensive, involve heavy-duty processing, run 24x7, and result in actuation with possible retargeting of sensors. Examples include surveillance deploying large- scale distributed camera networks, and personalized traffic alerts in vehicular networks using road and traffic sensing. This talk covers ongoing research in Professor Ramachandran’s embedded pervasive lab to provide system support for Internet of Things.
  • 4. Overview • Motivation • Mobile Fog: A Distributed Programming Model for the IoT • The Analysis of Things • Virtualization for the IoT • Conclusion
  • 5. Rise of Internet of Things
  • 6. Enable New Knowledge Agriculture Energy Saving (I2E)‫‏‬ Predictive maintenance Enhance Safety & Security Smart Home Healthcare Defense Intelligent Buildings Smart Grid Industrial Automation Transportation and Connected Vehicles A Broad Set of IoT Applications
  • 7. Our Lab Focus System Support for IoT
  • 8. Overview • Motivation • Mobile Fog: A Distributed Programming Model for the IoT • The Analysis of Things • Virtualization for the IoT • Conclusion
  • 9. Future Internet Applications on IoT • Common Characteristics • Dealing with real-world data streams • Real-time interaction among mobile devices • Wide-area analytics • Requirements • Dynamic scalability • Low-latency communication • Efficient in-network processing
  • 10. Fog Computing • New computing paradigm proposed by Cisco • Extending the cloud utility computing to the edge • Provide utility computing using resources that are • Hierarchical • Geo-distributed Mobile / Sensor Edge Core
  • 11. Problem • How can we easily develop future Internet applications on the fog computing infrastructure? • Need a right programming model that • Provides a simple API • Ensures dynamic scalability • Supports efficient in-network processing for wide-area applications • Allows real-time interaction among nearby edge devices
  • 12. Limitations of Existing Platform as a Service • Based on large data centers High latency / poor bandwidth for data-intensive apps • API designed for traditional web applications Not suitable for the future Internet apps
  • 13. Network Performance of Cloud VS. Fog 0 0.5 1 1.5 2 2.5 Bandwidth (Mbytes / sec) Bandwidth (Iperf) Nearby EC2 • Bandwidth and latency measured between a mobile node and a computing node connected through GT-wifi (measured on Apr. 16. 2014) 0 2 4 6 8 10 12 14 16 18 Latency (ms) Latency (Ping) Nearby EC2
  • 14. Mobile Fog • PaaS programming model on the Internet of Things • Design Goals • Simplicity: minimal interface with a single code base • Scalability: allows dynamic scaling • Context-awareness: network-, location-, resource-, capability-awareness • Assumes Fog computing infrastructure • Infrastructure nodes are placed in the fog • IaaS interface for utility computing
  • 15. Mobile Fog – Application Model • Mobile Fog application consists distributed processes connected in a hierarchy • Each process covers a specific geographical region Location Network Hierarchy
  • 16. Mobile Fog – API (App Deployment) App Code Runtime Mobile Fog Process Mobile Fog AppKey Region Level Capacity Connect_Fog(appkey) Start_App() On_create() On_create() On_new_parent() On_new_child() On_child_leave()
  • 17. Mobile Fog – API (Communication) on_message() send_to()
  • 18. Mobile Fog – API (Context-awareness) query_level() query_resource() query_capacity() query_location() Level 0 Level 1 Level 2Level 2 Level 3 Camera, speed, etc. CPU, RAM, storage
  • 19. Mobile Fog – Scalability Level 0 Level 1 Level 2 Level 2 • Application scales at runtime based on the workload • Developer specifies scaling policy for each level • Load balancing based on geo-locations App Context send_up() send_up() send_up() send_up()
  • 20. F1 F2 F3 F5F4 B (F4) A (F2) C (F5) F3 = B + C F1 = A + B + C Spatial Distribution Temporal Distribution AA B C now – 3 mins 3 mins – 5 mins 5 mins – 8 mins F2 F1 F1 F4 F3 F1 F5 F3 F1 time old new space CBA Mobile Fog – Spatio-temporal Object Store • App context object is tagged by key, location, and time • get_object(key, location, time) put_object(key, location,time) • Context objects are migrated when scaling
  • 21. Use Case – Vehicle Tracking using Cameras Motion Filter Image Capture Target Tracking License Plate Recognition Target Location Aggregation send_up(motion_frame) send_up(vehicle_ID) send_down(PTZ_control)
  • 22. Experiments • Quad-tree topology covering the urban area • Edge infrastructure nodes directly communicate with simulated vehicles • 1000 vehicles in a 7.7 KM x 3.5 KM grid • SUMO traffic pattern • OMNET++ net sim
  • 23. Experiments (Vehicle to Vehicle Video Streaming) Fog-based approach shows better latency and less net traffic relative to the cloud
  • 24. Experiments (Traffic Monitoring) • Location events from mobile devices are stored in Fog or Cloud • Fog significant advantage when query range is within 0.5 KM • Cloud-based approach is better when query range is large (> 0.8 KM)
  • 25. Overview • Motivation • Mobile Fog: A Distributed Programming Model for the IoT • The Analysis of Things • Virtualization for the IoT • Conclusion
  • 26. 26 Challenges to Application Development • Sensor / actuator access • Data transport • Widely-distributes sensors / actuators • Requires computational resources • Distributed computation • for parallelism • for distributed sensors / actuators • Application dynamism • need elastic resources • Massive scale • number of sensors / actuators • amount of data produced • geographic diversity • And more…
  • 27. 27 What’s missing from IoT? • Systems Support for Live Streaming Analysis • algorithms analyze data streams as they are produced • brings intelligence to IoT • proven by the success of Big Data Analytics in static data / batch processing world • applies in many contexts: • situation awareness • cyberphysical systems • financial analysis • we refer to Live Stream Analysis in IoT as the Analysis of Things (AoT)
  • 28. Internet of Things, in detail… • Myriad sensors and actuators, not just user devices • digital representations of the real world • Mobility • Wireless • Both “simple” and “rich” sensing • feature extraction and advanced analysis required for “rich” sensing • Heterogeneity • Dynamic environment • Machine-to-machine (M2M) and cyberphysical applications • sense-process-actuate loop -> low latency! • Massive scale • number of devices • amount of data • Geographical diversity (and geography matters!) • location-sensitive & location-aware applications • Hierarchical structure • latency tolerance vs. time scale (data liveliness)
  • 29. Hierarchical Applications Each Store: customer interaction (e.g., e- cupons, product recommendations) Regional: what to carry in stores, product interactions Corporate-wide: marketing decisions, corporate strategy
  • 30. System Requirements to Support AoT • Programming Model • Execution Environment Abstract away system-level issues • Execution EnvironmentExecute applications on distributed resources • StampedeRT Efficient and scalable stream transport • Stream RegistryStream registration and discovery • Operator StoreComponent-based design • Drivers Connecting operator graphs to arbitrary inputs & outputs • Proposed WorkWidely distributed architecture
  • 31. The Programming Model Operator State Declarations Initialization Routine Handler (Algorithm) Interface Operator Store Operator Operator Operator Operator Operator Input / Output Stream Types
  • 32. Worker Node Worker Node Worker Node Worker Node Resource Manager Operator Store Stream Registry Operator Code Operator Graph System Architecture
  • 34. Stream Registration Example Sensor Type { type : “camera”, capabilities : [ “color”, “PTZ” ], location : “KACB 1212”, gps : { lat : 12.345, long : 54.321 } } Stream Type { type : “video”, mime : “video/mp4”, encoding : “H.264”, resolution : { x : 800, y : 600 } framerate : 10 } + Handle (how to connect to stream & produce/consume)
  • 35. Sharing Analysis Results Operator OperatorOperator Operator Shared Stream Operator Operator Operator Operator Operator Stream Registry
  • 36. Sensor Threshold Application ∑ S S S S S S S ∑ ∑ ∑ ∑ Alert! s s AoT Systemsource drivers sink drivers sum/mean operators threshold operators{ id, GPS, sensor value } { cent. GPS, sum, count } { list( GPS, sensor value ) }
  • 37. Object Tracking Application DEC DEC ENC ENC AoT System source drivers { M-JPEG video } FG Track FG Track S S s s sink drivers JPEG decoder JPEG encoder foreground detector object detector / tracker { M-JPEG video w/ objects } { raw video } { foreground mask } { raw video w/ objects }
  • 38. Overview • Motivation • Mobile Fog: A Distributed Programming Model for the IoT • The Analysis of Things • Virtualization for the IoT • Conclusion
  • 39. How Virtualization Fits In IoT? • Servers, Cloud Setups • Server Consolidation, Load Balancing, Usage Accounting, Fairness, Security • Fog Nodes • Security, Data/ Computation migration to Clouds • Dealing with the underlying heterogeneity of the fog nodes • Client Devices • Versatility, Security in smart phones (other hand-held devices) • Security of the critical components in automobiles • Data/ Computation migration to fogs and clouds
  • 40. Need for new research • Virtualization has been well researched in the context of servers and cloud setups • Introduction into fog nodes & client devices brings new challenges • Rethink virtualization in the context of heterogeneity presented by fog nodes • Set of applications running in the client devices may have different requirements • Implications for the design and implementation of mechanisms • Resource management in the context of needs of new applications/ usage-modes • Migration becomes significantly harder • Granularity of migration (whole VM/ process/ something else?) • Dealing with the complexity of architectural difference among the nodes • Dealing with difference in capabilities of I/O devices • Dealing with geographical separation of the fog nodes and its implications for system and network virtualization
  • 41. Examples of Relevant Research • Virtualization getting introduced into client devices • Xen-ARM • VMWARE Mobile Virtualization • OKL4 Mobile Virtualization • Research Efforts: Cells, others… • Initial investigations about introducing into automobile software systems • Cyber Foraging • On-Demand Virtualization • Resource Management
  • 42. Memory Resource Management • Core research problem: Dynamically partition the available physical memory among the set of virtual machines • Why is it necessary? • Memory is finite (as opposed to CPU, I/O Cycles) • Amount of allocated memory has direct impact on the performance of a VM • Memory need of VMs varies over time • Static partitioning may be enough in case of over-provisioned systems • Over-provisioning may result in under-utilization of resource for a majority of time • Client devices, Automobile systems are not over-provisioned • May be rather resource-constrained
  • 43. Known Mechanisms • Ballooning • Based on a pseudo-driver called balloon driver inside each VM • Two operations: Inflate, Deflate • Transfers memory pages between the VMs and the hypervisor • Transcendent Memory (T-Mem) • Collect memory from the hypervisor and the guests into a centralized pool • May use ballooning for collecting memory • Provide indirect page-copy based interface to the pool • get-page() / put-page() • To be used by the VMs during memory pressure • Other hybrid mechanisms
  • 44. Why are these not good enough? • Primary Reason: Not designed with the client device applications in mind • Application Characteristics: • Occasional Memory Spikes • Latency Sensitivity • Mix of critical and non-critical VMs • Other Reasons: • Stand-alone ballooning is not on-demand • Lack of coordination among the VMs • T-Mem • Does not necessarily provide performance/usage benefit as compared to ballooning Youtube-Client
  • 45. How to improve ballooning • Directed Ballooning • Coordinated effort among the VMs to deal with memory spikes • Implemented according to Xen split-driver principle • Issues • Interference from other system constructs • Latency overhead
  • 46. Improving latency • Reduce scheduler interference • Optimization inside VM kernel • Capture the event when a ballooning related work item gets allocated to a kernel thread • Increase the priority level of the kernel thread for the time it does ballooning work • Optimization in the hypervisor • A vcpu doing ballooning work is not de-scheduled • Appropriate working set analysis in deciding the VMs to be used for memory balancing • Could also be used for deciding the pages to be freed • Modify the design and implementation to not use Xen-Store based coordination protocol • More active involvement of the hypervisor • GOAL: To have a latency within a few-factors of in-kernel mechanisms like ‘malloc’
  • 47. Conclusion • Variety of IoT applications require proper system support • Complexity of developing large-scale applications • Requirement for real-time interaction and dynamic workload handling • Applications run on resource-poor heterogeneous devices • System support for IoT • Programming Model • Runtime System • Virtualization