Introduction
Modern data centers face a significant challenge in monitoring massive network infrastructures. Measuring every network path continuously is prohibitively expensive due to high overhead. Consequently, engineers often employ "sparse monitoring," where only a subset of paths or time intervals are measured, and the remaining data is inferred.
While matrix completion is a standard tool for such inference, it often fails to capture the complex, multi-dimensional relationships inherent in network traffic, such as the interplay between specific node pairs, time of day, and weekly periodicity. Tensor completion, which utilizes higher-order arrays, offers superior accuracy but is computationally intensive. Standard algorithms are typically too slow for real-time network management at scale. This paper introduces GPU-TC, a high-performance framework designed to accelerate tensor completion using Graphics Processing Units (GPUs).
The GPU-TC Framework
GPU-TC parallelizes Stochastic Gradient Descent (SGD) for tensor factorization by leveraging four key techniques:
- Grid-based Tensor Partitioning: Large traffic tensors are "gridded" into smaller sub-tensors, allowing multiple GPU threadblocks to process data simultaneously without interference.
- Independent Task Assignment: To maintain the randomness required for SGD convergence, a parallelized Fisher-Yates shuffle assigns sub-tasks to GPU blocks in a random sequence for each epoch.
- Hardware-Aware Scheduling: To minimize slow global memory transfers, the framework uses a "Latitude first, Longitude second" (LALO) sequence. This ensures that the GPU reuses data within its fast on-chip shared memory.
- Low-level SIMD Parallelism: SGD update rules are decomposed into vector operations, utilizing the GPU’s Single Instruction Multiple Data (SIMD) architecture to process multiple factor matrix elements concurrently.
Experimental Evaluation
The authors evaluated GPU-TC using real-world backbone network traces (Abilene and GEANT) and massive synthetic datasets (up to 2888 x 1680 x 1440).
Key Results
- Performance Gains: GPU-TC achieves a 60–180x speedup over traditional CPU-based tensor completion algorithms like CP-WOPT.
- Accuracy and Robustness: Compared to matrix-based methods, GPU-TC significantly reduces relative error, particularly when missing data ratios are high (60-80%). Notably, in scenarios with 50 minutes of consecutive data loss where matrix methods fail, GPU-TC recovers data with low error (0.13–0.36).
- Scalability: The framework demonstrates strong multi-GPU scaling, with a 2-GPU configuration providing a 1.6–1.8x speedup over a single GPU.
Conclusion and Future Work
The success of GPU-TC stems from hardware-algorithm co-design. By restructuring tensor completion to fit the GPU's memory hierarchy and maintaining stochastic randomness through parallel shuffling, the framework enables real-time, accurate recovery of network data.
Future research may explore higher-order tensors to incorporate features like protocol types or application data, as well as dynamic tensors that adapt to evolving network topologies. Additionally, investigating other parallel optimization techniques, such as Alternating Least Squares (ALS), could further enhance performance.
Summary updated