* [dpdk-users] No free hugepages after process restart
@ 2020-07-30 9:41 Michael K
0 siblings, 0 replies; only message in thread
From: Michael K @ 2020-07-30 9:41 UTC (permalink / raw)
I have a hugepages-related problem with a DPDK process not being able to
run after it was terminated and then restarted again.
When the process is restarted, the rte_eal_init() call fails and the terror
EAL: No free hugepages reported in hugepages-2048kB
EAL: FATAL: Cannot get hugepage information.
More details below.
DPDK version is 17.11.3. OS is Ubuntu 14/3.13.0-32-generic.
Hugepages are 2MB large. hugetlbfs is mounted in the process's startup
script, the amount of hugepages is set by
The amount of memory for DPDK to allocate is passed during the
initialization with the "--socket-mem" parameter.
After the initial start, DPDK works without any problems.
When I stop the process (with kill/TERM) and start it again, DPDK
initialization fails as I wrote above.
After the failure /proc/meminfo shows zero free hugepages.
So, since DPDK is complaining on "No free hugepages reported", I have tried
to find what other processes could be
- transparent hugepages are disabled via the kernel's commandline.
- ipcs -a shows nothing
- there are no other hugetlbfs mounts on the system
- running lsof and trying to find files open in the hugetlbfs mount dir
- grepping 'KernelPageSize: 2048 kB' in /proc/*/smaps gives nothing
- grep huge /proc/*/numa_maps gives nothing
Basically I've tried every "find the hugepage user" trick I could find on
If after the failure I add more hugepages via
the process starts successfully and everything is fine again, until I kill
it and then it's not able to run again
with the same error message. And /proc/meminfo shows no free hugepages
One suspicious detail: the problem happens only on machines with Docker
running. But I'm not sure whether this
is related or not.
Would appreciate any ideas.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, back to index
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-30 9:41 [dpdk-users] No free hugepages after process restart Michael K
DPDK usage discussions
Archives are clonable:
git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
Newsgroup available over NNTP:
AGPL code for this site: git clone https://public-inbox.org/ public-inbox