X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/9e83ac06ef1c978c65fefc1fbf5af1e95f31fe15..2d9fdb9d84a4113298099c077e5172bded6d3a27:/README diff --git a/README b/README index 5eeabf74..9ea1456f 100644 --- a/README +++ b/README @@ -16,7 +16,8 @@ It is as simple as: Redis is just a single binary, but if you want to install it you can use the "make install" target that will copy the binary in /usr/local/bin -for default. +for default. You can also use "make PREFIX=/some/other/directory install" +if you wish to use a different destination. You can run a 32 bit Redis binary using: @@ -26,6 +27,23 @@ After you build Redis is a good idea to test it, using: % make test +Buliding using tcmalloc +----------------------- + +tcmalloc is a fast and space efficient implementation (for little objects) +of malloc(). Compiling Redis with it can improve performances and memeory +usage. You can read more about it here: + +http://goog-perftools.sourceforge.net/doc/tcmalloc.html + +In order to compile Redis with tcmalloc support install tcmalloc on your system +and then use: + + % make USE_TCMALLOC=yes + +Note that you can pass any other target to make, as long as you append +USE_TCMALLOC=yes at the end. + Running Redis -------------