Skip to content

Fork of Redis, adjusted to store objects on both Intel Optane Persistent Memory and DRAM.

License

Notifications You must be signed in to change notification settings

TieredMemDB/TieredMemDB

 
 

Repository files navigation

TieredMemDB

This project is a fork of Redis, adapted for systems with multiple memory tiers. New memory technologies include memories that have very high bandwidth at the cost of latency, slower large capacity at lower cost, sharing memory among multiple machines in a rack, and so on.

The overall performance of a system can be improved if frequently accessed ("hot") data is kept in a faster tier while "warm" data that still needs to be readily available in memory (rather than disk or similar slow storage) yet is not as critical, may be kept in a slower memory tier.

This README doesn't describe usual usage of Redis. We assume you already have general experience with Redis.

Building TieredMemDB

Generally, TieredMemDB is close to vanilla Redis, and can be used on the same set of systems. You can even build without tier support, as all functionality of Redis should be left intact. To actually get the benefits of memory tiers, you need the following extra dependencies:

* ndctl and daxctl (v66 or later)

When building from git, you also need to check out the memkind submodule:

% git submodule update --init

and install:

* autoconf

Building TieredMemDB is as simple as:

% make

As usual, you can -- and probably want to -- confirm the built code works well:

% make test

In case of building error saying libmemkind.a is missing you can try and clean your repository (before that, please make sure to commit all your changes, if any):

% git clean -dfx

and then re-run the make command.

To prepare a tarball with TieredMemDB packed along with memkind, easy to use in another environment, you have to initialize memkind submodule (as in the above steps) and execute:

% make git-tarball

Such tarball is prepared in a parent directory (named like: "tmdb-redis-.tar.xz"). After extracting the package it's only required to build TMDB with a simple 'make' command.

Contact points

If you want to get in touch with the maintenance team of this project, please file an issue on the GitHub page of this repository or reach out to Lin, Xiang [email protected] or Chen, Xiaobo [email protected].

About

Fork of Redis, adjusted to store objects on both Intel Optane Persistent Memory and DRAM.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 77.3%
  • Tcl 21.5%
  • Ruby 0.3%
  • Shell 0.3%
  • Python 0.3%
  • Makefile 0.2%
  • Other 0.1%