System-wide Memory Management for Linux Embedded …

System-wide Memory Management for Linux Embedded Systems

Revision 1.0

Presented by: Howard Cochran cochran@ Lexmark International

at: Embedded Linux Conference February, 2013

Agenda

The Problem:

? How Linux kernel manages memory

? Memory challenges in Lexmark devices

? Limitations of glibc malloc for embedded

Our Solution:

? membroker service ? ANR malloc & gmalloc ? track_fs

We're publishing these as Free (Libre) Software!

? Configuration

Q&A

Embedded Linux Conference 2013

2

Memory Use ? No memory pressure

Locked in RAM

Locked in RAM - Unevictable Kernel RAM Locked in RAM - Anonymous RAM (Evictable) Kernel slab cache (Evictable) Mapped Page Cache (Evictable) Unmapped Page Cache & Buffers Unused

Embedded Linux Conference 2013

3

Memory Use ? Light Pressure

Locked in RAM

Locked in RAM - Unevictable Kernel RAM Locked in RAM - Anonymous RAM (Evictable) Kernel slab cache (Evictable) Mapped Page Cache (Evictable) Unmapped Page Cache & Buffers Unused

Embedded Linux Conference 2013

4

Memory Use ? Anonymous Growing

Locked in RAM

Locked in RAM - Unevictable Kernel RAM Locked in RAM - Anonymous RAM (Evictable) Kernel slab cache (Evictable) Mapped Page Cache (Evictable) Unmapped Page Cache & Buffers Unused

Embedded Linux Conference 2013

5

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download