RubyConf 2021 - Optimizing Ruby's Memory Layout by Peter Zhu & Matt Valentine-House

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=3c7ijPD6Jlk



Duration: 27:29
67 views
1


Ruby’s current memory model assumes all objects live in fixed size slots. This means that object data is often stored outside of the Ruby heap, which has implications: an object's data can be scattered across many locations, increasing complexity and causing poor locality resulting in reduced efficiency of CPU caches.

Join us as we explore how our Variable Width Allocation project will move system heap memory into Ruby heap memory, reducing system heap allocations and giving us finer control of the memory layout to optimize for performance.




Other Videos By Confreaks


2022-08-09RubyConf 2021 - A History of Compiling Ruby by Chris Seaton
2022-08-09RubyConf 2021 - Async Ruby by Bruno Sutic
2022-08-09RubyConf 2021 - This is not a talk about airplane crashes by Andromeda Yelton
2022-08-09RubyConf 2021 - Debugging Product Teams by Amy Newell
2022-08-09RubyConf 2021 - Parallel testing with Ractors - Putting CPU's to work by Vinicius Stock
2022-08-09RubyConf 2021 - Optimizing Production Performance with MRI JIT by Takashi Kokubun
2022-08-09RubyConf 2021 - The Intro to Abstraction I Wish I'd Received by Stephanie Minn
2022-08-09RubyConf 2021 - Perceptual Learning == More Ruby Experts? by Stefanni Brasil
2022-08-09RubyConf 2021 - Dungeons and Collaboration by Rolen Le
2022-08-09RubyConf 2021 - Beware the Dreaded Dead End!! by Richard Schneeman
2022-08-09RubyConf 2021 - Optimizing Ruby's Memory Layout by Peter Zhu & Matt Valentine-House
2022-08-09RubyConf 2021 - Hello, computer. Writing Ruby with voice recognition by Nat Budin
2022-08-09RubyConf 2021 - Managing Out: Strategies for Leveling Up by Mina Slater
2022-08-09RubyConf 2021 - Minimize Your Circus Factor: Building resilient teams by Mercedes Bernard
2022-08-09RubyConf 2021 - Control methods like a pro: A guide to Ruby's awesomeness, ... by Masafumi Okura
2022-08-09RubyConf 2021 - Engineering at Root by Maria Moore
2022-08-09RubyConf 2021 - Harness the power of functions to build composable rack applications by Marc Busqué
2022-08-09RubyConf 2021 - How to stop breaking other people's things by Lisa Karlin Curtis
2022-08-09RubyConf 2021 - Why Did We Rewrite Our Main Product Four Times? by Leon Hu
2022-08-09RubyConf 2021 - Using Monads for Elegant Error Handling by John Gallagher
2022-08-09RubyConf 2021 - Picoruby and PRK Firmware by Hitoshi Hasumi