Linux Rendu Ermai Memory Management Online WeChat Group Live Registration (2018.1.29-2.2)

This is the second thread of Teacher Song Baohua's "Second Threads of Linux: Process Scheduling and Memory Management", and the CSDN recording of the first thread "Getting through the Linux Thread Series: Processes, Threads and Scheduling" is located at: http://edu. csdn.net/huiyiCourse/series_detail/60?utm_source=wx2


This memory management live broadcast is in the form of WeChat group.

640?wx_fmt=png&wxfrom=5&wx_lazy=1



Live broadcast time:  2018.1.29-2.2, a total of five nights from 9:00 to 10:00.


Live format :

WeChat group picture, voice, and Q&A mode (constant screenshots + animation + voice, children's shoes in question can ask questions in the group at any time).


Outline:

1

Hardware principle and paging management

  1. CPU addressing memory, virtual address, physical address

  2. MMU and RWX permissions, kernel and user mode permissions

  3. Memory zones: DMA, Normal and HIGHMEM

  4. Linux memory management Buddy algorithm

  5. Contiguous Memory Allocator (CMA)

2

Dynamic allocation and release of memory

  1. slab 、 kmalloc / kfree 、 / proc / slabinfo 和 slabtop

  2. The relationship between user space malloc/free and the kernel

  3. mallopt

  4. vmalloc

  5. Out of memory (OOM), oom_score and oom_adj

  6. Android process life cycle and OOM

3

Process memory consumption and leaks

  1. The VMA of the process.

  2. 4 concepts of process memory consumption: vss, rss, pss and uss

  3. Several possibilities of page fault, major and minor

  4. How to define application memory leaks

  5. Application memory leak detection methods: valgrind and addresssanitizer


4

Swapping of memory and I/O

  1. caching page

  2. Detailed explanation of free command

  3. read、write和mmap

  4. file-backed pages and anonymous pages

  5. swap and zRAM

  6. Page Reclamation and LRU

5

Other engineering issues and tuning

  1. DMA and cache coherence

  2. memory cgroup

  3. Performance tuning: page in/out, swapin/out

  4. Some settings of Dirty ratio

  5. swappiness



Registration method (add WeChat Linuxpsmm as a friend), send a registration red envelope, and join the live broadcast group:

Registration red envelope 2017.12.31-2018.1.10 333 yuan

Registration red envelope 2018.1.11-2018.1.17 380 yuan

Registration red envelope 2018.1.18-2018.1.27 420 yuan

Sign up for red envelopes 2018.1.28- 499 yuan

0?wx_fmt=png

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325172540&siteId=291194637