SlideShare une entreprise Scribd logo
1  sur  29
Android Games Analysis –
Why Does my playtime
reduce my talk time?
Team – Hunger-Games
Milind Gokhale
Renuka Deshmukh
Motivation
• Games => 16% of the total time spent
on mobile apps in US. COMSCORE
• Appeal to diverse group of audience
• Advent of modern technology and
higher configuration => innovative
games
• Mobile game revenues will reach
$28.9Bn by 2016, up 38% from 2014.
Most popular mobile app category
However there are problems
• High Battery Usage
• High Memory Usage
• High Data Usage
• Performance Slowdown
RelatedWork
• Study by Cheetah Mobile
• VerizonWireless – High Risk Apps
• Characterizing Instant Messaging Apps on Smartphones
RelatedWork
http://www.verizonwireless.com/support/high-risk-android-apps/
Unexplored Area: Mobile Games
• Numerous genres
• Numerous Games in every genre
• Characterization of games difficult
• Age group
• Liking
• Location
• Different Resource requirements and limitations
Project Idea
• What can be done?
• Trying to find the root cause of inefficiencies in online mobile games in
terms of memory usage, data usage and performance.
• Approach
• Data Collection
• Analysis
• Recommendation
Methodology
• Game States
• Experiment Setup
• Games
• Tools
• Test Subjects
• Test Cases
• Testing Steps and Analysis Approach
Game States
•Foreground
•Background
Idle Playing
Experiment Setup
Rooted
Games andTools
• Farm Heroes Saga
• Social
• 2048
• Casual
• ARO
• Wakelock Detector
• PowerTutor
• Usemon
• Greenify
Test Design
• No need of test subjects
Description Network Channel
1 Game Screen On, Idle No Internet/Wi-Fi/LTE
2 Game Playing No Internet/Wi-Fi/LTE
3 Ad Statistics Wi-Fi/LTE
4 App in background Wi-Fi/LTE
Test Execution
• Execution steps
• Close all running apps usingGreenify
• Connect phone to laptop running ARO via USB
• Start ARO data collector
• Begin playing the game for 5 mins
• Analyze test report
• Metrics
• Data transfer (bytes/sec)
• Energy Consumption (J)
• Energy Efficiency (J/sec)
Findings
High RAM Usage
• More than 1 GB of RAM used while
playing 2048 and Farm Saga.
High Battery Consumption
• While playing 2048 and Farm Saga
• 9% (59% to 52%) in about 9 mins
• Hence – Full battery drain in 100 mins
Unexpected High Data Usage
• 2048 & Farm Saga Using high data in LTE
Performance Slowdown
• High CPU Usage
• High GPU Usage
Findings: Foreground - Idle
• Screen ON
• Farm Saga - Overrides default screen timeout
• 2% (210 J) battery drain in 5 mins
• RRC States
• Too many UDP connection requests for NoInternet
• Unnecessary RRC state transition
• NoInternet - DCH 38.91% , FACH 43.66%
• Connection Bursts Grouping
• Multiple bursts for 2048 and Farm Saga
• Connection grouping can save power
Findings: Foreground - Playing
• Connection Closing – Energy wastage in connection control
• Farm Saga – Avg. 25% energy (16.9 J – 84.5 J) wasted
• 2048 – Avg. 50% enery (37.9 J – 161 J) wasted
• DuplicateTCP Content
• Farm Saga – 29% duplicate data
• 50% cache header absent
Findings: Background
•2048 – No requests to game or ad server
•Farm Saga
• 17 requests to game server
• 6 requests to FB server in 5 mins
Ad Stats
• Uncompressed Files
• Javascript, HTML, CSS and
text files should be minified
• CSS Rule “display:none;”
• Content not displayed on
page should be removed
from HTML
• Probable Ad Fraud
• Heuristic to detect the game
session end
Row Labels
Request
s per
domain
Sum of
Byte
Count
Sum
of
Pack
et
Coun
t
ads.get.it 3 131530 264
ads.mopub.com 6 5899 32
android.clients.google.com 2 8088 31
cpp-test.imp.mpx.mopub.com 3 3773 22
get.it 6 5607 51
in.metamx.com 3 3697 21
play.googleapis.com 3 384 6
rtb-05.get.it 5 4966 41
GrandTotal 31 163944 468
Domains Accessed (2048 Gameplay)
Wakelocks
• HTTPS Connections
User Privacy
• Wakelocks should not be
misused.
• If there is no user interaction turn
off screen
Challenges Faced
• ARO test error
• No impact
• PCAP file analysis giving error
• Wireshark
• ADB and drivers issue
• Phone restart
• No issue on rooted phone
• Game data isolation
• IP addresses from trace
• Unavailability of a good sensor tool
• Usemon
FutureWork
• Game Code Analysis
• Other types of games
• Code Offloading
• iOS Devices
• Recommendation Implementation
• Study Other Resources
Recommendations
• Multiple connection bursts should be grouped together
• TCP connections should be closed promptly after data transfer
• Cache Control should be implemented properly
• No requests to game server or ad server when in background
• Minification of files
• “display:none;” - Remove not displayed content from page
• No requests to ad server when the game in progress
• Wakelock should not be misused
Conclusion
• Industry perspective
• Better games and efficient resource
consumption
• Increase in games usage and revenues
• End-user perspective
• Controlled data usage
• Better performance
• Better battery life
Thank you
• Questions

