aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorwilly tarreau <[email protected]>2014-01-16 08:20:07 +0100
committerDavid S. Miller <[email protected]>2014-01-16 15:15:41 -0800
commitdc4277dd41a80fd5f29a90412ea04bc3ba54fbf1 (patch)
tree9b21715c23657d4cd3cc6ae1af4bd827c0625647 /tools/perf/scripts/python/event_analyzing_sample.py
parenta81ab36bf52d0ca3a32251a923be1dbced726141 (diff)
net: mvneta: increase the 64-bit rx/tx stats out of the hot path
Better count packets and bytes in the stack and on 32 bit then accumulate them at the end for once. This saves two memory writes and two memory barriers per packet. The incoming packet rate was increased by 4.7% on the Openblocks AX3 thanks to this. Cc: Thomas Petazzoni <[email protected]> Cc: Gregory CLEMENT <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Tested-by: Arnaud Ebalard <[email protected]> Signed-off-by: Willy Tarreau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions