Unix Memory Allocations are Not Poisson

03/23/2018
by   James Garnett, et al.
0

In multitasking operating systems, requests for free memory are traditionally modeled as a stochastic counting process with independent, exponentially-distributed interarrival times because of the analytic simplicity such Poisson models afford. We analyze the distribution of several million unix page commits to show that although this approach could be valid over relatively long timespans, the behavior of the arrival process over shorter periods is decidedly not Poisson. We find that this result holds regardless of the originator of the request: unlike network packets, there is little difference between system- and user-level page-request distributions. We believe this to be due to the bursty nature of page allocations, which tend to occur in either small or extremely large increments. Burstiness and persistent variance have recently been found in self-similar processes in computer networks, but we show that although page commits are both bursty and possess high variance over long timescales, they are probably not self-similar. These results suggest that altogether different models are needed for fine-grained analysis of memory systems, an important consideration not only for understanding behavior but also for the design of online control systems.

READ FULL TEXT
research
12/09/2020

Page Tables: Keeping them Flat and Hot (Cached)

As memory capacity has outstripped TLB coverage, applications that use l...
research
11/03/2022

MUSTACHE: Multi-Step-Ahead Predictions for Cache Eviction

In this work, we propose MUSTACHE, a new page cache replacement algorith...
research
05/30/2019

FRAMER: Using page frame cache to exploit DRAM Vulnerability

Modern operating systems use a number of different techniques and mechan...
research
05/30/2019

Using Memory Allocation Schemes in Linux to Exploit DRAM Vulnerability: with Rowhammer as a Case Study

Modern operating systems use a number of different techniques and mechan...
research
01/11/2021

Some characterisation results on classical and free Poisson thinning

Poisson thinning is an elementary result in probability, which is of gre...
research
03/05/2010

FIFO anomaly is unbounded

Virtual memory of computers is usually implemented by demand paging. For...
research
05/24/2021

Conditional Waiting Time Analysis in Tandem Polling Queues

We analyze a tandem network of polling queues with two product types and...

Please sign up or login with your details

Forgot password? Click here to reset