<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
steps:<br>
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<br>
2.use numasta -p `pidof your_app` like below:<br>
<img size="17631" contenttype="image/png" style="max-width: 1866px;" data-outlook-trace="F:1|T:1" src="cid:a0ba8efb-58a9-4cca-b773-724878024a3e"><br>
<br>
review the sourcec code dpdk23.11 found that:<br>
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.<br>
<br>
<br>
</div>
</body>
</html>