[PATCH net-next v3 0/4] net: mvneta: improve rx/tx performance

Marcin Wojtas mw at semihalf.com
Tue Feb 21 08:35:20 PST 2017


Hi Jisheng,

2017-02-21 17:16 GMT+01:00 David Miller <davem at davemloft.net>:
> From: Jisheng Zhang <jszhang at marvell.com>
> Date: Tue, 21 Feb 2017 12:37:40 +0800
>
>> Thanks for your review.
>>
>> The measurement is simple: record how much time we spent in mvneta_rx_swbm()
>> for receiving 1GB data, something as below:
>
> Please use a standard tool for measuring performance, rather than profiling
> the driver and trying to derive numbers that way.

If possible in your setup, I suggest pushing 64B (and other sizes)
packets uni or bidirectionally via 2 ports in L2 bridge mode. It's a
good stress test, you'd get some meaningful numbers (also check cpu
consumption with mpstat in the meantime).

Best regards,
Marcin



More information about the linux-arm-kernel mailing list