BU BÖLÜM HAKKINDA
Page faults occurs when the process tries to access a memory that isn’t backed by a physical page kernel raises a fault which loads a page. It happens on first access, stack expansion, COW, swap and much more. However it comes with a cost.
In this episode of the backend engineering show I dissect the need and the cost page faults in the kernel.
- 0:00 Intro
- 4:00 Virtual memory
- Abstraction of physical memory
- Memory sharing
- Allow more processes to run , unused go to disk
- Numa, kernel can place memory near the cpu
- 12:00 VMA areas
- Text/code
- Data
- BSS
- Heap
- Stack
- 19:50 Kernel mode
- 25:30 What is a Page fault?
- 30:30 First access page fault
- 33:00 Stack Expansion page fault
- 34:30 CoW page fault
- 38:00 Swap page fault
- 39:39 File backed page fault
- 40:29 Permission page fault
- 45:30 Summary
ingilizce
Amerika Birleşik Devletleri
TRANSKRİPT 🔗
Are you the producer of this podcast?
Add a podcast transcript
Need Audio-to-Text?
Transcribe with Listen411 in Just 60 Seconds
SON BÖLÜMLERİ ARA
The Backend Engineering Show with Hussein Nasser için geçmiş bölümleri ara.
BU PODCAST'IN DİĞER BÖLÜMLERİ
Page tables provide the mapping between virtual memory and physical memory for each process. This means it needs to be as efficient and as fast as possible. I explore the inner workings of page tables in this episode.
0:00 Intro
2:00 Virtual Memory
⁃ ⁃ 8:00 MMU
10:00 Page Tables
⁃ ⁃ ⁃ ⁃ …
I wrote a new book that has been in the works for years. It is called Root Cause, and it is for those who enjoy the art of backend engineering.
Early in my career, 20 years ago, I built backend and database applications without fully grasping their inner mechanics. Performance issues, race condit…
In this video I introduce 5 different design patterns for building backend applications. Each mode explains how a socket listener is established, a connections are established and how threads and connections are managed to read, write and process requests.
A discussion about why many engineers still love the struggle, the mistakes, and the process of figuring things out themselves. This is how we grow and get better and stronger. Letting AI do everything (even though it can’t) robs us this feeling..
Feragatname: Bu sayfaya yerleştirilmiş podcast ve sanat eserleri, sahibinin mülkiyetinde olan ve Listen Notes, Inc.'e bağlı olmayan veya tarafından onaylanmayan Hussein Nasser'e aittir.
DÜZENLE
Podcast veritabanını güncel tutmaya yardımcı olduğunuz için teşekkür ederiz.