aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_schedule_internal.h
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@nokia.com>2016-09-05 13:09:29 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2016-09-07 15:59:20 +0300
commitaab7083f4ab4fa2ddd8d1a41a554cead3a0055bb (patch)
tree7db572842f86fb37c85e03e8dd64701fc3c910ae /platform/linux-generic/include/odp_schedule_internal.h
parent66d26268065eaae370b402dc5b006121c6931c5c (diff)
linux-gen: sched: increase max dequeue batch size
Increased queue dequeue batch size to improve throughput. Low priority queues have smaller batch size than high/default, so that head of line blocking latency is limited. Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-and-tested-by: Yi He <yi.he@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_schedule_internal.h')
-rw-r--r--platform/linux-generic/include/odp_schedule_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-generic/include/odp_schedule_internal.h b/platform/linux-generic/include/odp_schedule_internal.h
index 1b6ae9348..d6cfdb4c8 100644
--- a/platform/linux-generic/include/odp_schedule_internal.h
+++ b/platform/linux-generic/include/odp_schedule_internal.h
@@ -12,7 +12,7 @@ extern "C" {
#endif
/* Maximum number of dequeues */
-#define MAX_DEQ 4
+#define MAX_DEQ 8
typedef struct {
int thr;