際際滷

際際滷Share a Scribd company logo
Reducing Smartphone Application
Delay
through Read/Write Isolation
David T. Nguyen
David T. Nguyen 2
Figure Courtesy: Facebook Connectivity Lab
Real-world
Problem:
Application Delay
Introduction
 Research questions
 How does disk I/O affect smartphone application
response time?
 How to optimize storage to improve application
performance?
 Contributions
 First large-scale Android I/O study on 2611
devices
 Proposed SmartIO scheduler that reduces
application delay
 Evaluation indicates 21% reduced launch and
17% reduced run-time delay
David T. Nguyen 3
www.StoreBench.com
StoreBench Benchmark
4David T. Nguyen
 40% devices between 13% and 58%
 Significant CPU time spent waiting for storage
Iowait of 2611 Devices
CPU active time spent
waiting for storage I/O
5David T. Nguyen
 Seq. reads experience up to 626% slowdown when
blocked by concurrent writes (rand. up to 293%)
 I/O slowdown possible source of worse app launch
(reads dominate)
I/O Slowdown
6David T. Nguyen
Slowdown Asymmetry
7
 ReadSlowdown = Response time of a read in the
presence of a concurrent write / Response time of a
read when running alone
 WriteSlowdown = Response time of a write in the
presence of a concurrent read / Response time of a
write when running alone David T. Nguyen
Study Summary
Android devices spend up to 58% of
CPU active life time idling due to I/O
Reads experience up to 626%
slowdown when blocked by concurrent
writes
Large slowdown asymmetry (reads up
to 6.15; writes up to 1.6)
8David T. Nguyen
I/O Scheduler
Storage
Subsystem
Concurrency
Profiler
I/O Grouping
I/O Dispatch
I/O Priority Assignment
Kernel Space
User Space
SmartIO
David T. Nguyen 9
FLASH BLOCK DEVICE
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 7
queue queue
Idle
Best Effort
Real-time
write
read
Dispatch
Queue
Real-time Best Effort Idle
10
David T. Nguyen
11David T. Nguyen
 Nexus 4: 1-reader (128MB), 1-writer (128MB)
Seq. read slowdown improves from 6.15 to1.72
(gain), write worsens from 1.13 to 1.51 (cost)
Rand. read slowdown improves from 3.18 to 1.97
(gain), write worsens from 1.6 to 1.83 (cost)
Gain vs. Cost
12David T. Nguyen
 128MB mixed workload (first 10% reads, then 20%..)
 With increasing percentage of reads, response time
decreases (less writes means less slowdown)
 By changing scheduler (default CFQ to SmartIO) we
achieve on average 49% faster response (max. 66%)
Scheduler Comparison
13David T. Nguyen
Cold launch delays reduced on average
by 21% (warm by 13%)
Run-time delays reduced by 17% 14David T. Nguyen
 Facebook Inc.s goal:
 cold launch < 5s on 2012 or newer devices
 cold launch < 10s on older devices
 RAZR (2012): 9.9s -> 6.2s
 Samsung S5 (2014): 3.7s -> 2.3s
Facebook Performance
15David T. Nguyen
Conclusion & Future Work
SmartIO
Reduces app delays through read/write
isolation and higher read priorities
Study other stages of app life cycle
(install, update, switch, uninstall)
Analyze impact of network I/O
16David T. Nguyen
Acknowledgments
Our shepherd Prof. Mahadev
Satyanarayanan (CMU)
Aaron Carroll (NICTA), Dr. Duy Le
(EMC), Dr. Tommy Nguyen (RPI), Mai
Anh Do (CNU), Daniel Graham (W&M)
17David T. Nguyen
Reducing Smartphone Application
Delay
through Read/Write Isolation
David T. Nguyen

More Related Content

Viewers also liked (7)

Knowledge meets Community (updated)
Knowledge meets Community (updated)Knowledge meets Community (updated)
Knowledge meets Community (updated)
Marc Jadoul
SLOPE Final Conference - sensors for timber grading in forest
SLOPE Final Conference - sensors for timber grading in forestSLOPE Final Conference - sensors for timber grading in forest
SLOPE Final Conference - sensors for timber grading in forest
SLOPE Project
Week 5 lecture notes negation of modal auxiliaries
Week 5 lecture notes negation of modal auxiliariesWeek 5 lecture notes negation of modal auxiliaries
Week 5 lecture notes negation of modal auxiliaries
Pham Van van Dinh
Writing for Semantic Search
Writing for Semantic SearchWriting for Semantic Search
Writing for Semantic Search
Zara Altair
Week 11 adverbial, adjuncts, conjuncts, disjuncts
Week 11   adverbial, adjuncts, conjuncts, disjunctsWeek 11   adverbial, adjuncts, conjuncts, disjuncts
Week 11 adverbial, adjuncts, conjuncts, disjuncts
Pham Van van Dinh
Presentation product development and R&D for digital healthcare
Presentation product development and R&D for digital healthcarePresentation product development and R&D for digital healthcare
Presentation product development and R&D for digital healthcare
Ishay Tentser
What to expect at u albany when the harsh
What to expect at u albany when the harshWhat to expect at u albany when the harsh
What to expect at u albany when the harsh
Great Danes Daily
Knowledge meets Community (updated)
Knowledge meets Community (updated)Knowledge meets Community (updated)
Knowledge meets Community (updated)
Marc Jadoul
SLOPE Final Conference - sensors for timber grading in forest
SLOPE Final Conference - sensors for timber grading in forestSLOPE Final Conference - sensors for timber grading in forest
SLOPE Final Conference - sensors for timber grading in forest
SLOPE Project
Week 5 lecture notes negation of modal auxiliaries
Week 5 lecture notes negation of modal auxiliariesWeek 5 lecture notes negation of modal auxiliaries
Week 5 lecture notes negation of modal auxiliaries
Pham Van van Dinh
Writing for Semantic Search
Writing for Semantic SearchWriting for Semantic Search
Writing for Semantic Search
Zara Altair
Week 11 adverbial, adjuncts, conjuncts, disjuncts
Week 11   adverbial, adjuncts, conjuncts, disjunctsWeek 11   adverbial, adjuncts, conjuncts, disjuncts
Week 11 adverbial, adjuncts, conjuncts, disjuncts
Pham Van van Dinh
Presentation product development and R&D for digital healthcare
Presentation product development and R&D for digital healthcarePresentation product development and R&D for digital healthcare
Presentation product development and R&D for digital healthcare
Ishay Tentser
What to expect at u albany when the harsh
What to expect at u albany when the harshWhat to expect at u albany when the harsh
What to expect at u albany when the harsh
Great Danes Daily

Similar to Reducing Smartphone Application Delay through Read/Write Isolation (20)

Performance comparison: Samsung solid-state drive vs. hard disk drive in a De...
Performance comparison: Samsung solid-state drive vs. hard disk drive in a De...Performance comparison: Samsung solid-state drive vs. hard disk drive in a De...
Performance comparison: Samsung solid-state drive vs. hard disk drive in a De...
Principled Technologies
Performance in business terms
Performance in business termsPerformance in business terms
Performance in business terms
Strangeloop
issues in computing
issues in computingissues in computing
issues in computing
Ririn Indah
IA3_presentation.pptx
IA3_presentation.pptxIA3_presentation.pptx
IA3_presentation.pptx
KtonNguyn2
Lenovo ThinkPad 11e + Intel Core M processor = more time to learn
Lenovo ThinkPad 11e + Intel Core M processor = more time to learnLenovo ThinkPad 11e + Intel Core M processor = more time to learn
Lenovo ThinkPad 11e + Intel Core M processor = more time to learn
Principled Technologies
Android goes reading
Android goes readingAndroid goes reading
Android goes reading
inovex GmbH
Eventdriven I/O - A hands on introduction
Eventdriven I/O - A hands on introductionEventdriven I/O - A hands on introduction
Eventdriven I/O - A hands on introduction
Marc Seeger
Pair Programming: overview and concepts
Pair Programming: overview and conceptsPair Programming: overview and concepts
Pair Programming: overview and concepts
Lior Kirshner-Shalom
IBM PROTECTIER: FROM BACKUP TO RECOVERY
IBM PROTECTIER: FROM BACKUP TO RECOVERYIBM PROTECTIER: FROM BACKUP TO RECOVERY
IBM PROTECTIER: FROM BACKUP TO RECOVERY
IBM India Smarter Computing
netw320w7labreport_gpubill
netw320w7labreport_gpubillnetw320w7labreport_gpubill
netw320w7labreport_gpubill
Greg Pubill
Get more out of your Windows 10 laptop experience with SSD storage instead of...
Get more out of your Windows 10 laptop experience with SSD storage instead of...Get more out of your Windows 10 laptop experience with SSD storage instead of...
Get more out of your Windows 10 laptop experience with SSD storage instead of...
Principled Technologies
Solid State Drives (SSDs) -What it Takes to Make Data Go Away
Solid State Drives (SSDs) -What it Takes to Make Data Go AwaySolid State Drives (SSDs) -What it Takes to Make Data Go Away
Solid State Drives (SSDs) -What it Takes to Make Data Go Away
Blancco
Key Considerations For Deduplication In The Enterprise
Key Considerations For Deduplication In The EnterpriseKey Considerations For Deduplication In The Enterprise
Key Considerations For Deduplication In The Enterprise
Quantum
Optimal Azure Database Development by Karel Coenye
 Optimal Azure Database Development by Karel Coenye Optimal Azure Database Development by Karel Coenye
