29/09/2021 12:16, Burakov, Anatoly: > From: Thomas Monjalon <tho...@monjalon.net> > > 18/09/2021 04:37, Jiany Wu: > > > Hello, > > > > > > I met a scenario that, need to start and stop the container many times > > > for the hugepage. But after several times container start and stop, > > > the hugepage is not able to reserve. > > > Hugepage size is 2MB, and HW only support 2MB, can't support 1GB. > > > Is there anyway to make sure the hugepage is still kept continuous? > > > Thanks indeed. > > > > Interesting question. > > I think we need to address it in the DPDK documentation. > > > > Anatoly, Stephen, Bruce, any advice please? > > > > Hi, > > From description, I don't quite understand what's the issue here. Is the > problem about "contiguousness of memory", or is it about inability to reserve > more hugepages?
I think the issue is that sometimes some pages are not properly released, so we cannot reserve them again. That's something I experienced myself. Any trick to reset hugepages state? > How are hugepages assigned to your container? > Have you tried using --in-memory mode?