Skip to content

Instantly share code, notes, and snippets.

@maxlapshin
Created August 14, 2013 14:41
Show Gist options
  • Save maxlapshin/6231710 to your computer and use it in GitHub Desktop.
Save maxlapshin/6231710 to your computer and use it in GitHub Desktop.
1> io:format("~p\n", [erlang:system_info({allocator,mseg_alloc})]).
[{instance,0,
[{version,"0.9"},
{options,[{amcbf,4194304},{rmcbf,20},{mcs,30}]},
{memkind,
[{name,"all memory"},
{status,
[{cached_segments,29},
{cache_hits,217602},
{segments,429,435,435},
{segments_size,1144520704,1161297920,1161297920},
{segments_watermark,429}]},
{calls,
[{mseg_alloc,0,225848},
{mseg_dealloc,0,225419},
{mseg_realloc,0,0},
{mseg_create_resize,0,4777},
{mseg_create,0,8246},
{mseg_destroy,0,25223},
{mseg_recreate,0,0},
{mseg_clear_cache,0,0},
{mseg_check_cache,0,3415}]}]}]},
{instance,1,
[{version,"0.9"},
{options,[{amcbf,4194304},{rmcbf,20},{mcs,30}]},
{memkind,
[{name,"all memory"},
{status,
[{cached_segments,30},
{cache_hits,71556},
{segments,579,591,591},
{segments_size,1605369856,1693712384,1693712384},
{segments_watermark,586}]},
{calls,
[{mseg_alloc,0,81139},
{mseg_dealloc,0,80560},
{mseg_realloc,0,25112},
{mseg_create_resize,0,5800},
{mseg_create,0,9583},
{mseg_destroy,0,34901},
{mseg_recreate,0,2},
{mseg_clear_cache,0,0},
{mseg_check_cache,0,3421}]}]}]},
{instance,2,
[{version,"0.9"},
{options,[{amcbf,4194304},{rmcbf,20},{mcs,30}]},
{memkind,
[{name,"all memory"},
{status,
[{cached_segments,28},
{cache_hits,79489},
{segments,612,613,613},
{segments_size,1881931776,1893203968,1893203968},
{segments_watermark,612}]},
{calls,
[{mseg_alloc,0,89066},
{mseg_dealloc,0,88454},
{mseg_realloc,0,25117},
{mseg_create_resize,0,5612},
{mseg_create,0,9577},
{mseg_destroy,0,36637},
{mseg_recreate,0,1},
{mseg_clear_cache,0,0},
{mseg_check_cache,0,3419}]}]}]},
{instance,3,
[{version,"0.9"},
{options,[{amcbf,4194304},{rmcbf,20},{mcs,30}]},
{memkind,
[{name,"all memory"},
{status,
[{cached_segments,29},
{cache_hits,68597},
{segments,602,609,609},
{segments_size,1827143680,1919156224,1919156224},
{segments_watermark,606}]},
{calls,
[{mseg_alloc,0,77036},
{mseg_dealloc,0,76434},
{mseg_realloc,0,22021},
{mseg_create_resize,0,4843},
{mseg_create,0,8439},
{mseg_destroy,0,31807},
{mseg_recreate,0,3},
{mseg_clear_cache,0,0},
{mseg_check_cache,0,3421}]}]}]},
{instance,4,
[{version,"0.9"},
{options,[{amcbf,4194304},{rmcbf,20},{mcs,30}]},
{memkind,
[{name,"all memory"},
{status,
[{cached_segments,28},
{cache_hits,87874},
{segments,612,613,613},
{segments_size,1905524736,1931476992,1931476992},
{segments_watermark,612}]},
{calls,
[{mseg_alloc,0,98780},
{mseg_dealloc,0,98168},
{mseg_realloc,0,27530},
{mseg_create_resize,0,6421},
{mseg_create,0,10906},
{mseg_destroy,0,38679},
{mseg_recreate,0,1},
{mseg_clear_cache,0,0},
{mseg_check_cache,0,3421}]}]}]},
{instance,5,
[{version,"0.9"},
{options,[{amcbf,4194304},{rmcbf,20},{mcs,30}]},
{memkind,
[{name,"all memory"},
{status,
[{cached_segments,28},
{cache_hits,84123},
{segments,609,610,610},
{segments_size,1718616064,1773142016,1773142016},
{segments_watermark,609}]},
{calls,
[{mseg_alloc,0,94190},
{mseg_dealloc,0,93581},
{mseg_realloc,0,26604},
{mseg_create_resize,0,5864},
{mseg_create,0,10067},
{mseg_destroy,0,38523},
{mseg_recreate,0,5},
{mseg_clear_cache,0,0},
{mseg_check_cache,0,3421}]}]}]},
{instance,6,
[{version,"0.9"},
{options,[{amcbf,4194304},{rmcbf,20},{mcs,30}]},
{memkind,
[{name,"all memory"},
{status,
[{cached_segments,28},
{cache_hits,84863},
{segments,611,614,614},
{segments_size,1897922560,1916272640,1916272640},
{segments_watermark,612}]},
{calls,
[{mseg_alloc,0,93799},
{mseg_dealloc,0,93188},
{mseg_realloc,0,23864},
{mseg_create_resize,0,5179},
{mseg_create,0,8936},
{mseg_destroy,0,35144},
{mseg_recreate,0,2},
{mseg_clear_cache,0,0},
{mseg_check_cache,0,3421}]}]}]},
{instance,7,
[{version,"0.9"},
{options,[{amcbf,4194304},{rmcbf,20},{mcs,30}]},
{memkind,
[{name,"all memory"},
{status,
[{cached_segments,29},
{cache_hits,82183},
{segments,610,612,612},
{segments_size,1907884032,1931739136,1931739136},
{segments_watermark,611}]},
{calls,
[{mseg_alloc,0,92311},
{mseg_dealloc,0,91701},
{mseg_realloc,0,27040},
{mseg_create_resize,0,5900},
{mseg_create,0,10128},
{mseg_destroy,0,38578},
{mseg_recreate,0,5},
{mseg_clear_cache,0,0},
{mseg_check_cache,0,3422}]}]}]},
{instance,8,
[{version,"0.9"},
{options,[{amcbf,4194304},{rmcbf,20},{mcs,30}]},
{memkind,
[{name,"all memory"},
{status,
[{cached_segments,29},
{cache_hits,80987},
{segments,614,617,617},
{segments_size,1732509696,1765801984,1765801984},
{segments_watermark,616}]},
{calls,
[{mseg_alloc,0,90681},
{mseg_dealloc,0,90067},
{mseg_realloc,0,25177},
{mseg_create_resize,0,5733},
{mseg_create,0,9694},
{mseg_destroy,0,37131},
{mseg_recreate,0,1},
{mseg_clear_cache,0,0},
{mseg_check_cache,0,3420}]}]}]}]
ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment