Skip to content

Commit

Permalink
INSTALL.md: Suggest jemalloc memory allocator.
Browse files Browse the repository at this point in the history
Change installing documentation to suggest to use
jemalloc memory allocator.

This memory allocator showed great performance gains
when used at ovsdb-server and other components.

Signed-off-by: Esteban Rodriguez Betancourt <estebarb@hpe.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
  • Loading branch information
estebarbhpe authored and blp committed Mar 17, 2016
1 parent 118c77b commit 48d3d48
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -10,6 +10,8 @@ addons:
- gcc-multilib
- libssl-dev
- llvm-dev
- libjemalloc1
- libjemalloc-dev

before_install: ./.travis/prepare.sh

Expand All @@ -30,6 +32,7 @@ env:
- KERNEL=3.14.60
- KERNEL=3.12.53
- KERNEL=3.10.96
- TESTSUITE=1 LIBS=-ljemalloc

script: ./.travis/build.sh $OPTS

Expand Down
1 change: 1 addition & 0 deletions AUTHORS
Expand Up @@ -63,6 +63,7 @@ Duffie Cooley dcooley@nicira.com
Ed Maste emaste@freebsd.org
Ed Swierk eswierk@skyportsystems.com
Edouard Bourguignon madko@linuxed.net
Esteban Rodriguez Betancourt estebarb@hpe.com
Aymerich Edward edward.aymerich@hpe.com
Edward Tomasz Napierała trasz@freebsd.org
Eitan Eliahu eliahue@vmware.com
Expand Down
7 changes: 7 additions & 0 deletions INSTALL.md
Expand Up @@ -247,6 +247,13 @@ Here is an example:
`% mkdir _gcc && (cd _gcc && ../configure CC=gcc)`
`% mkdir _clang && (cd _clang && ../configure CC=clang)`

Under certains loads the ovsdb-server and other components perform
better when using the jemalloc memory allocator, instead of the glibc
memory allocator.

If you wish to link with jemalloc add it to LIBS:

`% ./configure LIBS=-ljemalloc`

Building the Sources
--------------------
Expand Down

0 comments on commit 48d3d48

Please sign in to comment.