移动设备的向量处理:基准测试与分析
Vector-Processing for Mobile Devices: Benchmark and Analysis
AI总结:
本文提出面向移动应用的向量处理基准测试套件Swan,通过分析性能、功耗与能耗,揭示了向量处理在缓存压力、精度与命中率、指令级并行限制及与GPU对比等方面的特性,并总结出五种主导计算模式。
摘要:
向量处理在当今的CPU微架构中已变得司空见惯。向量指令提高了性能与能效,这对于资源受限的移动设备至关重要。目前,研究界缺乏一套全面的基准测试套件来研究向量处理对移动设备的益处。本文提出了Swan——一个针对移动应用的广泛向量处理基准测试套件。Swan包含来自四个常用移动应用的一组多样化的数据并行工作负载:操作系统、网页浏览器、音视频消息应用和PDF渲染引擎。利用Swan基准测试套件,我们对向量化工作负载的性能、功耗和能耗进行了详细分析,并表明:(a)由于内存请求速率更高,向量化内核增加了对缓存层次结构的压力。(b)对于具有较低精度操作和较高缓存命中率的工作负载,向量处理更为有益。(c)有限的指令级并行性以及对多维数据结构的跨步内存访问,阻碍了向量处理收益随更多SIMD功能单元和更宽寄存器而扩展。(d)尽管计算吞吐量低于特定领域加速器(如GPU),但对于操作数较少的内核,向量处理仍优于这些加速器。最后,我们展示了移动数据并行工作负载中主导执行时间的五种常见计算模式。
英文摘要:
Vector processing has become commonplace in today's CPU microarchitectures. Vector instructions improve performance and energy which is crucial for resource-constraint mobile devices. The research community currently lacks a comprehensive benchmark suite to study the benefits of vector processing for mobile devices. This paper presents Swan-an extensive vector processing benchmark suite for mobile applications. Swan consists of a diverse set of data-parallel workloads from four commonly used mobile applications: operating system, web browser, audio/video messaging application, and PDF rendering engine. Using Swan benchmark suite, we conduct a detailed analysis of the performance, power, and energy consumption of vectorized workloads, and show that: (a) Vectorized kernels increase the pressure on cache hierarchy due to the higher rate of memory requests. (b) Vector processing is more beneficial for workloads with lower precision operations and higher cache hit rates. (c) Limited Instruction-Level Parallelism and strided memory accesses to multi-dimensional data structures prevent vector processing benefits from scaling with more SIMD functional units and wider registers. (d) Despite lower computation throughput than domain-specific accelerators, such as GPU, vector processing outperforms these accelerators for kernels with lower operation counts. Finally, we show five common computation patterns in mobile data-parallel workloads that dominate the execution time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。