Deepin presents research on adapting Linux page caching to different workloads

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.
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.