Low Latency Rust

What does rust offer for low latency performance optimization? This talk will serve as an introduction and an exploration of performance tuning and what rust offers for engineers working on products with strict performance requirements.

LEVEL: Intermediate

RustLab Deep
40 min
November 11th, 2024


I work on low-latency, high-throughput dataplane optimizations for a 5G packet core. Optimizing against the compute/cache bounds is an awesome challenge but can often be counter-intuitive, with innocuous changes leading to unexpected perf impacts.

Despite using rust for significant portions of our 5G product offering, the most performance critical part is written in C/C++. Curious, I decided to experiment with what rust offers in terms of performance tuning.

My proposal for this talk is an interactive quiz, I want to introduce the audience to a handful of optimizations to a compute-bound rust application and have them guess how those optimizations will impact the application's performance.

The goal is to introduce as many different optimization topics as possible. Topics I'm planning on covering include: benchmarking, profiling, performance counters, pointer chasing, the cache hierarchy, prefetching, branch prediction, runtime polymorphism, rust SIMD support, inlining, prefetching, hardware differences and the impact of memory allocation.

This is intended to be the talk that I wish I'd had when I started work in the performance domain.

RustLab is a conference made by Develer.
Develer is a company based in Campi Bisenzio, near Florence. Our motto is : "Technology to give life to your products". We produce hardware and software to create exceptional products and to improve industrial processes and people's well being.
In Develer we have passion for the new technologies and we offer our clients effective solutions that are also efficient, simple and safe for the end users. We also believe in a friendly and welcoming environment where anybody can give their contribution. This passion and this vision are what we've been driven to organize our conference "made by developers for developers".

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2024 RustLab | The international conference on Rust in Florence-Design & devCantiere Creativo-Made withDatoCMS