Skip to content

Commit

Permalink
swss: flush g_asicState after each event is done
Browse files Browse the repository at this point in the history
* add flush() after event is handled in case some entries are still in buffer, don't wait
* with the changes in sairedis and swss-common, route performance improved by 200~300 routes/sec

  Signed-off-by: Dong Zhang [email protected]
  • Loading branch information
dzhangalibaba committed Aug 9, 2018
1 parent 8779018 commit 8fa353c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions orchagent/orchdaemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,5 +313,6 @@ void OrchDaemon::start()
for (Orch *o : m_orchList)
o->doTask();

flush(); //flush after each event is handled, don't wait
}
}

0 comments on commit 8fa353c

Please sign in to comment.