[dpdk-users] can we reserve hugepage and not release

Burakov, Anatoly anatoly.burakov at intel.com
Wed Sep 29 12:16:57 CEST 2021


> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Wednesday, September 29, 2021 11:04 AM
> To: Jiany Wu <wujianyue000 at gmail.com>
> Cc: users at dpdk.org; Burakov, Anatoly <anatoly.burakov at intel.com>;
> Richardson, Bruce <bruce.richardson at intel.com>; olivier.matz at 6wind.com;
> dmitry.kozliuk at gmail.com; stephen at networkplumber.org; Mcnamara, John
> <john.mcnamara at 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


More information about the users mailing list