Skip to content

Latest commit

 

History

History
executable file
·
31 lines (23 loc) · 1.05 KB

File metadata and controls

executable file
·
31 lines (23 loc) · 1.05 KB

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<slabby/cache.h>

Instructions for uninstalling library

Uninstall :

  • cd Slabby
  • sudo make uninstall