* rte_hash socket memory usage is not balance issue
@ 2024-12-16 7:40 Jiang Aengus
0 siblings, 0 replies; only message in thread
From: Jiang Aengus @ 2024-12-16 7:40 UTC (permalink / raw)
To: dev
[-- Attachment #1.1: Type: text/plain, Size: 439 bytes --]
steps:
1.master thread create rte_hash for every socket with same size. each socket hash with the each socket_id pass by rte_hash_param.socket_id
2.use numasta -p `pidof your_app` like below:
[cid:a0ba8efb-58a9-4cca-b773-724878024a3e]
review the sourcec code dpdk23.11 found that:
it will allocate memory with the rte_zmalloc api, this api is use socket of current lcore, not use the args rte_hash_param socket_id field value.
[-- Attachment #1.2: Type: text/html, Size: 976 bytes --]
[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 17631 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-12-17 8:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-16 7:40 rte_hash socket memory usage is not balance issue Jiang Aengus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).