Skip to content

RohanVDvivedi/Slabby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slabby

Slabby is a fixed sized cache memory allocator. Based on the Slab memory allocation, designed by Bonvick.

references : His paper here and Wikipedia Article

Setup instructions

Install dependencies :

Download source code :

  • git clone https://github.com/RohanVDvivedi/Slabby.git

Build from source :

  • cd Slabby
  • make clean all

Install from the build :

  • sudo make install
  • Once you have installed from source, you may discard the build by make clean

Using The library

  • add -lslabby -lpthread -lcutlery linker flag, while compiling your application
  • do not forget to include appropriate public api headers as and when needed. this includes
    • #include<cache.h>

Instructions for uninstalling library

Uninstall :

  • cd Slabby
  • sudo make uninstall