AITMONDO

Deepin presents research on adapting Linux page caching to different workloads

Overhead circuit-board view. Matching amber tiles and varied cyan tiles follow two traces into small stacks in a translucent central cache.
At a kernel developer conference in Hangzhou, China, deepin presented research on adapting Linux page-cache behavior to different workloads. Schematic AI-generated illustration by AITMONDO.

On November 25, Linux distribution deepin said it had presented research at the China Linux Kernel Developers Conference in Hangzhou on changing page-cache policies to suit different workloads.

Deepin’s approach identifies workload patterns and changes the policy that determines which data should be evicted from the cache for each group.
AITMONDO graphic based on primary sources.

A cache policy for each type of access

The conference took place November 21. Deepin kernel developer Zhao Zhengzhuo said sequential reads and random reads of frequently used data place different demands on what a cache should retain. The proposed approach uses eBPF to switch eviction policies and apply an independent policy to each workload group.

Machine learning identifies workload patterns

The system uses LightGBM to recognize workload patterns and select a suitable policy. It includes mechanisms to limit frequent switching and revert when an error occurs. Deepin reported improved performance in sequential reads and random reads of frequently used data.

Primary sources