30-line patch speeds up PhysX 5 robotics simulation 1.63x; still unfixed in SDK 5.13.0
YouJiacheng · x · 2026-11-28
While profiling CPU robotics simulation built on PhysX 5.3.1 (SAPIEN 3 / RoboTwin with dual-arm ALOHA), the author found 35%–45% of total CPU time spent propagating strictly zero impulses from speculative contacts. The root cause: two compounding bugs in PhysX 5's CPU Featherstone TGS solver — zero-impulse propagation and a sticky mJointDirty flag — both still present in the latest PhysX SDK 5.13.0 (Nov 2026).
Using the exact build setup of the upstream precompiled baseline, a minimal C++ fix (+73/-103, net -30 LOC) delivers:
- 1.27x–1.63x speedup across all 50 real tasks (up to 1.63x on heavy-contact cases)
- 20-thread throughput up from 818.5 to 1086.5 acts/s (1.33x)
- 50/50 strict bitwise parity with stock PhysX 5.3.1 — zero numerical approximation
A ready-to-apply fix for any team doing CPU-based robot simulation training.
More from Embodied
- China accounted for 59% of ~603,000 industrial robot installs in 2025: IFR — ingliguori · 2026-11-28
- Minimalist AI keyboard unboxing goes viral: manual just says "Plug it in, there is no step 2" — MaziyarPanahi · 2026-11-28
- Chart Shows Waymo Loses More as It Expands; Poster Claims Tesla Has No Robotaxi Competition — JHochderffer · 2026-11-28
- 1X NEO home robot buyers complain of orders stuck with no delivery or refund — kscottz · 2026-11-28
- Self-upgrading embodied agent: 27B model rewrites its own weights overnight, no gradients needed — jerry_zzz · 2026-11-28
- Cairn Steers Frozen VLAs with 3D Trajectory Priors, Lifting LIBERO Success from 24.5% to 95.1% — ___Mufasaa · 2026-11-28