There’s no reason to economize when sizing the main heap for a vppinfra application. It’s virtual memory, only pages which are in use are backed by physical pages, etc.
From: <[email protected]> on behalf of Aleksander Djuric <[email protected]> Date: Wednesday, October 10, 2018 at 3:29 AM To: "[email protected]" <[email protected]> Subject: Re: [vpp-dev] Elog binary file format Hi Florin, Thank you very much! It works now. 1) Why you use such big memory size value (256 << 20) in clib_mem_init_thread_safe ? Maybe we must to calculate the required size? sizeof(elog_main_t) + elog_file_size ? 2) I've calculate start time of a log from init_time: elog_main_t *em = &elog_main; st = em->init_time.os_nsec / 1e9 + 1490885108; Is it correct? Aleksander
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10792): https://lists.fd.io/g/vpp-dev/message/10792 Mute This Topic: https://lists.fd.io/mt/26875131/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
