X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/5171777bf112a6a930c4750949037ce741f3bf28..eab0e26e03fa3c27a4e1172659cea32e1b83699e:/README?ds=sidebyside diff --git a/README b/README index 1f0a1fe6..088844b7 100644 --- a/README +++ b/README @@ -15,18 +15,35 @@ It is as simple as: % make 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. You can also use "make PREFIX=/some/other/directory install" +the "make install" target that will copy the binary to /usr/local/bin +by 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: % make 32bit -After you build Redis is a good idea to test it, using: +After you build Redis is a good idea to test it (which require Tcl), 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 performance and memory +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 -------------