SlideShare a Scribd company logo
• Binder
Binder is a remote procedure call mechanism
that allows a client process to remotely invoke
a function on a server process.
Pros:
– Binder requires only one data copy plus a
temporal memory mapping to transmit data
from one process to another.
Cons:
– Binder requires pre-defined interfaces
between the processes, which limits the
communication flexibility.
– Binder causes higher kernel overhead.
Performance Evaluation of Android IPC for
Continuous Sensing Applications
IPC Requirements of Continuous Sensing Applications
Center for Embedded Networked Sensing
Android IPC Mechanisms
• Continuous Sensing Applications
– A continuous sensing application is usually comprised of several
components, each of which runs in its own processes with separated
memory spaces.
– Only via inter-process-communication (IPC) mechanisms can
components interact with each other.
• IPC Requirements
– The IPC transactions of continuous sensing applications tend to occur
periodically and frequently.
– Some applications require large transfer sizes (e.g. acoustic sensing.)
– Low latency & low resource usages (i.e. memory, CPU) are required
to minimize the impact to user’s normal phone usage.
• Intent
Intent is a message forwarding system, where
a system service forwards a message to its
proper receivers based on intent-filtering
policies.
Pros:
– The intent-filtering policies enable more
flexible interaction between processors.
– Message broadcasting is supported.
Cons:
– Two-fold transmission is required, resulting
in longer transmission latency and higher
resource usage.
• Content Provider
Content provider is a data storehouse
mechanism that provides SQL-like APIs and
enables the data sharing among processes.
Pros:
– It adopts shared memory technique to
transmit query results and has the lowest
data transmission overhead.
Cons:
– Content provider only favors large transfer
size due to the high shared memory
allocation overhead.
Performance Evaluation
• Evaluation methodology: Two processes communicated every one second via different IPC mechanisms, while the packet sizes
ranged from 4B to 256KB to simulate different continuous sensing IPC needs. Each data point is an average of 100 transactions, and
the error bars represent 95% confidential intervals.
Continuous Sensing Application Examples
Memory Usage: Intent uses two times more
memory than other mechanisms due to its two-
fold transmission design.
Latency: Content provider performs the best
for larger packet sizes, but is outperformed
by Binder for smaller packet sizes.
CPU Usage: Content provider shows the
lowest CPU usage for larger packet sizes,
while Binder performs the best for the
smaller packet sizes.
Cheng-Kang Hsieh, Hossein Falaki, Nithya Ramanathan, Hongsuda Tangmunarunkit, Deborah Estrin
Center for Embedded Networked Sensing, UCLA

More Related Content

What's hot (18)

PPTX
Fault tolerance in Information Centric Networks
Nitinder Mohan
 
PPTX
Chapter04
Muhammad Ahad
 
PPTX
Unit 1 network management
bhavikaorg
 
PPTX
Monitoring docker container and dockerized applications
Ananth Padmanabhan
 
PPTX
Final presentation es1
Waed Shagareen
 
PPTX
Network Management Fundamentals - Back to the Basics
SolarWinds
 
PPT
4. system models
AbDul ThaYyal
 
PDF
Design and Analysis of a Broadcast Network Using Logical Segmentation
TELKOMNIKA JOURNAL
 
PPTX
NP - Unit 3 - Forwarding Datagram and ICMP
hamsa nandhini
 
ODP
Real Time Network Monitoring System
Girish Naik
 
PPTX
Distributed Middleware Reliability & Fault Tolerance Support in System S
Harini Sirisena
 
PPTX
Clientserver Presentation
Tuhin_Das
 
PPTX
Server and application monitoring webinars [Applications Manager] - Part 4
ManageEngine, Zoho Corporation
 
PDF
Network Monitoring Tools
Prince JabaKumar
 
PPTX
Application of Parallel Processing
are you
 
PDF
ThomasDWilkerson_Resume
Thomas Wilkerson
 
DOCX
Distributed System
Nitesh Saitwal
 
PPTX
Reduced network traffic
SJCET.PALAI
 
Fault tolerance in Information Centric Networks
Nitinder Mohan
 
Chapter04
Muhammad Ahad
 
Unit 1 network management
bhavikaorg
 
Monitoring docker container and dockerized applications
Ananth Padmanabhan
 
Final presentation es1
Waed Shagareen
 
Network Management Fundamentals - Back to the Basics
SolarWinds
 
4. system models
AbDul ThaYyal
 
Design and Analysis of a Broadcast Network Using Logical Segmentation
TELKOMNIKA JOURNAL
 
NP - Unit 3 - Forwarding Datagram and ICMP
hamsa nandhini
 
Real Time Network Monitoring System
Girish Naik
 
Distributed Middleware Reliability & Fault Tolerance Support in System S
Harini Sirisena
 
Clientserver Presentation
Tuhin_Das
 
Server and application monitoring webinars [Applications Manager] - Part 4
ManageEngine, Zoho Corporation
 
Network Monitoring Tools
Prince JabaKumar
 
Application of Parallel Processing
are you
 
ThomasDWilkerson_Resume
Thomas Wilkerson
 
Distributed System
Nitesh Saitwal
 
Reduced network traffic
SJCET.PALAI
 

Similar to Performance evaluation of Android IPC (20)

PDF
Low Level View of Android System Architecture
National Cheng Kung University
 
PDF
Android IPC Mechanism
National Cheng Kung University
 
PPTX
Overview of Android binder IPC implementation
Chethan Pchethan
 
PDF
ME4AWSN - a Modeling Environment for Architecting WSNs
Ivano Malavolta
 
PPTX
Android Binder: Deep Dive
Zafar Shahid, PhD
 
PPTX
Binder: Android IPC
Shaul Rosenzwieg
 
