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
https://hackmd.io/ByeBpmlUGl
Feedback
https://coscup.org/2026-feedback/?session=DRAXDG
Slide
https://docs.google.com/presentation/d/1gLS35SSzTwDWK4bZTwE6pE51T14pM6_5LjePeisMQmk/edit?usp=sharing
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

Cumulative4 YrsCanonical

Gold

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

Silver

Cumulative16 YrsGamesofa Inc.Cumulative3 YrsLinux Professional Institute

Bronze

Collaborator2 YrsKKTIXCumulative3 YrsNational Center for High-performance ComputingONLYOFFICECumulative6 YrsQNAP Systems, Inc.Consecutive16 YrsThe Archilife Research FoundationSUN SQUARE Co., LtdPenpeer

Friend

Consecutive3 YrsAndes Technology CorporationCumulative12 YrsAppierCumulative3 YrsGeode Labs & ETHTaipei

Special Thanks

Consecutive2 YrsDepartment of Information Technology, Taipei City GovernmentCollaborator3 YrsSiFive數位發展部Rozeta AIGrafana LabsLive YoungCollaborator5 YrsThree Wheel Nitro CoffeeCollaborator9 YrsHackmdCollaborator4 Yrs天瓏書局Collaborator3 YrsTapPayIndividual-Sponsorship

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