diff options
author | Björn-Egil Dahlberg <[email protected]> | 2013-02-08 15:32:56 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2013-02-11 14:25:21 +0100 |
commit | 468710f6de0fd48224b6e688b075c619106d1131 (patch) | |
tree | 72f21a0db9bb759ba6df1e11dde5ccd419aa04de | |
parent | 5bce881fa8bb7c61f27697054e8e9408fa87ca2d (diff) | |
download | otp-468710f6de0fd48224b6e688b075c619106d1131.tar.gz otp-468710f6de0fd48224b6e688b075c619106d1131.tar.bz2 otp-468710f6de0fd48224b6e688b075c619106d1131.zip |
erts: Increase default #cached segments to 10
Previous default was 5.
-rw-r--r-- | erts/doc/src/erts_alloc.xml | 2 | ||||
-rw-r--r-- | erts/emulator/sys/common/erl_mseg.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/erts/doc/src/erts_alloc.xml b/erts/doc/src/erts_alloc.xml index f0bde600ad..c73cdfd290 100644 --- a/erts/doc/src/erts_alloc.xml +++ b/erts/doc/src/erts_alloc.xml @@ -276,7 +276,7 @@ <item> Max cached segments. The maximum number of memory segments stored in the memory segment cache. Valid range is - 0-30. Default value is 5.</item> + 0-30. Default value is 10.</item> </taglist> <p>The following flags are available for configuration of <c>sys_alloc</c>:</p> diff --git a/erts/emulator/sys/common/erl_mseg.h b/erts/emulator/sys/common/erl_mseg.h index 64b68fb2e6..3cab9e18da 100644 --- a/erts/emulator/sys/common/erl_mseg.h +++ b/erts/emulator/sys/common/erl_mseg.h @@ -74,7 +74,7 @@ typedef struct { { \ 4*1024*1024, /* amcbf: Absolute max cache bad fit */ \ 20, /* rmcbf: Relative max cache bad fit */ \ - 5, /* mcs: Max cache size */ \ + 10, /* mcs: Max cache size */ \ 1000 /* cci: Cache check interval */ \ } |