Bug 872 - rte_malloc() failed with dynamic memory mode
Summary: rte_malloc() failed with dynamic memory mode
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: core (show other bugs)
Version: 20.11
Hardware: x86 Linux
: High critical
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2021-11-01 07:02 CET by li_hong.bi
Modified: 2021-11-12 08:58 CET (History)
2 users (show)



Attachments

Description li_hong.bi 2021-11-01 07:02:14 CET
We have one primary dpdk process and 4 secondary processes, and 4 secondary processes will call rte_malloc() to allocate some memory and call rte_free() to release memory after process something.
1. if dpdk memory mode is dynamic, rte_malloc() failed will occur and 'EAL: Request timed out' log was printed out.
2. if dpdk memory mode is legacy, it is normal without any issue.

Note: from current investigation, when this issue occurred, the new hugepage block was reserved and released from/to system.
Comment 1 li_hong.bi 2021-11-01 08:17:30 CET
Do you help to check what causes this issue ? 
or, there is any limitation from dpdk for this use case.
thank u.
Comment 2 David Marchand 2021-11-12 08:58:44 CET
This log means that the secondary sent a request for more memory to the primary process, but did not get a reply in the expected time window.

I suggest enabling logs on both processes and check if and how the request is handled by the primary process.

Note You need to log in before you can comment on or make changes to this bug.