[dpdk-dev] Question about DPDK hugepage fd change

Burakov, Anatoly anatoly.burakov at intel.com
Fri Feb 22 18:08:50 CET 2019


On 06-Feb-19 1:57 PM, Iain Barker wrote:
>> Can you use 1G hugepages instead of 2M pages or a combo of the two, not sure how dpdk handles having both in the system?
> 
> Unfortunately, no. Some of our customer deployments are tenancies on KVM hosts and low-end appliances, which are not configurable by the end user to enable 1G huge pages.
> 
> I think we are going to have to revert this patch set from our build, as I don't see any other alternative for using DPDK 18 whilst remaining compliant to the POSIX/glibc requirements.
> 

I just realized that, unless you're using --legacy-mem switch, one other 
way to alleviate the issue would be to use --single-file-segments 
option. This will still store the fd's, however it will only do so per 
memseg list, not per page. So, instead of 1000's of fd's with 2MB pages, 
you'd end up with under 10. Hope this helps!

-- 
Thanks,
Anatoly


More information about the dev mailing list