Toward accurate network delay measurement on android phones
Measuring and understanding the performance of mobile networks is becoming very important for end users and operators. Despite the availability of many measurement apps, their measurement accuracy has not received sufficient scrutiny. In this paper, we appraise the accuracy of smartphone-based netwo...
Saved in:
Main Authors: | , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2017
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/3782 https://ink.library.smu.edu.sg/context/sis_research/article/4784/viewcontent/08007228.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-4784 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-47842018-03-05T03:26:08Z Toward accurate network delay measurement on android phones LI, Weichao WU, Daoyuan CHANG, Rocky K. C. MOK, Ricky K. P. Measuring and understanding the performance of mobile networks is becoming very important for end users and operators. Despite the availability of many measurement apps, their measurement accuracy has not received sufficient scrutiny. In this paper, we appraise the accuracy of smartphone-based network performance measurement using the Android platform and the network round-trip time (RTT) as the metric. We show that two of the most popular measurement apps-Ookla Speedtest and MobiPerf-have their RTT measurements inflated. We build three test apps that cover three common measurement methods and evaluate them in a testbed. We overcome the main challenge of obtaining a complete trace of packets and their timestamps by using multiple sniffers and frame-based synchronization. Our multi-layer analysis reveals that the delay inflation can be introduced both in the user space and kernel space. The long path of subfunction invocations accounts for the majority of the delay overhead in Android runtime (both Dalvik VM and ART), and the sleeping functions in the drivers are the major source of the delay overhead between the kernel and physical layer. Motivated by the findings, we propose and implement a native app to increase the accuracy of RTT measurement, and its delay inflation in the user space can be kept under 1.5ms for almost all cases. 2017-08-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/3782 info:doi/10.1109/TMC.2017.2737990 https://ink.library.smu.edu.sg/context/sis_research/article/4784/viewcontent/08007228.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Accuracy Android Atmospheric measurements Delays Mobile communication Mobile computing mobile phone Network measurement Particle measurements Smart phones Digital Communications and Networking Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Accuracy Android Atmospheric measurements Delays Mobile communication Mobile computing mobile phone Network measurement Particle measurements Smart phones Digital Communications and Networking Software Engineering |
spellingShingle |
Accuracy Android Atmospheric measurements Delays Mobile communication Mobile computing mobile phone Network measurement Particle measurements Smart phones Digital Communications and Networking Software Engineering LI, Weichao WU, Daoyuan CHANG, Rocky K. C. MOK, Ricky K. P. Toward accurate network delay measurement on android phones |
description |
Measuring and understanding the performance of mobile networks is becoming very important for end users and operators. Despite the availability of many measurement apps, their measurement accuracy has not received sufficient scrutiny. In this paper, we appraise the accuracy of smartphone-based network performance measurement using the Android platform and the network round-trip time (RTT) as the metric. We show that two of the most popular measurement apps-Ookla Speedtest and MobiPerf-have their RTT measurements inflated. We build three test apps that cover three common measurement methods and evaluate them in a testbed. We overcome the main challenge of obtaining a complete trace of packets and their timestamps by using multiple sniffers and frame-based synchronization. Our multi-layer analysis reveals that the delay inflation can be introduced both in the user space and kernel space. The long path of subfunction invocations accounts for the majority of the delay overhead in Android runtime (both Dalvik VM and ART), and the sleeping functions in the drivers are the major source of the delay overhead between the kernel and physical layer. Motivated by the findings, we propose and implement a native app to increase the accuracy of RTT measurement, and its delay inflation in the user space can be kept under 1.5ms for almost all cases. |
format |
text |
author |
LI, Weichao WU, Daoyuan CHANG, Rocky K. C. MOK, Ricky K. P. |
author_facet |
LI, Weichao WU, Daoyuan CHANG, Rocky K. C. MOK, Ricky K. P. |
author_sort |
LI, Weichao |
title |
Toward accurate network delay measurement on android phones |
title_short |
Toward accurate network delay measurement on android phones |
title_full |
Toward accurate network delay measurement on android phones |
title_fullStr |
Toward accurate network delay measurement on android phones |
title_full_unstemmed |
Toward accurate network delay measurement on android phones |
title_sort |
toward accurate network delay measurement on android phones |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2017 |
url |
https://ink.library.smu.edu.sg/sis_research/3782 https://ink.library.smu.edu.sg/context/sis_research/article/4784/viewcontent/08007228.pdf |
_version_ |
1770573731855335424 |