Contenu connexe

Similaire à Android games analysis final presentation

Quantifying User Satisfaction in Mobile Cloud Games
Quantifying User Satisfaction in Mobile Cloud GamesQuantifying User Satisfaction in Mobile Cloud Games
Quantifying User Satisfaction in Mobile Cloud GamesAcademia Sinica
 
Preparing your app for the next billion internet users - Assaf Gelber, Facebook
Preparing your app for the next billion internet users - Assaf Gelber, FacebookPreparing your app for the next billion internet users - Assaf Gelber, Facebook
Preparing your app for the next billion internet users - Assaf Gelber, FacebookDroidConTLV
 
Intro to Google Glass Development with the GDK
Intro to Google Glass Development with the GDKIntro to Google Glass Development with the GDK
Intro to Google Glass Development with the GDKNorton Lam
 
GMG204 TinyCo’s Best Practices for Developing, Scaling, and Monetizing Games ...
GMG204 TinyCo’s Best Practices for Developing, Scaling, and Monetizing Games ...GMG204 TinyCo’s Best Practices for Developing, Scaling, and Monetizing Games ...
GMG204 TinyCo’s Best Practices for Developing, Scaling, and Monetizing Games ...Amazon Web Services
 
Adm02 Be a Domino Detective: Tackling Your Toughest Performance Problems
Adm02 Be a Domino Detective: Tackling Your Toughest Performance ProblemsAdm02 Be a Domino Detective: Tackling Your Toughest Performance Problems
Adm02 Be a Domino Detective: Tackling Your Toughest Performance ProblemsKim Greene
 
Optimizing browser experience - App!mobile 2013 conf
Optimizing browser experience - App!mobile 2013 confOptimizing browser experience - App!mobile 2013 conf
Optimizing browser experience - App!mobile 2013 confMáté Nádasdi
 
Acting on Real-time Behavior: How Peak Games Won Transactions
Acting on Real-time Behavior: How Peak Games Won TransactionsActing on Real-time Behavior: How Peak Games Won Transactions
Acting on Real-time Behavior: How Peak Games Won TransactionsVoltDB
 
Doug Sillars on App Optimization
Doug Sillars on App OptimizationDoug Sillars on App Optimization
Doug Sillars on App Optimizationwipjam
 
RightScale Webinar: Get Top Performance for Your Games
RightScale Webinar: Get Top Performance for Your GamesRightScale Webinar: Get Top Performance for Your Games
RightScale Webinar: Get Top Performance for Your GamesRightScale
 
Application Quality Gates in Continuous Delivery: Deliver Better Software Fas...
Application Quality Gates in Continuous Delivery: Deliver Better Software Fas...Application Quality Gates in Continuous Delivery: Deliver Better Software Fas...
Application Quality Gates in Continuous Delivery: Deliver Better Software Fas...Andreas Grabner
 
W3C HTML5 KIG-The near future of the web platform
 W3C HTML5 KIG-The near future of the web platform W3C HTML5 KIG-The near future of the web platform
W3C HTML5 KIG-The near future of the web platformChanghwan Yi
 
