[Paper Review] P-Cloth: Interactive Complex Cloth Simulation on Multi-GPU Systems using Dynamic Matrix Assembly and Pipelined Implicit Integrators
P-Cloth presents a multi-GPU parallel algorithm for interactive, high-resolution cloth simulation using pipelined sparse matrix-vector multiplication (SpMV), dynamic matrix assembly, and pipelined collision handling with spatial hashing. It achieves 2–5 fps on complex meshes with up to 1.65M triangles by enabling almost linear speedup across 4–8 GPUs, making it the first system to deliver near-interactive performance on commodity multi-GPU workstations.
We present a novel parallel algorithm for cloth simulation that exploits multiple GPUs for fast computation and the handling of very high resolution meshes. To accelerate implicit integration, we describe new parallel algorithms for sparse matrix-vector multiplication (SpMV) and for dynamic matrix assembly on a multi-GPU workstation. Our algorithms use a novel work queue generation scheme for a fat-tree GPU interconnect topology. Furthermore, we present a novel collision handling scheme that uses spatial hashing for discrete and continuous collision detection along with a non-linear impact zone solver. Our parallel schemes can distribute the computation and storage overhead among multiple GPUs and enable us to perform almost interactive simulation on complex cloth meshes, which can hardly be handled on a single GPU due to memory limitations. We have evaluated the performance with two multi-GPU workstations (with 4 and 8 GPUs, respectively) on cloth meshes with 0.5-1.65M triangles. Our approach can reliably handle the collisions and generate vivid wrinkles and folds at 2-5 fps, which is significantly faster than prior cloth simulation systems. We observe almost linear speedups with respect to the number of GPUs.
Motivation & Objective
- Address the memory and computational bottlenecks in single-GPU cloth simulation of high-resolution meshes with millions of triangles.
- Overcome the limitations of single-GPU memory capacity and low memory bandwidth for complex cloth simulations with self-collisions and detailed wrinkles.
- Enable interactive simulation (2–8 fps) on commodity multi-GPU workstations by distributing computation and storage across multiple GPUs.
- Develop scalable, low-latency parallel algorithms for implicit time integration and collision handling that minimize data transfer and synchronization overhead.
- Achieve linear scalability in performance and memory usage across multiple GPUs while maintaining robust collision response and realistic cloth dynamics.
Proposed method
- Proposes a pipelined SpMV algorithm that interleaves computation and data transfer across GPUs using a novel work queue generation scheme tailored for fat-tree GPU interconnects.
- Introduces dynamic matrix assembly for sparse stiffness matrices that adapts to changing contact forces during simulation, enabling efficient use with preconditioned conjugate gradient (PCG) solvers.
- Employs spatial hashing for both discrete and continuous collision detection, distributing the workload across GPUs to reduce per-GPU memory usage.
- Designs a parallel non-linear impact zone solver that handles penetrations with minimal synchronization, ensuring stable and realistic collision response.
- Uses a fat-tree GPU interconnect topology with optimized data transfer scheduling to reduce communication latency and improve throughput.
- Integrates all components into a unified multi-GPU pipeline that supports implicit time integration, dynamic matrix updates, and collision resolution in a scalable, load-balanced manner.
Experimental results
Research questions
- RQ1Can a multi-GPU system achieve near-interactive cloth simulation (2–5 fps) on high-resolution meshes with over 1 million triangles?
- RQ2How can dynamic matrix assembly and pipelined SpMV be optimized for fat-tree GPU interconnects to minimize communication overhead and maximize throughput?
- RQ3Can parallel collision detection and response using spatial hashing scale effectively across multiple GPUs while reducing per-GPU memory usage?
- RQ4What level of speedup and scalability can be achieved with 4–8 GPUs compared to single-GPU or CPU-based systems?
- RQ5Is it feasible to maintain simulation stability and realism (e.g., wrinkles, folds, friction) while distributing the computation across multiple GPUs?
Key findings
- P-Cloth achieves 2–5 fps on complex cloth meshes with 0.5–1.65 million triangles using 4–8 GPUs, enabling near-interactive simulation on commodity workstations.
- The system demonstrates almost linear speedup with up to 8.23× improvement on 8 GPUs compared to a single GPU, with 1.4–2.2× speedup over prior multi-GPU SpMV methods.
- Memory usage per GPU is reduced to 4–8 GB, making it feasible to simulate high-resolution meshes that exceed single-GPU memory limits.
- The pipelined SpMV and dynamic matrix assembly techniques show linear scalability with respect to the number of GPUs, enabling efficient utilization of multi-GPU resources.
- Collision handling scales effectively across GPUs, with minimal synchronization overhead, allowing robust simulation of complex self-collisions and folds.
- P-Cloth outperforms prior CPU-based and hybrid CPU-GPU systems by approximately 10× in performance on complex benchmarks, with significantly faster frame rates than systems like Jiang et al. (2017) on similar meshes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.