Learning Slab Classes to Alleviate Memory Holes in Memcached

09/09/2020
by   Devang Jhabakh Jai, et al.
0

We consider the problem of memory holes in slab allocators, where an item entered into memory occupies more memory than it actually requires due to a difference between the nearest larger slab class size and the size of the entered item. We solve this problem by using a greedy algorithm that analyses the pattern of the sizes of items previously entered into the memory and accordingly re-configuring the default slab classes to better suit the learned traffic pattern to minimize memory holes. Using this approach for a consistent data pattern, in our findings, has yielded significant reductions in memory wastage. We consider Memcached as it is one of the most widely used implementations of slab allocators today, and has native support to reconfigure its default slab classes.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/19/2016

Strong Backdoors for Default Logic

In this paper, we introduce a notion of backdoors to Reiter's propositio...
research
07/31/2023

CBCL-PR: A Cognitively Inspired Model for Class-Incremental Learning in Robotics

For most real-world applications, robots need to adapt and learn continu...
research
10/23/2018

Area Attention

Existing attention mechanisms, are mostly item-based in that a model is ...
research
12/10/2017

A General Memory-Bounded Learning Algorithm

In an era of big data there is a growing need for memory-bounded learnin...
research
04/27/2020

Batched Predecessor and Sorting with Size-Priced Information in External Memory

In the unit-cost comparison model, a black box takes an input two items ...
research
01/25/2019

Faster Boosting with Smaller Memory

The two state-of-the-art implementations of boosted trees: XGBoost and L...
research
02/22/2023

Pattern detection in ordered graphs

A popular way to define or characterize graph classes is via forbidden s...

Please sign up or login with your details

Forgot password? Click here to reset