diff mbox series

[v1,7/10] linux-gen: config: increase max burst size

Message ID 1519214407-28047-8-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v1,1/10] linux-gen: queue: inline queue from index conversion | expand

Commit Message

Github ODP bot Feb. 21, 2018, noon UTC
From: Petri Savolainen <petri.savolainen@linaro.org>


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>

---
/** Email created from pull request 492 (psavol:master-sched-optim)
 ** https://github.com/Linaro/odp/pull/492
 ** Patch: https://github.com/Linaro/odp/pull/492.patch
 ** Base sha: 5a58bbf2bb331fd7dde2ebbc0430634ace6900fb
 ** Merge commit sha: 82a6bfe942419330a430b63149220e6b472f419c
 **/
 platform/linux-generic/include/odp_config_internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/platform/linux-generic/include/odp_config_internal.h b/platform/linux-generic/include/odp_config_internal.h
index 3a852a49c..af8da1f40 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