Boosting Software Efficiency in C++: 100% Performance Improvement in a C++ Embedded System
Talkat CppCon 2024 · on Friday, 2024-09-20· at 10:30· Cottonwood 2/3, 6700 North Gaylord Rockies Boulevard·
summary
Claims a reproducible 100% throughput gain — device goes from unstable at ~5,000 endpoints to supporting 10,000 with zero resets or data loss. Implements Linux C++/Qt fixes: a custom memory profiler (overrides new/delete), a lightweight simulator that multiplies real frames to reproduce load, message chunking and static buffers, nonvolatile queue to decouple logic and network, and 24/7 automated system tests and monitoring — all engineered changes and numbers are reported as working.
AI-written summary · about
chapters (11)
- 0:00Introduction and context
- 2:48Initial debugging efforts
- 7:07Developing a memory profiler
- 12:36Reproducing and solving crashes
- 20:25Architectural improvements
- 24:24Log analysis and diagnostics
- 27:08Addressing data loss
- 30:48Fixing hardware communication
- 35:04Proactive monitoring
- 39:15Testing and validation
- 43:30Conclusions and takeaways
related talks
01h 00mBuilding Effective Embedded Systems in C++: Architectural Best Practices
44mCompilation Speedup Using C++ Modules: A Case Study
01h 00mIntroduction to Hardware Efficiency in Cpp
01h 05mThe Speed Game: Automated Trading Systems in C++
55mC++ in the World of Embedded Systems
01h 06mUtilize your CPU power
57mDeeply Embedded C++
38mOptimized String Processing in RISC-V: How Toolchain Improvements Can Boost Performance
