> -----Original Message-----
> From: You, KaisenX <[email protected]>
> Sent: Thursday, November 17, 2022 2:57 PM
> To: [email protected]
> Cc: [email protected]; Yang, Qiming <[email protected]>; Zhou, YidingX
> <[email protected]>; You, KaisenX <[email protected]>; Wu, Jingjing
> <[email protected]>; Xing, Beilei <[email protected]>; Zhang, Qi Z
> <[email protected]>
> Subject: [PATCH] net/iavf:fix slow memory allocation
> 
> In some cases, the DPDK does not allocate hugepage heap memory to
> some sockets due to the user setting parameters
> (e.g. -l 40-79, SOCKET 0 has no memory).
> When the interrupt thread runs on the corresponding core of this
> socket, each allocation/release will execute a whole set of heap
> allocation/release operations,resulting in poor performance.
> Instead we call malloc() to get memory from the system's
> heap space to fix this problem.
> 
> Fixes: cb5c1b91f76f ("net/iavf: add thread for event callbacks")
> Cc: [email protected]
> 
> Signed-off-by: Kaisen You <[email protected]>
Acked-by: Jingjing Wu <[email protected]>


Reply via email to