Bug 378
Summary: | takes more than 500ms to allocate memory from numa node1 | ||
---|---|---|---|
Product: | DPDK | Reporter: | chuqifang (chuqifang) |
Component: | core | Assignee: | chuqifang (chuqifang) |
Status: | UNCONFIRMED --- | ||
Severity: | major | CC: | ajit.khaparde, chuqifang, gavin.hu, phil.yang, ruifeng.wang |
Priority: | Normal | ||
Version: | 18.11 | ||
Target Milestone: | --- | ||
Hardware: | ARM | ||
OS: | Linux |
Description
chuqifang
2019-12-31 08:57:50 CET
my program need about 100G hugepage, so we need get memory from numa node0 and node1 Since your application has been running for 1+ month without allocating memory from node#1(as a result of removing alloc_more_mem_on_socket), why do you think your program requires 100G memory? cross-numa memory access is definitely costly than local memory. If cross-numa memory is really needed, why not use the legacy memory mode, other than the dynamic memory mode, to hide the allocation cost from runtime? For the two memory modes, refere to: https://doc.dpdk.org/guides/prog_guide/env_abstraction_layer.html If memory is constrained, Jerin's patch may be helpful, could you check how memory interleaving is working on your SoC? http://patches.dpdk.org/patch/64012/ ok, i gonna take a look at this patch Looks like the patch referred to in comment #4 was superseded by another version. And ultimately applied to the tree after some modifications. Can you check if the issue is addressed now? Thanks Ajit commit 3f2d6766e3a620a166ee868dfde324e6a1e4b7f3 Author: Jerin Jacob <jerinj@marvell.com> Date: Wed Jan 15 02:36:03 2020 +0530 mempool: remove memory wastage on non-x86 |