PPTX
Static Memory Management for Efficient Mobile Sensing Applications
Farley Lai
 
PDF
55 60
Editor IJARCET
 
PPTX
CSense: A Stream-Processing Toolkit for Robust and High-Rate Mobile Sensing A...
Farley Lai
 
PDF
Architecture 4 Wireless Sensor Networks
Ivano Malavolta
 
PDF
A4WSN
Ivano Malavolta
 
PDF
Embedded Android : System Development - Part IV (Android System Services)
Emertxe Information Technologies Pvt Ltd
 
PDF
Explore Android Internals
National Cheng Kung University
 
PDF
Binding android piece by piece
Bucharest Java User Group
 
PPTX
PROf TEJAS PADGHAN ICEEM ch. sambhajinagar
tejaspadghan2
 
PDF
Binary instrumentation - dc9723
Iftach Ian Amit
 
PDF
Understanding binder in android
Haifeng Li
 
PDF
Android Binder IPC for Linux
Yu-Hsin Hung
 
PPTX
Perceptual Computing
Intel Developer Zone Community
 
PPT
middleware
rajeswarimca
 
Low Level View of Android System Architecture
National Cheng Kung University
 
Android IPC Mechanism
National Cheng Kung University
 
Overview of Android binder IPC implementation
Chethan Pchethan
 
ME4AWSN - a Modeling Environment for Architecting WSNs
Ivano Malavolta
 
Android Binder: Deep Dive
Zafar Shahid, PhD
 
Binder: Android IPC
Shaul Rosenzwieg
 
Static Memory Management for Efficient Mobile Sensing Applications
Farley Lai
 
CSense: A Stream-Processing Toolkit for Robust and High-Rate Mobile Sensing A...
Farley Lai
 
Architecture 4 Wireless Sensor Networks
Ivano Malavolta
 
Embedded Android : System Development - Part IV (Android System Services)
Emertxe Information Technologies Pvt Ltd
 
Explore Android Internals
National Cheng Kung University
 
Binding android piece by piece
Bucharest Java User Group
 
PROf TEJAS PADGHAN ICEEM ch. sambhajinagar
tejaspadghan2
 
Binary instrumentation - dc9723
Iftach Ian Amit
 
Understanding binder in android
Haifeng Li
 
Android Binder IPC for Linux
Yu-Hsin Hung
 
Perceptual Computing
Intel Developer Zone Community
 
middleware
rajeswarimca
 
Ad

More from 承剛 謝 (6)

PDF
Group link
承剛 謝
 
PPTX
Collaborative Metric Learning (WWW'17)
承剛 謝
 
PDF
Immersive Recommendation (NYC Media Lab)
承剛 謝
 
PDF
Immersive Recommendation
承剛 謝
 
PDF
Lifestreams Presentation (Sensys 14)
承剛 謝
 
PPTX
Experiment result 1.31
承剛 謝
 
Group link
承剛 謝
 
Collaborative Metric Learning (WWW'17)
承剛 謝
 
Immersive Recommendation (NYC Media Lab)
承剛 謝
 
Immersive Recommendation
承剛 謝
 
Lifestreams Presentation (Sensys 14)
承剛 謝
 
Experiment result 1.31
承剛 謝
 
Ad

Recently uploaded (20)

PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
July Patch Tuesday
Ivanti
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Python basic programing language for automation
DanialHabibi2
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
July Patch Tuesday
Ivanti
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 

Performance evaluation of Android IPC

  • 1. • Binder Binder is a remote procedure call mechanism that allows a client process to remotely invoke a function on a server process. Pros: – Binder requires only one data copy plus a temporal memory mapping to transmit data from one process to another. Cons: – Binder requires pre-defined interfaces between the processes, which limits the communication flexibility. – Binder causes higher kernel overhead. Performance Evaluation of Android IPC for Continuous Sensing Applications IPC Requirements of Continuous Sensing Applications Center for Embedded Networked Sensing Android IPC Mechanisms • Continuous Sensing Applications – A continuous sensing application is usually comprised of several components, each of which runs in its own processes with separated memory spaces. – Only via inter-process-communication (IPC) mechanisms can components interact with each other. • IPC Requirements – The IPC transactions of continuous sensing applications tend to occur periodically and frequently. – Some applications require large transfer sizes (e.g. acoustic sensing.) – Low latency & low resource usages (i.e. memory, CPU) are required to minimize the impact to user’s normal phone usage. • Intent Intent is a message forwarding system, where a system service forwards a message to its proper receivers based on intent-filtering policies. Pros: – The intent-filtering policies enable more flexible interaction between processors. – Message broadcasting is supported. Cons: – Two-fold transmission is required, resulting in longer transmission latency and higher resource usage. • Content Provider Content provider is a data storehouse mechanism that provides SQL-like APIs and enables the data sharing among processes. Pros: – It adopts shared memory technique to transmit query results and has the lowest data transmission overhead. Cons: – Content provider only favors large transfer size due to the high shared memory allocation overhead. Performance Evaluation • Evaluation methodology: Two processes communicated every one second via different IPC mechanisms, while the packet sizes ranged from 4B to 256KB to simulate different continuous sensing IPC needs. Each data point is an average of 100 transactions, and the error bars represent 95% confidential intervals. Continuous Sensing Application Examples Memory Usage: Intent uses two times more memory than other mechanisms due to its two- fold transmission design. Latency: Content provider performs the best for larger packet sizes, but is outperformed by Binder for smaller packet sizes. CPU Usage: Content provider shows the lowest CPU usage for larger packet sizes, while Binder performs the best for the smaller packet sizes. Cheng-Kang Hsieh, Hossein Falaki, Nithya Ramanathan, Hongsuda Tangmunarunkit, Deborah Estrin Center for Embedded Networked Sensing, UCLA