标题: | 研究档案同步操作的延迟时间对安卓应用程式反应时间的影响 A Study of the effect of file synching latency on Android App GUI response |
作者: | 陈柏宏 Chen, Po-Hung 张立平 Chang, Li-Pin 资讯科学与工程研究所 |
关键字: | 安卓应用程式;自动化量测;应用程式回播;Android application;automatic measurement;application replay |
公开日期: | 2014 |
摘要: | 我们发现目前通用的安卓应用程式(Android Applications)在运作过程中,会发出很大量的档案同步动作,我们相信此行为会直接或间接的影响到应用程式的执行流畅度亦或是执行时的反应时间长短。本研究是透过使用自动化以及量化的方式来量测档案同步动作对应用程式执行流畅度以及反应时间的影响。我们量测的角度有二:执行时间以及画面更新频率。而我们在量测的过程中发现几点与档案同步操作息息相关的议题:(a) 应用程式的主线程或称使用者介面线程被耗时的工作卡住。(b) 应用程式使用者介面线程与档案读写线程存在相依性。(c) 档案同步动作存在造成全域阻塞的可能性。我们发现在实验结果的部分,回播时间上,使用加速档案同步操作的档案系统得到的时间改善较原始档案系统少了17%之多。流畅度的部分,使用加速档案同步操作的档案系统在不可避免的application frame rate下降发生时,恢复正常的时间也较原始系统减少24%。 Android applications frequently call file synching operations, under which the application response becomes sluggish. This study aims at a quantitative approach of measuring how the performance of file synching has impact on application response. The impact is quantified in terms of application execution time and frame per second. We used three popular Android applications and measured their response under different file synching implementations, and we have three basic findings: (angel) An application could have its UI thread directly stuck by file synching operations, (beer) the UI thread of an application could depend on another thread that performed file synching operations, and (coffee) an application could be blocked when another application is doing file synching in background. We also found that an efficient fsync() implementation reduced the application execution by 17% and reduced the total less-than-target application frame rate time by 24%. |
URI: | http://140.113.39.130/cdrfb3/record/nctu/#GT070156080 http://hdl.handle.net/11536/76093 |
显示于类别: | Thesis |