diff options
author | Florin Coras <fcoras@cisco.com> | 2020-11-02 18:00:32 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-12-01 18:49:38 +0000 |
commit | 7808df2e2fd0fd61a27e5a5322dc6dafe40924e5 (patch) | |
tree | 9603cc44bb4429c6bf4005df78ce050e10e9e36b /src/vnet/session/transport.h | |
parent | de22111b5280301cdd5e7862e593e24715bc6292 (diff) |
session: allow small pacer bursts
Instead of enforcing a "strict" release of data, which relies on
frequent rescheduling of sessions, allow some pacer coalescing, i.e.,
short bursts, that can minimize load on scheduler/session layer and
potentially leverage tso.
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I67e38e5b8dc335bd214113b70c68c27ae92bd6da
Diffstat (limited to 'src/vnet/session/transport.h')
-rw-r--r-- | src/vnet/session/transport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/transport.h b/src/vnet/session/transport.h index c8d4e27be66..9a9b89fc9fd 100644 --- a/src/vnet/session/transport.h +++ b/src/vnet/session/transport.h @@ -23,6 +23,7 @@ #define TRANSPORT_PACER_MIN_BURST TRANSPORT_PACER_MIN_MSS #define TRANSPORT_PACER_MAX_BURST (43 * TRANSPORT_PACER_MIN_MSS) #define TRANSPORT_PACER_MAX_BURST_PKTS 43 +#define TRANSPORT_PACER_BURSTS_PER_RTT 20 #define TRANSPORT_PACER_MIN_IDLE 100 #define TRANSPORT_PACER_IDLE_FACTOR 0.05 |