Optimal Azure Database Development by Karel Coenye
ITProceed
Michigan Information Retrieval Enthusiasts Group Meetup - August 19, 2010
Michigan Information Retrieval Enthusiasts Group Meetup - August 19, 2010Michigan Information Retrieval Enthusiasts Group Meetup - August 19, 2010
Michigan Information Retrieval Enthusiasts Group Meetup - August 19, 2010
ivan provalov
London Web Performance Meetup: Performance for mortal companies
London Web Performance Meetup: Performance for mortal companiesLondon Web Performance Meetup: Performance for mortal companies
London Web Performance Meetup: Performance for mortal companies
Strangeloop
Bandwidth, Throughput, Iops, And Flops
Bandwidth, Throughput, Iops, And FlopsBandwidth, Throughput, Iops, And Flops
Bandwidth, Throughput, Iops, And Flops
billmenger
Reduce time to complete backups and restores with Transparent Snapshots with ...
Reduce time to complete backups and restores with Transparent Snapshots with ...Reduce time to complete backups and restores with Transparent Snapshots with ...
Reduce time to complete backups and restores with Transparent Snapshots with ...
Principled Technologies
The economics of backup 5 ways disk backup can help your business
The economics of backup 5 ways disk backup can help your businessThe economics of backup 5 ways disk backup can help your business
The economics of backup 5 ways disk backup can help your business
Servium
Business Continuity Presentation[1]
Business Continuity Presentation[1]Business Continuity Presentation[1]
Business Continuity Presentation[1]
jrm1224
Performance comparison: Samsung solid-state drive vs. hard disk drive in a De...
Performance comparison: Samsung solid-state drive vs. hard disk drive in a De...Performance comparison: Samsung solid-state drive vs. hard disk drive in a De...
Performance comparison: Samsung solid-state drive vs. hard disk drive in a De...
Principled Technologies
Performance in business terms
Performance in business termsPerformance in business terms
Performance in business terms
Strangeloop
issues in computing
issues in computingissues in computing
issues in computing
Ririn Indah
IA3_presentation.pptx
IA3_presentation.pptxIA3_presentation.pptx
IA3_presentation.pptx
KtonNguyn2
Lenovo ThinkPad 11e + Intel Core M processor = more time to learn
Lenovo ThinkPad 11e + Intel Core M processor = more time to learnLenovo ThinkPad 11e + Intel Core M processor = more time to learn
Lenovo ThinkPad 11e + Intel Core M processor = more time to learn
Principled Technologies
Android goes reading
Android goes readingAndroid goes reading
Android goes reading
inovex GmbH
Eventdriven I/O - A hands on introduction
Eventdriven I/O - A hands on introductionEventdriven I/O - A hands on introduction
Eventdriven I/O - A hands on introduction
Marc Seeger
Pair Programming: overview and concepts
Pair Programming: overview and conceptsPair Programming: overview and concepts
Pair Programming: overview and concepts
Lior Kirshner-Shalom
netw320w7labreport_gpubill
netw320w7labreport_gpubillnetw320w7labreport_gpubill
netw320w7labreport_gpubill
Greg Pubill
Get more out of your Windows 10 laptop experience with SSD storage instead of...
Get more out of your Windows 10 laptop experience with SSD storage instead of...Get more out of your Windows 10 laptop experience with SSD storage instead of...
Get more out of your Windows 10 laptop experience with SSD storage instead of...
Principled Technologies
Solid State Drives (SSDs) -What it Takes to Make Data Go Away
Solid State Drives (SSDs) -What it Takes to Make Data Go AwaySolid State Drives (SSDs) -What it Takes to Make Data Go Away
Solid State Drives (SSDs) -What it Takes to Make Data Go Away
Blancco
Key Considerations For Deduplication In The Enterprise
Key Considerations For Deduplication In The EnterpriseKey Considerations For Deduplication In The Enterprise
Key Considerations For Deduplication In The Enterprise
Quantum
Optimal Azure Database Development by Karel Coenye
 Optimal Azure Database Development by Karel Coenye Optimal Azure Database Development by Karel Coenye