HH QUALCOMM how to minimize the power consumption of your app
HH QUALCOMM how to minimize the power consumption of your appHH QUALCOMM how to minimize the power consumption of your app
HH QUALCOMM how to minimize the power consumption of your appSatya Harish
 
How to Minimize Your App’s Power Consumption
How to Minimize Your App’s Power Consumption How to Minimize Your App’s Power Consumption
How to Minimize Your App’s Power Consumption Qualcomm Developer Network
 
BlackBerry Jam Asia 2013 - Gaming on BlackBerry
BlackBerry Jam Asia 2013 - Gaming on BlackBerryBlackBerry Jam Asia 2013 - Gaming on BlackBerry
BlackBerry Jam Asia 2013 - Gaming on BlackBerrySegitiga.Net
 
Mozilla Firefox OS, its Technical Platform and Future - ISET 2014
Mozilla Firefox OS, its Technical Platform and Future - ISET 2014Mozilla Firefox OS, its Technical Platform and Future - ISET 2014
Mozilla Firefox OS, its Technical Platform and Future - ISET 2014Channy Yun
 
Cigniti's Game Testing Capabilities.pdf
Cigniti's Game Testing Capabilities.pdfCigniti's Game Testing Capabilities.pdf
Cigniti's Game Testing Capabilities.pdfBalaji Kt
 
Choosing your Game Engine (2009)
Choosing your Game Engine (2009)Choosing your Game Engine (2009)
Choosing your Game Engine (2009)Mark DeLoura
 
Chrome Dev Tools
Chrome Dev ToolsChrome Dev Tools
Chrome Dev ToolsTroy Miles
 

Similaire à Android games analysis final presentation (20)

Quantifying User Satisfaction in Mobile Cloud Games
Quantifying User Satisfaction in Mobile Cloud GamesQuantifying User Satisfaction in Mobile Cloud Games
Quantifying User Satisfaction in Mobile Cloud Games
 
Preparing your app for the next billion internet users - Assaf Gelber, Facebook
Preparing your app for the next billion internet users - Assaf Gelber, FacebookPreparing your app for the next billion internet users - Assaf Gelber, Facebook
Preparing your app for the next billion internet users - Assaf Gelber, Facebook
 
Intro to Google Glass Development with the GDK
Intro to Google Glass Development with the GDKIntro to Google Glass Development with the GDK
Intro to Google Glass Development with the GDK
 
GMG204 TinyCo’s Best Practices for Developing, Scaling, and Monetizing Games ...
GMG204 TinyCo’s Best Practices for Developing, Scaling, and Monetizing Games ...GMG204 TinyCo’s Best Practices for Developing, Scaling, and Monetizing Games ...
GMG204 TinyCo’s Best Practices for Developing, Scaling, and Monetizing Games ...
 
Orleans gdc2019
Orleans gdc2019Orleans gdc2019
Orleans gdc2019
 
Adm02 Be a Domino Detective: Tackling Your Toughest Performance Problems
Adm02 Be a Domino Detective: Tackling Your Toughest Performance ProblemsAdm02 Be a Domino Detective: Tackling Your Toughest Performance Problems
Adm02 Be a Domino Detective: Tackling Your Toughest Performance Problems
 
Optimizing browser experience - App!mobile 2013 conf
Optimizing browser experience - App!mobile 2013 confOptimizing browser experience - App!mobile 2013 conf
Optimizing browser experience - App!mobile 2013 conf
 
Acting on Real-time Behavior: How Peak Games Won Transactions
Acting on Real-time Behavior: How Peak Games Won TransactionsActing on Real-time Behavior: How Peak Games Won Transactions
Acting on Real-time Behavior: How Peak Games Won Transactions
 
Doug Sillars on App Optimization
Doug Sillars on App OptimizationDoug Sillars on App Optimization
Doug Sillars on App Optimization
 
RightScale Webinar: Get Top Performance for Your Games
RightScale Webinar: Get Top Performance for Your GamesRightScale Webinar: Get Top Performance for Your Games
RightScale Webinar: Get Top Performance for Your Games
 
Application Quality Gates in Continuous Delivery: Deliver Better Software Fas...
Application Quality Gates in Continuous Delivery: Deliver Better Software Fas...Application Quality Gates in Continuous Delivery: Deliver Better Software Fas...
Application Quality Gates in Continuous Delivery: Deliver Better Software Fas...
 
