首页> 外文学位 >Stream Processing Optimizations for Mobile Sensing Applications
【24h】

Stream Processing Optimizations for Mobile Sensing Applications

机译:移动传感应用的流处理优化

获取原文
获取原文并翻译 | 示例

摘要

Mobile sensing applications (MSAs) are an emerging class of applications that process continuous sensor data streams to make time-sensitive inferences. Representative application domains range from environmental monitoring, context-aware services to recognition of physical activities and social interactions. Example applications involve city air quality assessment, indoor localization, pedometer and speaker identification. The common application workflow is to read data streams from the sensors (e.g, accelerometers, microphone, GPS), extract statistical features, and then present the inferred high-level events to the user. MSAs in the healthcare domain especially draw a significant amount of attention in recent years because sensor-based data collection and assessment offer finer-granularity, timeliness, and higher accuracy in greater quantity than traditional, labor-intensive, data gathering mechanisms in use today, e.g., surveys methods. The higher fidelity and accuracy of the collected data expose new research opportunities, improve the reliability and accuracy of medical decisions, and empower users to manage personal health more effectively.;Nonetheless, a critical challenge to practical deployment of MSAs in real-world is to effectively manage limited resources of mobile platforms to meet stringent quality of service (QoS) requirements in terms of processing throughput and delay while ensuring long term robustness. To address the challenge, we model MSAs in dataflows as a graph of processing elements that are connected by communication channels. The processing elements may execute in parallel as long as they have sufficient data to process. A key feature of the dataflow model is that it explicitly capture parallelism and data dependencies between processing elements. Based on the graph composition, we first proposed CSense, a stream-processing toolkit for robust and high-rate MSAs. In this work, CSense provide a simple language for developers to describe their sensing flow without the need to deal with system intricacy, such as memory allocation, concurrency control and power management. The results show up to 19X performance difference may be achieved automatically compared with a baseline using the default runtime concurrency and memory management.;Following this direction, we saw the opportunities that MSAs can be significantly improved from the perspective of memory performance and energy efficiency in view of the iterative execution. Therefore, we next focus on optimizing the runtime memory management through compile time analysis. The contribution is a stream compiler that captures the whole program memory behavior to generate an efficient memory layout for runtime access. Experiments show that our memory optimizations reduce memory footprint by as much as 96% while matching or improving the performance of the StreamIt compiler with cache optimizations enabled.;On the other hand, while there is a significant body of work that has focused on optimizing the throughput or latency of processing sensor streams, little to no attention has been given to energy efficiency. We proposed an accurate offline energy prediction model for MSAs that leverages the pipeline structure and iterative execution nature to search for the most energy saving batching configuration w.r.t. a deadline constraint. The developers are expected to visualize the energy delay trade-off in the parameter space without runtime profiling. The evaluation shows the worst-case prediction errors are about 7% and 15% for energy and latency respectively despite variable application workloads.
机译:移动感测应用程序(MSA)是一类新兴的应用程序,可以处理连续的传感器数据流以做出对时间敏感的推断。代表性的应用程序范围从环境监控,上下文感知服务到体育活动和社交互动的识别。示例应用程序包括城市空气质量评估,室内定位,计步器和扬声器识别。常见的应用程序工作流程是从传感器(例如,加速度计,麦克风,GPS)读取数据流,提取统计特征,然后将推断出的高级事件呈现给用户。近年来,医疗领域的MSA特别受到关注,因为与当今使用的传统的劳动密集型数据收集机制相比,基于传感器的数据收集和评估能够提供更细粒度,及时性和更高的准确性,例如调查方法。所收集数据的更高保真度和准确性暴露了新的研究机会,提高了医疗决策的可靠性和准确性,并使用户能够更有效地管理个人健康。然而,在现实世界中实际部署MSA的关键挑战是:有效地管理移动平台的有限资源,以满足处理吞吐量和延迟方面的严格服务质量(QoS)要求,同时确保长期稳定性。为了解决这一挑战,我们将数据流中的MSA建模为通过通信通道连接的处理元素的图形。只要处理元素具有足够的数据进行处理,它们就可以并行执行。数据流模型的一个关键特征是它明确捕获处理元素之间的并行性和数据依赖性。基于图的组成,我们首先提出了CSense,这是一种用于鲁棒和高速率MSA的流处理工具包。在这项工作中,CSense为开发人员提供了一种简单的语言来描述他们的感知流程,而无需处理诸如内存分配,并发控制和电源管理等系统复杂性。结果显示,使用默认的运行时并发和内存管理功能,与基线相比,可以自动实现高达19倍的性能差异;遵循这一方向,我们看到了从内存性能和能源效率的角度来看,可以显着改善MSA的机会。迭代执行的视图。因此,我们接下来将重点放在通过编译时间分析来优化运行时内存管理。贡献者是一个流编译器,它捕获了整个程序的内存行为,以生成用于运行时访问的有效内存布局。实验表明,我们的内存优化可在启用或启用缓存优化的同时匹配或提高StreamIt编译器的性能的同时,将内存占用减少多达96%;另一方面,尽管有大量工作致力于优化吞吐量或处理传感器流的延迟,几乎没有关注能源效率。我们为MSA提出了一种精确的离线能源预测模型,该模型利用管道结构和迭代执行性质来搜索最节能的批处理配置。期限限制。期望开发人员在不进行运行时性能分析的情况下,在参数空间中可视化能量延迟的权衡。评估显示,尽管应用程序工作负载变化,最坏情况下的能量和延迟预测误差分别约为7%和15%。

著录项

  • 作者

    Lai, Farley.;

  • 作者单位

    The University of Iowa.;

  • 授予单位 The University of Iowa.;
  • 学科 Computer science.
  • 学位 Ph.D.
  • 年度 2017
  • 页码 142 p.
  • 总页数 142
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号