> -----Original Message----- > From: Thomas Monjalon <tho...@monjalon.net> > Sent: Wednesday, September 29, 2021 11:04 AM > To: Jiany Wu <wujianyue...@gmail.com> > Cc: users@dpdk.org; Burakov, Anatoly <anatoly.bura...@intel.com>; > Richardson, Bruce <bruce.richard...@intel.com>; olivier.m...@6wind.com; > dmitry.kozl...@gmail.com; step...@networkplumber.org; Mcnamara, John > <john.mcnam...@intel.com> > Subject: Re: [dpdk-users] can we reserve hugepage and not release > > 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? How are hugepages assigned to your container? Have you tried >using --in-memory mode? Thanks, Anatoly