Hi Jisheng,
2017-02-21 17:16 GMT+01:00 David Miller [off-list ref]:
From: Jisheng Zhang <redacted>
Date: Tue, 21 Feb 2017 12:37:40 +0800
quoted
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