W3C HTML5 KIG-The near future of the web platform
 W3C HTML5 KIG-The near future of the web platform W3C HTML5 KIG-The near future of the web platform
W3C HTML5 KIG-The near future of the web platform
 
HH QUALCOMM how to minimize the power consumption of your app
HH QUALCOMM how to minimize the power consumption of your appHH QUALCOMM how to minimize the power consumption of your app
HH QUALCOMM how to minimize the power consumption of your app
 
How to Minimize Your App’s Power Consumption
How to Minimize Your App’s Power Consumption How to Minimize Your App’s Power Consumption
How to Minimize Your App’s Power Consumption
 
Online casino
Online casinoOnline casino
Online casino
 
BlackBerry Jam Asia 2013 - Gaming on BlackBerry
BlackBerry Jam Asia 2013 - Gaming on BlackBerryBlackBerry Jam Asia 2013 - Gaming on BlackBerry
BlackBerry Jam Asia 2013 - Gaming on BlackBerry
 
Mozilla Firefox OS, its Technical Platform and Future - ISET 2014
Mozilla Firefox OS, its Technical Platform and Future - ISET 2014Mozilla Firefox OS, its Technical Platform and Future - ISET 2014
Mozilla Firefox OS, its Technical Platform and Future - ISET 2014
 
Cigniti's Game Testing Capabilities.pdf
Cigniti's Game Testing Capabilities.pdfCigniti's Game Testing Capabilities.pdf
Cigniti's Game Testing Capabilities.pdf
 
Choosing your Game Engine (2009)
Choosing your Game Engine (2009)Choosing your Game Engine (2009)
Choosing your Game Engine (2009)
 
Chrome Dev Tools
Chrome Dev ToolsChrome Dev Tools
Chrome Dev Tools
 

Plus de Milind Gokhale

Yelp Dataset Challenge 2015
Yelp Dataset Challenge 2015Yelp Dataset Challenge 2015
Yelp Dataset Challenge 2015Milind Gokhale
 
Collaborative Filtering Recommendation System
Collaborative Filtering Recommendation SystemCollaborative Filtering Recommendation System
Collaborative Filtering Recommendation SystemMilind Gokhale
 
Technology Survey and Design
Technology Survey and DesignTechnology Survey and Design
Technology Survey and DesignMilind Gokhale
 
Epics and User Stories
Epics and User StoriesEpics and User Stories
Epics and User StoriesMilind Gokhale
 
Aloha Social Networking Portal - SRS
Aloha Social Networking Portal - SRSAloha Social Networking Portal - SRS
Aloha Social Networking Portal - SRSMilind Gokhale
 
Aloha Social Networking Portal - Design Document
Aloha Social Networking Portal - Design DocumentAloha Social Networking Portal - Design Document
Aloha Social Networking Portal - Design DocumentMilind Gokhale
 
Android gamesanalysis hunger-gamesfinal
Android gamesanalysis hunger-gamesfinalAndroid gamesanalysis hunger-gamesfinal
Android gamesanalysis hunger-gamesfinalMilind Gokhale
 
Buffer Trees - Utility and Applications for External Memory Data Processing
Buffer Trees - Utility and Applications for External Memory Data ProcessingBuffer Trees - Utility and Applications for External Memory Data Processing
Buffer Trees - Utility and Applications for External Memory Data ProcessingMilind Gokhale
 
Algorithms for External Memory Sorting
Algorithms for External Memory SortingAlgorithms for External Memory Sorting
Algorithms for External Memory SortingMilind Gokhale
 
Building effective teams in Amdocs-TECC - project report
Building effective teams in Amdocs-TECC - project reportBuilding effective teams in Amdocs-TECC - project report
Building effective teams in Amdocs-TECC - project reportMilind Gokhale
 
Building effective teams in Amdocs TECC - Presentation
Building effective teams in Amdocs TECC - PresentationBuilding effective teams in Amdocs TECC - Presentation
Building effective teams in Amdocs TECC - PresentationMilind Gokhale
 
Internet marketing report
Internet marketing reportInternet marketing report
Internet marketing reportMilind Gokhale
 
Change: to be or not to be
Change: to be or not to beChange: to be or not to be
Change: to be or not to beMilind Gokhale
 

