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

Refork worker thread data structures in parallel

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Medium Medium
    • 17.10
    • None
    • VPPInfra
    • None

      To reduce the length that the barrier is held (and therefore reduce packet loss), VPP-967 changes vlib_worker_thread_node_runtime_update() so that it only runs one per barrier sync, just before the barrier is released. 

      This change extends that modification such that the rebuild of the per-thread data happens in parallel on the worker threads, rather than being done serially on the main thread.  For systems with large number of worker threads, this substantially reduces the refork time.

      For various reasons the patch for this issue includes the code which was originally submitted under VPP-967 .

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

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days
                3d