Get the latest tech news

About memory pressure, lock contention, and Data-oriented Design


I illustrate how _Data-oriented Design_ helped to remove annoying memory pressure and lock contention in multiple sorters used in the Matrix Rust SDK. It has improved the execution by 98.7% (53ms to 676µs) and the throughput by 7718.5% (from 18K elem/s to 1.4M elem/s)! I will talk about how the different memories work, how we want to make the CPU caches happy, and how we can workaround locks when they are a performance bottleneck.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Design

Design

Photo of oriented design

oriented design

Photo of contention

contention

Related news:

News photo

This is the ‘iPhone Fold’ design [flip style] that Apple rejected, says leaker [Instant Digital]

News photo

French Nuclear Startups Raise $210 Million to Finish Designs

News photo

Cartographic Symbologies: The Art and Design of Expression in Historic Maps