]> git.proxmox.com Git - mirror_frr.git/commitdiff
zebra: reduce rib workqueue retry timeout
authorMark Stapp <mjs@voltanet.io>
Wed, 19 Dec 2018 16:51:41 +0000 (11:51 -0500)
committerMark Stapp <mjs@voltanet.io>
Wed, 19 Dec 2018 16:51:41 +0000 (11:51 -0500)
Reduce the zebra rib workqueue retry timeout, used when the queue
towards the zebra dataplane has reached its limit. Lowering the
value was reported to improve update throughput on some platforms.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/zserv.h

index 439082e78a316786e012b35a48c4f3a4057523e8..f0b8934ae13053cfc2a0e988f6c812f3e99b15dc 100644 (file)
@@ -187,7 +187,7 @@ struct zebra_t {
 
 /* rib work queue */
 #define ZEBRA_RIB_PROCESS_HOLD_TIME 10
 
 /* rib work queue */
 #define ZEBRA_RIB_PROCESS_HOLD_TIME 10
-#define ZEBRA_RIB_PROCESS_RETRY_TIME 5
+#define ZEBRA_RIB_PROCESS_RETRY_TIME 1
        struct work_queue *ribq;
        struct meta_queue *mq;
 
        struct work_queue *ribq;
        struct meta_queue *mq;