YoVDO

Evolving the Go Memory Manager's RAM and CPU Efficiency

Offered By: Gopher Academy via YouTube

Tags

GopherCon Courses Memory Management Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore recent improvements to the Go memory manager in this GopherCon 2020 talk by Michael Knyszek. Dive into the runtime's enhanced responsiveness in releasing unused memory and the increased scalability of the memory allocator. Gain insights into the inner workings of the Go runtime, examine motivating examples, and learn about the challenges encountered during implementation. Discover how these changes may impact the performance of Go applications. While a basic understanding of operating systems concepts is beneficial, the talk introduces necessary concepts for clarity. Cover topics such as dynamic memory allocation, heap memory lifecycle, allocation policies, scenarios involving large allocations and heap spikes, lock collapse, bitmap implementation, page caching, and bitmap summarization. Walk away with a deeper understanding of Go runtime functionality and its potential effects on application performance.

Syllabus

Intro
Overview
Orientation
Dynamic Memory Allocation
The Heap Memory "Lifecycle"
Talking policy
Scenario: Large allocation to fragmented heap
Picking a policy
Scenario: Heap Spikes
Lock collapse
Bitmaps!
Caching pages
Summarizing the bitmap
Takeaways


Taught by

Gopher Academy

Related Courses

A Holistic Go Experience
Gopher Academy via YouTube
Safe, Fast, and Easy - Building a Plugin System with WebAssembly
Gopher Academy via YouTube
A Journey Through Integration Testing with Go - What Could Go Wrong?
Gopher Academy via YouTube
Kraken Wrangling for Dummies - Go Module Dependency Management at Scale
Gopher Academy via YouTube
Go, the Data Engineer's Missing Tool?
Gopher Academy via YouTube