numam-dpdk/doc
Rahul Lakkireddy 6c2809628c net/cxgbe: improve latency for slow traffic
TX coalescing waits for ETH_COALESCE_PKT_NUM packets to be coalesced
across bursts before transmitting them.  For slow traffic, such as
100 PPS, this approach increases latency since packets are received
one at a time and tx coalescing has to wait for ETH_COALESCE_PKT
number of packets to arrive before transmitting.

To fix this:

- Update rx path to use status page instead and only receive packets
  when either the ingress interrupt timer threshold (5 us) or
  the ingress interrupt packet count threshold (32 packets) fires.
  (i.e. whichever happens first).

- If number of packets coalesced is <= number of packets sent
  by tx burst function, stop coalescing and transmit these packets
  immediately.

Also added compile time option to favor throughput over latency by
default.

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
2017-06-12 10:41:27 +01:00
..
api crypto/scheduler: fix doxygen comments 2017-04-20 11:32:45 +02:00
guides net/cxgbe: improve latency for slow traffic 2017-06-12 10:41:27 +01:00
logo doc: change theme of guides 2015-12-13 22:30:47 +01:00
build-sdk-quick.txt doc: add test related rules in make help 2017-02-28 16:13:22 +01:00