Optimal Azure Database Development by Karel Coenye
ITProceed
Michigan Information Retrieval Enthusiasts Group Meetup - August 19, 2010
Michigan Information Retrieval Enthusiasts Group Meetup - August 19, 2010Michigan Information Retrieval Enthusiasts Group Meetup - August 19, 2010
Michigan Information Retrieval Enthusiasts Group Meetup - August 19, 2010
ivan provalov
London Web Performance Meetup: Performance for mortal companies
London Web Performance Meetup: Performance for mortal companiesLondon Web Performance Meetup: Performance for mortal companies
London Web Performance Meetup: Performance for mortal companies
Strangeloop
Bandwidth, Throughput, Iops, And Flops
Bandwidth, Throughput, Iops, And FlopsBandwidth, Throughput, Iops, And Flops
Bandwidth, Throughput, Iops, And Flops
billmenger
Reduce time to complete backups and restores with Transparent Snapshots with ...
Reduce time to complete backups and restores with Transparent Snapshots with ...Reduce time to complete backups and restores with Transparent Snapshots with ...
Reduce time to complete backups and restores with Transparent Snapshots with ...
Principled Technologies
The economics of backup 5 ways disk backup can help your business
The economics of backup 5 ways disk backup can help your businessThe economics of backup 5 ways disk backup can help your business
The economics of backup 5 ways disk backup can help your business
Servium
Business Continuity Presentation[1]
Business Continuity Presentation[1]Business Continuity Presentation[1]
Business Continuity Presentation[1]
jrm1224

Recently uploaded (20)

Mate, a short story by Kate Grenvile.pptx
Mate, a short story by Kate Grenvile.pptxMate, a short story by Kate Grenvile.pptx
Mate, a short story by Kate Grenvile.pptx
Liny Jenifer
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
sandynavergas1
Essentials of a Good PMO, presented by Aalok Sonawala
Essentials of a Good PMO, presented by Aalok SonawalaEssentials of a Good PMO, presented by Aalok Sonawala
Essentials of a Good PMO, presented by Aalok Sonawala
Association for Project Management
The Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir Dotan
The Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir DotanThe Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir Dotan
The Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir Dotan
History of Stoke Newington
The Story Behind the Abney Park Restoration Project by Tom Walker
The Story Behind the Abney Park Restoration Project by Tom WalkerThe Story Behind the Abney Park Restoration Project by Tom Walker
The Story Behind the Abney Park Restoration Project by Tom Walker
History of Stoke Newington
How to use Init Hooks in Odoo 18 - Odoo 際際滷s
How to use Init Hooks in Odoo 18 - Odoo 際際滷sHow to use Init Hooks in Odoo 18 - Odoo 際際滷s
How to use Init Hooks in Odoo 18 - Odoo 際際滷s
Celine George
TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...
TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...
TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...
RizaBedayo
English 4 Quarter 4 Week 4 Classroom Obs
English 4 Quarter 4 Week 4 Classroom ObsEnglish 4 Quarter 4 Week 4 Classroom Obs
English 4 Quarter 4 Week 4 Classroom Obs
NerissaMendez1
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
Association for Project Management
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷sHow to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
Celine George
A PPT Presentation on The Princess and the God: A tale of ancient India by A...
A PPT Presentation on The Princess and the God: A tale of ancient India  by A...A PPT Presentation on The Princess and the God: A tale of ancient India  by A...
A PPT Presentation on The Princess and the God: A tale of ancient India by A...
Beena E S
TPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategyTPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategy
Henry Tapper
N.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity BriefingN.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity Briefing
Mebane Rash
How to Modify Existing Web Pages in Odoo 18
How to Modify Existing Web Pages in Odoo 18How to Modify Existing Web Pages in Odoo 18
How to Modify Existing Web Pages in Odoo 18
Celine George
Modeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptxModeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptx
maribethlacno2
Computer Application in Business (commerce)
Computer Application in Business (commerce)Computer Application in Business (commerce)
Computer Application in Business (commerce)
Sudar Sudar
Storytelling instructions...............
Storytelling instructions...............Storytelling instructions...............
Storytelling instructions...............
Alexander Benito
Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1...
Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1...Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1...
Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1...
pinkdvil200
PUBH1000 Module 3: Public Health Systems
PUBH1000 Module 3: Public Health SystemsPUBH1000 Module 3: Public Health Systems
PUBH1000 Module 3: Public Health Systems
Jonathan Hallett
Principle and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby BasnetPrinciple and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby Basnet
Boby Basnet
Mate, a short story by Kate Grenvile.pptx
Mate, a short story by Kate Grenvile.pptxMate, a short story by Kate Grenvile.pptx
Mate, a short story by Kate Grenvile.pptx
Liny Jenifer
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
sandynavergas1
The Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir Dotan
The Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir DotanThe Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir Dotan
The Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir Dotan
History of Stoke Newington
The Story Behind the Abney Park Restoration Project by Tom Walker
The Story Behind the Abney Park Restoration Project by Tom WalkerThe Story Behind the Abney Park Restoration Project by Tom Walker
The Story Behind the Abney Park Restoration Project by Tom Walker
History of Stoke Newington
How to use Init Hooks in Odoo 18 - Odoo 際際滷s
How to use Init Hooks in Odoo 18 - Odoo 際際滷sHow to use Init Hooks in Odoo 18 - Odoo 際際滷s
How to use Init Hooks in Odoo 18 - Odoo 際際滷s
Celine George
TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...
TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...
TLE 7 - 3rd Topic - Hand Tools, Power Tools, Instruments, and Equipment Used ...
RizaBedayo
English 4 Quarter 4 Week 4 Classroom Obs
English 4 Quarter 4 Week 4 Classroom ObsEnglish 4 Quarter 4 Week 4 Classroom Obs
English 4 Quarter 4 Week 4 Classroom Obs
NerissaMendez1
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
Association for Project Management
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷sHow to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
How to Setup WhatsApp in Odoo 17 - Odoo 際際滷s
Celine George
A PPT Presentation on The Princess and the God: A tale of ancient India by A...
A PPT Presentation on The Princess and the God: A tale of ancient India  by A...A PPT Presentation on The Princess and the God: A tale of ancient India  by A...
A PPT Presentation on The Princess and the God: A tale of ancient India by A...
Beena E S
TPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategyTPR Data strategy 2025 (1).pdf Data strategy
TPR Data strategy 2025 (1).pdf Data strategy
Henry Tapper
N.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity BriefingN.C. DPI's 2023 Language Diversity Briefing
N.C. DPI's 2023 Language Diversity Briefing
Mebane Rash
How to Modify Existing Web Pages in Odoo 18
How to Modify Existing Web Pages in Odoo 18How to Modify Existing Web Pages in Odoo 18
How to Modify Existing Web Pages in Odoo 18
Celine George
Modeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptxModeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptx
maribethlacno2
Computer Application in Business (commerce)
Computer Application in Business (commerce)Computer Application in Business (commerce)
Computer Application in Business (commerce)
Sudar Sudar
Storytelling instructions...............
Storytelling instructions...............Storytelling instructions...............
Storytelling instructions...............
Alexander Benito
Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1...
Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1...Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1 2024  Lesson Plan M1...
Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1 2024 Lesson Plan M1...
pinkdvil200
PUBH1000 Module 3: Public Health Systems
PUBH1000 Module 3: Public Health SystemsPUBH1000 Module 3: Public Health Systems
PUBH1000 Module 3: Public Health Systems
Jonathan Hallett
Principle and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby BasnetPrinciple and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby Basnet
Boby Basnet

Reducing Smartphone Application Delay through Read/Write Isolation

  • 1. Reducing Smartphone Application Delay through Read/Write Isolation David T. Nguyen
  • 2. David T. Nguyen 2 Figure Courtesy: Facebook Connectivity Lab Real-world Problem: Application Delay
  • 3. Introduction Research questions How does disk I/O affect smartphone application response time? How to optimize storage to improve application performance? Contributions First large-scale Android I/O study on 2611 devices Proposed SmartIO scheduler that reduces application delay Evaluation indicates 21% reduced launch and 17% reduced run-time delay David T. Nguyen 3
  • 5. 40% devices between 13% and 58% Significant CPU time spent waiting for storage Iowait of 2611 Devices CPU active time spent waiting for storage I/O 5David T. Nguyen
  • 6. Seq. reads experience up to 626% slowdown when blocked by concurrent writes (rand. up to 293%) I/O slowdown possible source of worse app launch (reads dominate) I/O Slowdown 6David T. Nguyen
  • 7. Slowdown Asymmetry 7 ReadSlowdown = Response time of a read in the presence of a concurrent write / Response time of a read when running alone WriteSlowdown = Response time of a write in the presence of a concurrent read / Response time of a write when running alone David T. Nguyen
  • 8. Study Summary Android devices spend up to 58% of CPU active life time idling due to I/O Reads experience up to 626% slowdown when blocked by concurrent writes Large slowdown asymmetry (reads up to 6.15; writes up to 1.6) 8David T. Nguyen
  • 9. I/O Scheduler Storage Subsystem Concurrency Profiler I/O Grouping I/O Dispatch I/O Priority Assignment Kernel Space User Space SmartIO David T. Nguyen 9
  • 10. FLASH BLOCK DEVICE 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 7 queue queue Idle Best Effort Real-time write read Dispatch Queue Real-time Best Effort Idle 10 David T. Nguyen
  • 12. Nexus 4: 1-reader (128MB), 1-writer (128MB) Seq. read slowdown improves from 6.15 to1.72 (gain), write worsens from 1.13 to 1.51 (cost) Rand. read slowdown improves from 3.18 to 1.97 (gain), write worsens from 1.6 to 1.83 (cost) Gain vs. Cost 12David T. Nguyen
  • 13. 128MB mixed workload (first 10% reads, then 20%..) With increasing percentage of reads, response time decreases (less writes means less slowdown) By changing scheduler (default CFQ to SmartIO) we achieve on average 49% faster response (max. 66%) Scheduler Comparison 13David T. Nguyen
  • 14. Cold launch delays reduced on average by 21% (warm by 13%) Run-time delays reduced by 17% 14David T. Nguyen
  • 15. Facebook Inc.s goal: cold launch < 5s on 2012 or newer devices cold launch < 10s on older devices RAZR (2012): 9.9s -> 6.2s Samsung S5 (2014): 3.7s -> 2.3s Facebook Performance 15David T. Nguyen
  • 16. Conclusion & Future Work SmartIO Reduces app delays through read/write isolation and higher read priorities Study other stages of app life cycle (install, update, switch, uninstall) Analyze impact of network I/O 16David T. Nguyen
  • 17. Acknowledgments Our shepherd Prof. Mahadev Satyanarayanan (CMU) Aaron Carroll (NICTA), Dr. Duy Le (EMC), Dr. Tommy Nguyen (RPI), Mai Anh Do (CNU), Daniel Graham (W&M) 17David T. Nguyen
  • 18. Reducing Smartphone Application Delay through Read/Write Isolation David T. Nguyen