A Framework for Optimizing CPU-iGPU Communication on Embedded Platforms
Francesco Lumpp, Hiren Patel, Nicola Bombieri · Proceedings - ACM IEEE Design Automation Conference · 2021
Many modern programmable embedded devices contain CPUs and a GPU that share the same system memory on a single die. Such a unified memory architecture allows the explicit data copying between CPU and integrated GPU (iGPU) to be eliminated with the benefit of significantly improving performance and energy savings. However, to enable such a “zero-copy” communication model, many devices either implement intricate cache coherence protocols or they may disable the last level caches. This often leads to strong performance degradation of cache-dependent applications, for which CPU-iGPU data transfer based on standard copy remains the best solution. This paper presents a framework based on a performance model, a set of micro-benchmarks, and a novel zero-copy communication pattern to accurately estimate the potential speedup a CPU-iGPU application may have by considering different communication models (i.e., standard copy, unified memory, or pinned “zerocopy”). It shows how the framework can be combined with standard profiler information to efficiently drive the application tuning for a given programmable embedded device.
Cited by 5 works. doi:10.1109/dac18074.2021.9586304
Authors
References
- ORB-SLAM2: An Open-Source SLAM System for Monocular, Stereo, and RGB-D Cameras
- Professional CUDA C Programming
- An Evaluation of the NVIDIA TX1 for Supporting Real-Time Computer-Vision Workloads
- A SURVEY OF TECHNIQUES FOR MANAGING AND LEVERAGING CACHES IN GPUs
- Selective GPU caches to eliminate CPU-GPU HW cache coherence
- The landscape of GPGPU performance modeling tools
- Centroid estimation for a Shack–Hartmann wavefront sensor based on stream processing
- HMG: Extending Cache Coherence Protocols Across Modern Hierarchical Multi-GPU Systems
- Performance Optimisation of Parallelized ADAS Applications in FPGA-GPU Heterogeneous Systems: A Case Study With Lane Detection
- Convoy tracking for ADAS on embedded GPUs