Bug 872

Summary: rte_malloc() failed with dynamic memory mode
Product: DPDK Reporter: li_hong.bi
Component: coreAssignee: dev
Status: UNCONFIRMED ---    
Severity: critical CC: anatoly.burakov, david.marchand
Priority: High    
Version: 20.11   
Target Milestone: ---   
Hardware: x86   
OS: Linux   

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.