aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/common/erl_mseg.h
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-12-03 18:31:02 +0100
committerBjörn-Egil Dahlberg <[email protected]>2012-12-14 15:12:59 +0100
commite976eb64736435b4c79bb53947a77d8bc04a0481 (patch)
tree9fddd5c95bf6136907bb7505b114b86d9e064647 /erts/emulator/sys/common/erl_mseg.h
parent4c4149e3ec93a2c501f1ca4bdeb3a70940df5b27 (diff)
downloadotp-e976eb64736435b4c79bb53947a77d8bc04a0481.tar.gz
otp-e976eb64736435b4c79bb53947a77d8bc04a0481.tar.bz2
otp-e976eb64736435b4c79bb53947a77d8bc04a0481.zip
erts: Reintroduce mseg options amcbf and rmcbf
Used with new sbc cache
Diffstat (limited to 'erts/emulator/sys/common/erl_mseg.h')
-rw-r--r--erts/emulator/sys/common/erl_mseg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_mseg.h b/erts/emulator/sys/common/erl_mseg.h
index 80a6c42741..8f8cb0e121 100644
--- a/erts/emulator/sys/common/erl_mseg.h
+++ b/erts/emulator/sys/common/erl_mseg.h
@@ -60,15 +60,19 @@
#define ERTS_MSEG_FLG_2POW ((Uint)(1 << 0))
-#define ERTS_MSEG_VSN_STR "0.10"
+#define ERTS_MSEG_VSN_STR "0.9"
typedef struct {
+ Uint amcbf;
+ Uint rmcbf;
Uint mcs;
Uint nos;
} ErtsMsegInit_t;
#define ERTS_MSEG_INIT_DEFAULT_INITIALIZER \
{ \
+ 4*1024*1024, /* amcbf: Absolute max cache bad fit */ \
+ 20, /* rmcbf: Relative max cache bad fit */ \
5, /* mcs: Max cache size */ \
1000 /* cci: Cache check interval */ \
}