summaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMarcin Wojtas <mw@semihalf.com>2017-01-16 18:08:32 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-16 20:07:29 -0500
commita29b6235560a1ed10c8e1a73bfc616a66b802b90 (patch)
treea0cbb492501bcea61515bb0320d7037e6e47e862 /include/linux/debugobjects.h
parent2a90f7e1d5d04e4f1060268e0b55a2c702bbd67a (diff)
downloadcachepc-linux-a29b6235560a1ed10c8e1a73bfc616a66b802b90.tar.gz
cachepc-linux-a29b6235560a1ed10c8e1a73bfc616a66b802b90.zip
net: mvneta: add BQL support
Tests showed that when whole bandwidth is consumed, the latency for various kind of traffic can reach high values. With saturated link (e.g. with iperf from target to host) simple ping could take significant amount of time. BQL proved to improve this situation when implemented in mvneta driver. Measurements of ping latency for 3 link speeds: Speed | Latency w/o BQL | Latency with BQL 10 | 7-14 ms | 3.5 ms 100 | 2-12 ms | 0.6 ms 1000 | often timeout | up to 2ms Decreasing latency as above result in sligt performance cost - 4kpps (-1.4%) when pushing 64B packets via two bridged interfaces of Armada 38x. For 1500B packets in the same setup, the mpstat tool showed +8% of CPU occupation (default affinity, second CPU idle). Even though this cost seems reasonable to take, considering other improvements. This commit adds byte queue limit mechanism for the mvneta driver. Signed-off-by: Marcin Wojtas <mw@semihalf.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions