diff options
author | Dave Barach <dave@barachs.net> | 2018-07-25 08:30:27 -0400 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2018-08-29 22:41:35 +0000 |
commit | 1e3417f72f5b7b6a5b056f75477d6d536196c34a (patch) | |
tree | 092c468acb86917b085fb4c943dca44db08f34fe /src/vat/restart.c | |
parent | e6446a3cd5f4b4faab87127c1a310e3c7fbf0e60 (diff) |
Address bfd rpc scale issues
Remove the expensive RPC call for every received packet and replace it with
lock-protected direct calls. Reinstate RPC for the less frequent
notification traffic.
Adjust the wakeup event sending logic to minimize the number of events
sent, by measuring the time it takes from sending the event to processing
it, and subsequently not sending the event if the pending wake-up time
is within 2x or the event propagation delay.
Eventually: remove oingo / oingoes.
Change-Id: I0b3d33c5d029527b54867a97ab07f35f346aaa3d
Signed-off-by: Dave Barach <dave@barachs.net>
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Signed-off-by: Steve Shin <jonshin@cisco.com>
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vat/restart.c')
0 files changed, 0 insertions, 0 deletions