diff options
author | Willy Tarreau <[email protected]> | 2020-10-11 11:09:44 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-10-13 16:57:12 -0700 |
commit | 0a4e9ce17ba77847e5a9f87eed3c0ba46e3f82eb (patch) | |
tree | 9688ac73260eb4cf890da91e3e0e4cfab7e91aa6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 73d7422813839bbcae3dd28ff0d3c48d916e0b57 (diff) |
macb: support the two tx descriptors on at91rm9200
The at91rm9200 variant used by a few chips including the MSC313 supports
two Tx descriptors (one frame being serialized and another one queued).
However the driver only implemented a single one, which adds a dead time
after each transfer to receive and process the interrupt and wake the
queue up, preventing from reaching line rate.
This patch implements a very basic 2-deep queue to address this limitation.
The tests run on a Breadbee board equipped with an MSC313E show that at
1 GHz, HTTP traffic on medium-sized objects (45kB) was limited to exactly
50 Mbps before this patch, and jumped to 76 Mbps with this patch. And tests
on a single TCP stream with an MTU of 576 jump from 10kpps to 15kpps. With
1500 byte packets it's now possible to reach line rate versus 75 Mbps
before.
Cc: Nicolas Ferre <[email protected]>
Cc: Claudiu Beznea <[email protected]>
Cc: Daniel Palmer <[email protected]>
Signed-off-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions