eBPF-based Working Set Size Estimation in Memory Management

01/17/2023
by   Zhilu Lian, et al.
0

Working set size estimation (WSS) is of great significance to improve the efficiency of program executing and memory arrangement in modern operating systems. Previous work proposed several methods to estimate WSS, including self-balloning, Zballoning and so on. However, these methods which are based on virtual machine usually cause a large overhead. Thus, using those methods to estimate WSS is impractical. In this paper, we propose a novel framework to efficiently estimate WSS with eBPF (extended Berkeley Packet Filter), a cutting-edge technology which monitors and filters data by being attached to the kernel. With an eBPF program pinned into the kernel, we get the times of page fault and other information of memory allocation. Moreover, we collect WSS via vanilla tool to train a predictive model to complete estimation work with LightGBM, a useful tool which performs well on generating decision trees over continuous value. The experimental results illustrate that our framework can estimate WSS precisely with 98.5% reduction in overhead compared to traditional methods.

READ FULL TEXT
research
02/13/2019

A Low-overhead Kernel Object Monitoring Approach for Virtual Machine Introspection

Monitoring kernel object modification of virtual machine is widely used ...
research
05/30/2020

Memory virtualization in virtualized systems: segmentation is better than paging

The utilization of paging for virtual machine (VM) memory management is ...
research
11/19/2019

Cichlid: Explicit physical memory management for large machines

In this paper, we rethink how an OS supports virtual memory. Classical V...
research
04/12/2020

GAPP: A Fast Profiler for Detecting Serialization Bottlenecks in Parallel Linux Applications

We present a parallel profiling tool, GAPP, that identifies serializatio...
research
07/29/2021

Revisiting Swapping in User-space with Lightweight Threading

Memory-intensive applications, such as in-memory databases, caching syst...
research
01/26/2020

Intel Page Modification Logging, a hardware virtualization feature: study and improvement for virtual machine working set estimation

Intel Page Modification Logging (PML) is a novel hardware feature for tr...
research
07/16/2018

Remaining Useful Life Estimation of Aero-Engines with Self-Joint Prediction of Continuous and Discrete States

The remaining useful life (RUL) estimation generally suffer from this pr...

Please sign up or login with your details

Forgot password? Click here to reset