diff options
author | Petri Savolainen <petri.savolainen@linaro.org> | 2018-02-20 15:24:26 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2018-02-28 20:40:55 +0300 |
commit | c1ad4f948f12f3748d76af679922236d5cf1b61e (patch) | |
tree | 45a1b26f3480e55cb339b6ac5e10a18d12379a3d /platform/linux-generic/include/odp_config_internal.h | |
parent | f737af0943b09f756e3b40290ad2e0c8f8101f00 (diff) |
linux-gen: config: increase max burst size
Burst size can be now increased without overhead as
buffer header size is not tied to it. Burst size increase
from 16 to 32 improves e.g. l2fwd throughput more than 10%.
Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_config_internal.h')
-rw-r--r-- | platform/linux-generic/include/odp_config_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-generic/include/odp_config_internal.h b/platform/linux-generic/include/odp_config_internal.h index 6fcb1cc0b..d579381ee 100644 --- a/platform/linux-generic/include/odp_config_internal.h +++ b/platform/linux-generic/include/odp_config_internal.h @@ -144,7 +144,7 @@ extern "C" { * This controls the burst size on various enqueue, dequeue, etc calls. Large * burst size improves throughput, but may degrade QoS (increase latency). */ -#define CONFIG_BURST_SIZE 16 +#define CONFIG_BURST_SIZE 32 /* * Maximum number of events in a pool |