On Wed, 25 Dec 2024 15:53:02 +0800
Dengdui Huang <[email protected]> wrote:

> From: Dengdui Huang <[email protected]>
> To: <[email protected]>
> CC: <[email protected]>, <[email protected]>,  
> <[email protected]>, <[email protected]>, <[email protected]>,  
> <[email protected]>
> Subject: [PATCH] examples/l3fwd: optimize packet prefetch
> Date: Wed, 25 Dec 2024 15:53:02 +0800
> X-Mailer: git-send-email 2.33.0
> 
> The prefetch window depending on the hardware platform. The current prefetch
> policy may not be applicable to all platforms. In most cases, the number of
> packets received by Rx burst is small (64 is used in most performance 
> reports).
> In L3fwd, the maximum value cannot exceed 512. Therefore, prefetching all
> packets before processing can achieve better performance.
> 
> Signed-off-by: Dengdui Huang <[email protected]>
> ---

I think Vpp had a good description of how to unroll and deal with prefetch.

With larger burst sizes you don't want to prefetch the whole burst.

Reply via email to