1. Command Horizons: Coalescing Data Dependencies While Maintaining Asynchronicity
- Author
-
Peter Thoman and Philip Salzmann
- Subjects
task graph ,asynchronicity ,command generation ,dependency tracking ,gpu cluster - Abstract
Slides for our presentation on command horizons at WAMTA 2023. Abstract In runtime systems for distributed memory parallel computing which automatically manage dependencies and data transfers, a fundamental trade-off exists between the fidelity of dependency tracking and the overhead incurred by its implementation. Precise tracking of data state allows for effective scheduling, which can leverage opportunities for compute and transfer parallelism. However, it also induces more overhead, and with some data access patterns this overhead can grow with e.g. the number of iterations of an algorithm. We present the concept of command horizons, which allow coalescing of previous fine-grained tracking information while maintaining an easily configurable scheduling window with full information precision. Furthermore, they enable consistent cluster-wide decision points without requiring any inter-node communication, and effectively cap the size of state tracking data structures even in the presence of problematic access patterns. Experimental evaluation on microbenchmarks demonstrates that horizons are effective in keeping the scheduling complexity constant, while their own overhead is negligible -- below $10 \mu s$ per horizon when building a command graph for 512 GPUs. We additionally demonstrate the performance impact of horizons -- as well as their low overhead -- on a real-world application.  
- Published
- 2023
- Full Text
- View/download PDF