rte_hash socket memory usage is not balance issue
Jiang Aengus
aengusjiang at hotmail.com
Mon Dec 16 08:40:58 CET 2024
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20241216/6b1bfcde/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 17631 bytes
Desc: image.png
URL: <http://mails.dpdk.org/archives/dev/attachments/20241216/6b1bfcde/attachment-0001.png>
More information about the dev
mailing list