COSCUP x UbuCon Asia 2026 Logo
  • About
  • Session
  • Transportation
  • Venue
  • Communities
  • Sponsors
    • Participate Guide
    • First Timer
    • Activity
    • Speaker Participation
    • Welcome Party
    • For Overseas Visitors
    • Open Source Communities
    • Sponsorship Partners
    • Invitation Letter Guide
  • Staff
  • Fringe Events / BoF
  • Blog
  • CoC
中文

How the Linux Kernel Observes Page Accesses and Infers the Working Set

Time
2026-08-09 12:10 ~ 12:40
Speaker
曾偉誠
Room
TR409-2
Co-write
Let's Read the Source Code ElementaryMandarin

Abstract

As AI, cloud services, and large-scale applications continue to drive up memory demand, memory usage is no longer merely a capacity concern—it also directly affects system cost and runtime performance. From personal computers and mobile devices to everyday software such as web browsers and Electron applications, excessive memory consumption has become a common concern for both users and developers.

When analyzing a program’s memory usage on Linux, we often begin with metrics such as RSS and PSS. These metrics describe how much of a process’s memory is currently resident in physical memory, but they provide limited insight into which data still belongs to the program’s actual working set. Meanwhile, page hotness has no single, universal definition within the Linux kernel. Instead, the kernel approximates it using signals such as page accesses, aging, reclaim, and refaults.

Through reproducible experiments and kernel tracing, this talk examines the key implementations of Linux Idle Page Tracking, mm/workingset.c, and its MGLRU refault path. We will explore how the kernel observes page accesses, identifies refaults, and turns these signals into working-set inference and reclaim feedback.

Speaker

曾偉誠

曾偉誠

CCU OS Lab

Diamond

Canonical

Gold

Consecutive2 YrsInformation Management AssociationConsecutive2 YrsCathay Financial HoldingsConsecutive5 YrsE.SUN BankCumulative12 YrsMySQLCumulative6 YrsBerry AINitra

Silver

Cumulative16 YrsGamesofa Inc.

Bronze

KKTIXNational Center for High-performance ComputingONLYOFFICEQNAP Systems, Inc.Consecutive16 YrsThe Archilife Research FoundationSUN SQUARE Co., Ltd

Friend

Consecutive3 YrsAndes Technology CorporationAppier

Special Thanks

Consecutive2 YrsDepartment of Information Technology, Taipei City GovernmentSiFiveRozeta AI

Co-host

Collaborator9 YrsNTUST - Department of Electronic and Computer Engineering

Co-organizer

Collaborator12 YrsOpen Culture Foundation

COSCUP x UbuCon Asia 2026

Conference for Open Source Coders, Users, and Promoters | Asia's largest open source community conference.

Contact

  • Attendee Services
  • Sponsorship
  • Call for Proposals
  • Marketing

Resources

  • COSCUP Blog
  • Newsletter Subscription
  • Event Photos

Sitemap

  • Home
  • About
  • Transportation
20062007200820092010201120122013201420152016201720182019202020212022202320242025