Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-971

Refork worker thread datastructures in parallel

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • None
    • VPPInfra
    • None

      VPP-967 ensures vlib_worker_thread_node_runtime_update() only runs once per barrier sync, just before barrier release.  This reduces the time the barrier is held, and reduces packet loss.

      However, vlib_worker_thread_node_runtime_update() remains O(N), where N is the number of worker threads, because it rebuilds each thread's clone datastructures in sequence.

      The proposal is to do this work in parallel, on the indiviual worker threads, just after the barrier is released

       

            colintd Colin Tregenza Dancer
            colintd Colin Tregenza Dancer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: