Paper summary
Pair training jobs by their active and idle periods
Two training jobs can share a GPU more effectively when their work fits into each other’s idle periods.
Distributed training alternates GPU computation with idle periods such as communication. Xonar profiles those periods and peak GPU memory, then uses them to choose which queued jobs should run together.
Filter by memory, then match activity
The profiler instruments TensorFlow operations to measure active and idle duration. The orderer first excludes jobs that do not fit the remaining memory, then selects a partner with a complementary active-to-idle ratio.
View full-size figureCompare completion time and memory failures
The TensorFlow 1.6 benchmark profiled 600 image-classification configurations on two 32 GB V100s. In 50 runs with queues of ten sampled jobs, Xonar brought the 99th-percentile completion time to 736 seconds, versus 1,317 seconds for serial training and 1,083 seconds for ordinary parallel training. Ordinary parallel training hit out-of-memory errors in 15.2% of cases; Xonar avoided them in the corresponding tests.
| Comparison | Reduction |
|---|---|
| Versus serial training | Up to 43.6% |
| Versus ordinary parallel training | Up to 13.7% |
Key takeaways
- Good job pairs are complementary over time. Profiling exposes opportunities that queue order alone cannot identify.
- Complementarity is useful only within memory capacity. Filtering by peak memory keeps the pairing decision grounded in whether the jobs can coexist.