diff options
author | Sverker Eriksson <[email protected]> | 2018-01-23 22:26:44 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-02-08 17:42:53 +0100 |
commit | 443b2e0fabe9dfbe78d7fe857b29e74f7533da39 (patch) | |
tree | edbf68f40264173f2720f170b401a57d16c1651b /erts/emulator/beam/erl_alloc_util.h | |
parent | e64a1f429ec5f7534e0201fed42967aeb1aae8d8 (diff) | |
download | otp-443b2e0fabe9dfbe78d7fe857b29e74f7533da39.tar.gz otp-443b2e0fabe9dfbe78d7fe857b29e74f7533da39.tar.bz2 otp-443b2e0fabe9dfbe78d7fe857b29e74f7533da39.zip |
erts: Add migration options "acnl" and "acfml"
acnl: Abandon Carrier Nr Limit
acfml: Abandon Carrier Free block Min Limit
Diffstat (limited to 'erts/emulator/beam/erl_alloc_util.h')
-rw-r--r-- | erts/emulator/beam/erl_alloc_util.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_alloc_util.h b/erts/emulator/beam/erl_alloc_util.h index 81180382af..d2cdc3a320 100644 --- a/erts/emulator/beam/erl_alloc_util.h +++ b/erts/emulator/beam/erl_alloc_util.h @@ -63,7 +63,9 @@ typedef struct { UWord lmbcs; UWord smbcs; UWord mbcgs; - int acul; + UWord acul; + UWord acnl; + UWord acfml; void *fix; size_t *fix_type_size; @@ -118,6 +120,8 @@ typedef struct { 1024*1024, /* (bytes) smbcs: smallest mbc size */\ 10, /* (amount) mbcgs: mbc growth stages */\ 0, /* (%) acul: abandon carrier utilization limit */\ + 1000, /* (amount) acnl: abandoned carriers number limit */\ + 0, /* (bytes) acfml: abandoned carrier fblk min limit */\ /* --- Data not options -------------------------------------------- */\ NULL, /* (ptr) fix */\ NULL /* (ptr) fix_type_size */\ @@ -151,6 +155,8 @@ typedef struct { 128*1024, /* (bytes) smbcs: smallest mbc size */\ 10, /* (amount) mbcgs: mbc growth stages */\ 0, /* (%) acul: abandon carrier utilization limit */\ + 1000, /* (amount) acnl: abandoned carriers number limit */\ + 0, /* (bytes) acfml: abandoned carrier fblk min limit */\ /* --- Data not options -------------------------------------------- */\ NULL, /* (ptr) fix */\ NULL /* (ptr) fix_type_size */\ @@ -568,7 +574,9 @@ struct Allctr_t_ { UWord abandon_limit; int disable_abandon; int check_limit_count; - int util_limit; + UWord util_limit; /* acul */ + UWord in_pool_limit; /* acnl */ + UWord fblk_min_limit; /* acmfl */ struct { erts_atomic_t blocks_size; erts_atomic_t no_blocks; |