Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Per-cgroup Swap Device Control

Linux Plumbers Conference via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the technical challenges and proposed solutions for implementing per-cgroup swap device control in the Linux kernel through this conference talk from the Linux Plumbers Conference. Learn about the motivation for enabling cgroup-level control over swap devices, particularly for scenarios where background processes need to use slower network-backed swap devices while foreground processes utilize faster local storage. Discover the comparison between alternative approaches including per-cgroup swap priority, swap device control on block devices, swap tiering, and per-cgroup dedicated swap devices. Examine the implementation challenges including required changes in percpu clusters and swap fast paths, consistency with cgroup parent-child semantics, NUMA autobind interaction complexities, and considerations for per-cgroup swap tier limits. Understand the ongoing development process and open design questions that emerged from RFC to PATCH discussions, including tier mask calculation trade-offs, handling of tier mismatches between parent and child cgroups, and migration strategies for swap-out pages. Gain insights into the technical requirements for restricted environments where idle devices serve as extended swap memory and the kernel-level modifications needed to support this functionality.

Syllabus

Per-cgroup Swap Device Control - Chris Li (Google), YoungJun Park (LG Electronics)

Taught by

Linux Plumbers Conference

Reviews

Start your review of Per-cgroup Swap Device Control

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.