Optimizing rav1e Effective profiling techniques and optimization strategies
Channel: FOSDEM
Date: 2020-10-18

by Luca Barbato

At: FOSDEM 2020
https://video.fosdem.org/2020/K.3.401/rust_optimizing_rav1e.webm

rav1e is a fast AV1 encoder written in rust (and plenty of assembly), released monthly.


Since the 0.1.0 release we try to make sure we provide an adequate speed or quality boost compared to the previous.


This talk is about what tools are available in the rust ecosystem and what are the practices that worked best for us.
The presentation will touch the following topics:
- Exploring a codebase and profiling it effectively, both for cpu usage and memory usage.
- Which are the optimization strategies that worked for us better (critical path analysis vs peak consumer)
- Benchmarking and tracing


I'll provide examples on what tools worked well or not so well and what currently I consider the best and most promising tools for each tasks.

Room: K.3.401
Scheduled start: 2020-02-02 10:40:00