Re: [DPDK] heap memory fragmentation issue

2023-04-18 Thread Stephen Hemminger
On Wed, 19 Apr 2023 00:35:31 +0300 Dmitry Kozlyuk wrote: > Hi, > > 2023-04-12 08:44 (UTC+), wuchangsheng (C): > > When using rte_malloc and rte_free to request and release memory > > repeatedly, the usage of large pages gradually increases. > > Do you have a repro? > > > Checking the re

Re: [DPDK] heap memory fragmentation issue

2023-04-18 Thread Dmitry Kozlyuk
Hi, 2023-04-12 08:44 (UTC+), wuchangsheng (C): > When using rte_malloc and rte_free to request and release memory repeatedly, > the usage of large pages gradually increases. Do you have a repro? > Checking the relevant source code shows that memory requests and releases > are started from t

[DPDK] heap memory fragmentation issue

2023-04-17 Thread wuchangsheng (C)
ping Hello: When using rte_malloc and rte_free to request and release memory repeatedly, the usage of large pages gradually increases. Checking the relevant source code shows that memory requests and releases are started from the head of the freelist chain list of the heap. Memory fragmen

[DPDK] heap memory fragmentation issue

2023-04-12 Thread wuchangsheng (C)
Hello: When using rte_malloc and rte_free to request and release memory repeatedly, the usage of large pages gradually increases. Checking the relevant source code shows that memory requests and releases are started from the head of the freelist chain list of the heap. Memory fragmentation