After a long hiatus, I captured an /ab initio /memory trace to
sanity-check an upcoming patch/:/
$ vpp unix interactive vlib memory-trace
<spew deleted>
See below. It would be great to defer large data-structure allocations
until feature(s) are actually configured...
FWIW... Dave
DBGvpp# sh memory
base 0x7fffb67ff000, size 1g, locked, traced, unmap-on-destroy, name
'main heap'
page stats: page-size 4K, total 262144, populated 47047,
not-populated 215097
numa 0: 47047 pages, 183.78m bytes
total: 1.00G, used: 192.95M, free: 831.05M, trimmable: 827.23M
free chunks 1009 free fastbin blks 0
max total allocated 1.00G
Bytes Count Sample Traceback
67108928 1 0x7fffbecc4ec0 _vec_alloc_internal + 0x11d
_vec_validate + 0x7c
*nat_init* + 0xed
call_init_exit_functions_internal + 0x151
vlib_call_init_exit_functions + 0x2f
vlib_call_all_init_functions + 0x3a
vlib_main + 0x356
thread0 + 0x7d
0x7ffff7ea0694
33554560 1 0x7fffbccc4e00 _vec_alloc_internal + 0x11d
_vec_validate + 0x7c
*sfdp_tcp_check_init* + 0x62
call_init_exit_functions_internal + 0x151
vlib_call_init_exit_functions + 0x2f
vlib_call_all_init_functions + 0x3a
vlib_main + 0x356
thread0 + 0x7d
0x7ffff7ea0694
11534400 1 0x7fffbb2c4c80 alloc_aligned_8_16 + 0xd6
clib_bihash_instantiate_8_16 + 0x75
clib_bihash_init2_8_16 + 0x258
clib_bihash_init_8_16 + 0x65
*ipsec_tunnel_protect_init *+ 0x59
call_init_exit_functions_internal + 0x151
vlib_call_init_exit_functions + 0x2f
vlib_call_all_init_functions + 0x3a
vlib_main + 0x356
thread0 + 0x7d
0x7ffff7ea0694
7864384 1 0x7fffbbdc4d00 alloc_aligned_8_8 + 0xd6
clib_bihash_instantiate_8_8 + 0x75
clib_bihash_init2_8_8 + 0x258
clib_bihash_init_8_8 + 0x65
*pppoe_init *+ 0x57
call_init_exit_functions_internal + 0x151
vlib_call_init_exit_functions + 0x2f
vlib_call_all_init_functions + 0x3a
vlib_main + 0x356
thread0 + 0x7d
0x7ffff7ea0694
7864384 1 0x7fffbc544d80 alloc_aligned_8_8 + 0xd6
clib_bihash_instantiate_8_8 + 0x75
clib_bihash_init2_8_8 + 0x258
clib_bihash_init_8_8 + 0x65
*pppoe_init *+ 0x78
call_init_exit_functions_internal + 0x151
vlib_call_init_exit_functions + 0x2f
vlib_call_all_init_functions + 0x3a
vlib_main + 0x356
thread0 + 0x7d
0x7ffff7ea0694
6160512 2 0x7fffba49ea80 _vec_alloc_internal + 0x11d
_pool_init_fixed + 0xe6
*vnet_crypto_init* + 0x295
call_init_exit_functions_internal + 0x151
vlib_call_init_exit_functions + 0x2f
vlib_call_all_init_functions + 0x3a
vlib_main + 0x356
thread0 + 0x7d
0x7ffff7ea0694
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#26718): https://lists.fd.io/g/vpp-dev/message/26718
Mute This Topic: https://lists.fd.io/mt/117356722/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-