[Intel-wired-lan] [next PATCH S20 04/15] i40e/i40evf: prefetch skb data on transmit

Bowers, AndrewX andrewx.bowers at intel.com
Wed Oct 28 21:01:47 UTC 2015


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Catherine Sullivan
> Sent: Monday, October 26, 2015 4:45 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S20 04/15] i40e/i40evf: prefetch skb
> data on transmit
> 
> From: Jesse Brandeburg <jesse.brandeburg at intel.com>
> 
> Issue a prefetch for data early in the transmit path.
> This should not be generally needed for tx traffic, but it helps immensely for
> pktgen workloads and should help for forwarding workloads as well.
> 
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
> Change-ID: Iefee870c20599e0c4240e1d8637e4f16b625f83a
> 
> ---
> Testing-hints: Run transmit traffic UDP and TCP to make sure there is not a
> performance (CPU utilization) increase. Run pktgen (Jesse has helper script
> available) to see the performance increases with the patch when sending 64
> byte packets. For bonus points could test forwarding workload for
> performance improvement.
>  drivers/net/ethernet/intel/i40e/i40e_txrx.c   | 3 +++
>  drivers/net/ethernet/intel/i40evf/i40e_txrx.c | 3 +++
>  2 files changed, 6 insertions(+)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Patch code changes correctly applied, performance increase seen with iperf3, and with pktgen script


More information about the Intel-wired-lan mailing list