Re: [ovs-dev] [RFC] ovn-northd: Store computed logical flow hash in SBDB.

2018-02-15 Thread Jakub Sitnicki
On Wed, 14 Feb 2018 13:58:16 -0800 Ben Pfaff wrote: > On Tue, Feb 13, 2018 at 02:57:40PM +0100, Jakub Sitnicki wrote: > > Each time ovn-northd processes the NBDB contents it has to compute the > > hash of every logical flow stored in the SBDB in order to identify ones > > that need

Re: [ovs-dev] [RFC] ovn-northd: Store computed logical flow hash in SBDB.

2018-02-14 Thread Ben Pfaff
On Tue, Feb 13, 2018 at 02:57:40PM +0100, Jakub Sitnicki wrote: > Each time ovn-northd processes the NBDB contents it has to compute the > hash of every logical flow stored in the SBDB in order to identify ones > that need adding to or deleting from SBDB (build_lflows()). > > Avoid it by storing

Re: [ovs-dev] [RFC] ovn-northd: Store computed logical flow hash in SBDB.

2018-02-13 Thread Mark Michelson
Nice! Acked-by: Mark Michelson On 02/13/2018 07:57 AM, Jakub Sitnicki wrote: Each time ovn-northd processes the NBDB contents it has to compute the hash of every logical flow stored in the SBDB in order to identify ones that need adding to or deleting from SBDB

[ovs-dev] [RFC] ovn-northd: Store computed logical flow hash in SBDB.

2018-02-13 Thread Jakub Sitnicki
Each time ovn-northd processes the NBDB contents it has to compute the hash of every logical flow stored in the SBDB in order to identify ones that need adding to or deleting from SBDB (build_lflows()). Avoid it by storing the logical flow hash together with its fields the moment we first add it