Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-1521

Add incremental processing for en-datapath-sync

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • OVN
    • None
    • 8
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      Given OVN northd is running with incremental processing enabled,

      When a new logical switch or router is updated,

      Then a corresponding Datapath_Binding must be updated in the southbound database without triggering a full recompute of unrelated datapaths.


      Given a datapath’s tunnel key is changed or reassigned,

      When the new key would conflict with another existing key,

      Then the system should detect this and fall back to a full recompute.

      Show
      Given OVN northd is running with incremental processing enabled, When a new logical switch or router is updated, Then a corresponding Datapath_Binding must be updated in the southbound database without triggering a full recompute of unrelated datapaths. – Given a datapath’s tunnel key is changed or reassigned, When the new key would conflict with another existing key, Then the system should detect this and fall back to a full recompute.
    • rhel-9
    • None
    • rhel-net-ovn
    • ssg_networking
    • OVN FDP Sprint 6, OVN FDP Sprint 7
    • 2
    • -

      The en-datapath-sync node recomputes every time, currently, which is a performance bottleneck when datapaths are created, deleted, or updated.

      Making use of the changes in FDP-1518 and FDP-1519, the en-datapath-sync node should be able to incrementally handle datapaths.

      In most cases, if a datapath is updated, it simply means writing an appropriate update to the corresponding southbound datapath_binding.

      The major exception to this is if requested tunnel keys are updated in a way such that it creates a conflict with existing southbound tunnel keys. It may be possible to sort these conflicts out incrementally, but we may need to fall back to a recompute in this case.

              lorenzobianconi lorenzo bianconi
              mmichelson Mark Michelson
              Jianlin Shi Jianlin Shi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: