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 <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • 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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Duffie Cooley [email protected]
Ed Maste [email protected]
Ed Swierk [email protected]
Edouard Bourguignon [email protected]
Esteban Rodriguez Betancourt [email protected]
Aymerich Edward [email protected]
Edward Tomasz Napierała [email protected]
Eitan Eliahu [email protected]
Expand Down
7 changes: 7 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
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.