Re: DPDK 19.11.5 Legacy Memory Design Query

2022-10-10 Thread Dmitry Kozlyuk
static memory layout. In dynamic memory mode, it would be useless, because unneeded pages are not allocated in the first place and freed once not used anymore. [1]: https://core.dpdk.org/roadmap/#stable > From: Umakiran Godavarthi (ugodavar) > Date: Monday, 26 September 2022 at

Re: DPDK 19.11.5 Legacy Memory Design Query

2022-09-26 Thread Umakiran Godavarthi (ugodavar)
ly and boots up right ? Thanks Umakiran From: Dmitry Kozlyuk Date: Friday, 23 September 2022 at 6:41 PM To: Umakiran Godavarthi (ugodavar) Cc: anatoly.bura...@intel.com , dev@dpdk.org , step...@networkplumber.org Subject: Re: DPDK 19.11.5 Legacy Memory Design Query 2022-09-23 12:12 (UTC+), U

Re: DPDK 19.11.5 Legacy Memory Design Query

2022-09-26 Thread Umakiran Godavarthi (ugodavar)
d boots up right ? Thanks Umakiran From: Dmitry Kozlyuk Date: Friday, 23 September 2022 at 6:41 PM To: Umakiran Godavarthi (ugodavar) Cc: anatoly.bura...@intel.com , dev@dpdk.org , step...@networkplumber.org Subject: Re: DPDK 19.11.5 Legacy Memory Design Query 2022-09-23 12:12 (UTC+), Umakir

Re: DPDK 19.11.5 Legacy Memory Design Query

2022-09-23 Thread Dmitry Kozlyuk
2022-09-23 12:12 (UTC+), Umakiran Godavarthi (ugodavar): > [Uma] : Yes I agree if free_hp = 400, nr_hp = 252, we are expecting DPDK > takes only 252 and keep the remaining pages free in its heap. >As you have mentioned just boot DPDK with 1 page, and add > pages we want late

Re: DPDK 19.11.5 Legacy Memory Design Query

2022-09-23 Thread Umakiran Godavarthi (ugodavar)
mitry Kozlyuk Date: Friday, 23 September 2022 at 5:17 PM To: Umakiran Godavarthi (ugodavar) Cc: anatoly.bura...@intel.com , dev@dpdk.org , step...@networkplumber.org Subject: Re: DPDK 19.11.5 Legacy Memory Design Query 2022-09-23 11:20 (UTC+), Umakiran Godavarthi (ugodavar): > [Uma] : Ye

Re: DPDK 19.11.5 Legacy Memory Design Query

2022-09-23 Thread Dmitry Kozlyuk
2022-09-23 11:20 (UTC+), Umakiran Godavarthi (ugodavar): > [Uma] : Yes we are unmapping the entire range hoping all are free inside > DPDK and DPDK heaps never use these pages. > > Suppose we have 400 pages total free_hp, we want only 252 pages , so we > reduce nr_pages to 252. > > So we

Re: DPDK 19.11.5 Legacy Memory Design Query

2022-09-23 Thread Umakiran Godavarthi (ugodavar)
if (malloc_elem_can_hold(elem, size, align, bound, contig)) { Thanks Umakiran From: Dmitry Kozlyuk Date: Thursday, 22 September 2022 at 2:31 PM To: Umakiran Godavarthi (ugodavar) Cc: anatoly.bura...@intel.com , dev@dpdk.org , step...@networkplum

Re: DPDK 19.11.5 Legacy Memory Design Query

2022-09-22 Thread Dmitry Kozlyuk
Hi Umakiran, > From: Umakiran Godavarthi (ugodavar) > Date: Wednesday, 14 September 2022 at 1:00 PM [...] > 1. Then we go to DPDK Memory segment list walkthrough and for each FBARRAY > , we find the used pages by DPDK and unmap the remaining pages by below code > (Idea is to free the huge pa

Re: DPDK 19.11.5 Legacy Memory Design Query

2022-09-22 Thread Umakiran Godavarthi (ugodavar)
...@intel.com , dev@dpdk.org Subject: Re: DPDK 19.11.5 Legacy Memory Design Query Hi Team, Have sent a message to DPDK alias. Can you please have a look and share your thoughts on this ? Please reply on legacy memory design and thoughts on the crash reason ? #6 sigcrash (signo=11

Re: DPDK 19.11.5 Legacy Memory Design Query

2022-09-20 Thread Umakiran Godavarthi (ugodavar)
1:00 PM To: anatoly.bura...@intel.com , dev@dpdk.org Subject: DPDK 19.11.5 Legacy Memory Design Query Hi Anatoly/DPDK-Developers I am working on DPDK 19.11.5 Legacy Memory design and have a query about how to boot up in Legacy memory mode. 1. Linux kernel boots up with huge pages (‘N’) and free

DPDK 19.11.5 Legacy Memory Design Query

2022-09-14 Thread Umakiran Godavarthi (ugodavar)
Hi Anatoly/DPDK-Developers I am working on DPDK 19.11.5 Legacy Memory design and have a query about how to boot up in Legacy memory mode. 1. Linux kernel boots up with huge pages (‘N’) and free huge pages (‘N’) initially 1. We calculate huge pages we need for data path (Driver need buffe