Plus de Milind Gokhale (20)

Yelp Dataset Challenge 2015
Yelp Dataset Challenge 2015Yelp Dataset Challenge 2015
Yelp Dataset Challenge 2015
 
Collaborative Filtering Recommendation System
Collaborative Filtering Recommendation SystemCollaborative Filtering Recommendation System
Collaborative Filtering Recommendation System
 
Sprint Plan1
Sprint Plan1Sprint Plan1
Sprint Plan1
 
Technology Survey and Design
Technology Survey and DesignTechnology Survey and Design
Technology Survey and Design
 
Market Survey Report
Market Survey ReportMarket Survey Report
Market Survey Report
 
Epics and User Stories
Epics and User StoriesEpics and User Stories
Epics and User Stories
 
Visualforce
VisualforceVisualforce
Visualforce
 
Aloha Social Networking Portal - SRS
Aloha Social Networking Portal - SRSAloha Social Networking Portal - SRS
Aloha Social Networking Portal - SRS
 
Aloha Social Networking Portal - Design Document
Aloha Social Networking Portal - Design DocumentAloha Social Networking Portal - Design Document
Aloha Social Networking Portal - Design Document
 
Wsd final paper
Wsd final paperWsd final paper
Wsd final paper
 
Android gamesanalysis hunger-gamesfinal
Android gamesanalysis hunger-gamesfinalAndroid gamesanalysis hunger-gamesfinal
Android gamesanalysis hunger-gamesfinal
 
Buffer Trees - Utility and Applications for External Memory Data Processing
Buffer Trees - Utility and Applications for External Memory Data ProcessingBuffer Trees - Utility and Applications for External Memory Data Processing
Buffer Trees - Utility and Applications for External Memory Data Processing
 
Algorithms for External Memory Sorting
Algorithms for External Memory SortingAlgorithms for External Memory Sorting
Algorithms for External Memory Sorting
 
One sample runs test
One sample runs testOne sample runs test
One sample runs test
 
Building effective teams in Amdocs-TECC - project report
Building effective teams in Amdocs-TECC - project reportBuilding effective teams in Amdocs-TECC - project report
Building effective teams in Amdocs-TECC - project report
 
Building effective teams in Amdocs TECC - Presentation
Building effective teams in Amdocs TECC - PresentationBuilding effective teams in Amdocs TECC - Presentation
Building effective teams in Amdocs TECC - Presentation
 
Internet marketing report
Internet marketing reportInternet marketing report
Internet marketing report
 
Internet marketing
Internet marketingInternet marketing
Internet marketing
 
Indian it industry
Indian it industryIndian it industry
Indian it industry
 
Change: to be or not to be
Change: to be or not to beChange: to be or not to be
Change: to be or not to be
 

Dernier

Leading Mobile App Development Companies in India (2).pdf
Leading Mobile App Development Companies in India (2).pdfLeading Mobile App Development Companies in India (2).pdf
Leading Mobile App Development Companies in India (2).pdfCWS Technology
 
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRnishacall1
 
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPsychicRuben LoveSpells
 
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Servicenishacall1
 

Dernier (6)

Leading Mobile App Development Companies in India (2).pdf
Leading Mobile App Development Companies in India (2).pdfLeading Mobile App Development Companies in India (2).pdf
Leading Mobile App Development Companies in India (2).pdf
 
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
 
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
 
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
 
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
 

Android games analysis final presentation

  • 1. Android Games Analysis – Why Does my playtime reduce my talk time? Team – Hunger-Games Milind Gokhale Renuka Deshmukh
  • 2. Motivation • Games => 16% of the total time spent on mobile apps in US. COMSCORE • Appeal to diverse group of audience • Advent of modern technology and higher configuration => innovative games • Mobile game revenues will reach $28.9Bn by 2016, up 38% from 2014.
  • 3. Most popular mobile app category
  • 4. However there are problems • High Battery Usage • High Memory Usage • High Data Usage • Performance Slowdown
  • 5. RelatedWork • Study by Cheetah Mobile
  • 6. • VerizonWireless – High Risk Apps • Characterizing Instant Messaging Apps on Smartphones RelatedWork http://www.verizonwireless.com/support/high-risk-android-apps/
  • 7. Unexplored Area: Mobile Games • Numerous genres • Numerous Games in every genre • Characterization of games difficult • Age group • Liking • Location • Different Resource requirements and limitations
  • 8. Project Idea • What can be done? • Trying to find the root cause of inefficiencies in online mobile games in terms of memory usage, data usage and performance. • Approach • Data Collection • Analysis • Recommendation
  • 9. Methodology • Game States • Experiment Setup • Games • Tools • Test Subjects • Test Cases • Testing Steps and Analysis Approach
  • 12. Games andTools • Farm Heroes Saga • Social • 2048 • Casual • ARO • Wakelock Detector • PowerTutor • Usemon • Greenify
  • 13. Test Design • No need of test subjects Description Network Channel 1 Game Screen On, Idle No Internet/Wi-Fi/LTE 2 Game Playing No Internet/Wi-Fi/LTE 3 Ad Statistics Wi-Fi/LTE 4 App in background Wi-Fi/LTE
  • 14. Test Execution • Execution steps • Close all running apps usingGreenify • Connect phone to laptop running ARO via USB • Start ARO data collector • Begin playing the game for 5 mins • Analyze test report • Metrics • Data transfer (bytes/sec) • Energy Consumption (J) • Energy Efficiency (J/sec)
  • 16. High RAM Usage • More than 1 GB of RAM used while playing 2048 and Farm Saga.
  • 17. High Battery Consumption • While playing 2048 and Farm Saga • 9% (59% to 52%) in about 9 mins • Hence – Full battery drain in 100 mins
  • 18. Unexpected High Data Usage • 2048 & Farm Saga Using high data in LTE
  • 19. Performance Slowdown • High CPU Usage • High GPU Usage
  • 20. Findings: Foreground - Idle • Screen ON • Farm Saga - Overrides default screen timeout • 2% (210 J) battery drain in 5 mins • RRC States • Too many UDP connection requests for NoInternet • Unnecessary RRC state transition • NoInternet - DCH 38.91% , FACH 43.66% • Connection Bursts Grouping • Multiple bursts for 2048 and Farm Saga • Connection grouping can save power
  • 21. Findings: Foreground - Playing • Connection Closing – Energy wastage in connection control • Farm Saga – Avg. 25% energy (16.9 J – 84.5 J) wasted • 2048 – Avg. 50% enery (37.9 J – 161 J) wasted • DuplicateTCP Content • Farm Saga – 29% duplicate data • 50% cache header absent
  • 22. Findings: Background •2048 – No requests to game or ad server •Farm Saga • 17 requests to game server • 6 requests to FB server in 5 mins
  • 23. Ad Stats • Uncompressed Files • Javascript, HTML, CSS and text files should be minified • CSS Rule “display:none;” • Content not displayed on page should be removed from HTML • Probable Ad Fraud • Heuristic to detect the game session end Row Labels Request s per domain Sum of Byte Count Sum of Pack et Coun t ads.get.it 3 131530 264 ads.mopub.com 6 5899 32 android.clients.google.com 2 8088 31 cpp-test.imp.mpx.mopub.com 3 3773 22 get.it 6 5607 51 in.metamx.com 3 3697 21 play.googleapis.com 3 384 6 rtb-05.get.it 5 4966 41 GrandTotal 31 163944 468 Domains Accessed (2048 Gameplay)
  • 24. Wakelocks • HTTPS Connections User Privacy • Wakelocks should not be misused. • If there is no user interaction turn off screen
  • 25. Challenges Faced • ARO test error • No impact • PCAP file analysis giving error • Wireshark • ADB and drivers issue • Phone restart • No issue on rooted phone • Game data isolation • IP addresses from trace • Unavailability of a good sensor tool • Usemon
  • 26. FutureWork • Game Code Analysis • Other types of games • Code Offloading • iOS Devices • Recommendation Implementation • Study Other Resources
  • 27. Recommendations • Multiple connection bursts should be grouped together • TCP connections should be closed promptly after data transfer • Cache Control should be implemented properly • No requests to game server or ad server when in background • Minification of files • “display:none;” - Remove not displayed content from page • No requests to ad server when the game in progress • Wakelock should not be misused
  • 28. Conclusion • Industry perspective • Better games and efficient resource consumption • Increase in games usage and revenues • End-user perspective • Controlled data usage • Better performance • Better battery life