Re: [vpp-dev] naive questions on VPP memory usage ( does it ever come down )

2020-04-01 Thread Satya Murthy
Thanks Dave and Damjan for quick inputs. This helps in understanding the memory mgmt in vpp. Inline to your questions. 1. Can you capture "show memory main-heapsh” before and after? We are currently in fdio.1810 and i am not seeing this option. 2. One more quick question. With this model of

Re: [vpp-dev] naive questions on VPP memory usage ( does it ever come down )

2020-04-01 Thread Damjan Marion via Lists.Fd.Io
Can you capture "show memory main-heapsh” before and after? Will show you exact number of pages mapped. I.e. vpp# show memory main-heap Thread 0 vpp_main virtual memory start 0x7f13c03ae000, size 1048640k, 262160 pages, page size 4k numa 1: 45220 pages, 180880k not mapped: 216940

Re: [vpp-dev] naive questions on VPP memory usage ( does it ever come down )

2020-04-01 Thread Dave Barach via Lists.Fd.Io
, and free the original. Personally, I would never go in this direction. HTH... Dave From: vpp-dev@lists.fd.io On Behalf Of Satya Murthy Sent: Wednesday, April 1, 2020 8:59 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] naive questions on VPP memory usage ( does it ever come down ) Few questions

[vpp-dev] naive questions on VPP memory usage ( does it ever come down )

2020-04-01 Thread Satya Murthy
Few questions on VPP memory usage. 1. Using pmap -p i am collecting the total memory usage of vpp process at the beginning of my test. ( it is X KB ) 2. I ran test for few hours which will obviously have lot of pool_get/pool_put 3. Collected the same same pmap output and the memory usage grown