https://bugs.linaro.org/show_bug.cgi?id=2945

            Bug ID: 2945
           Summary: Potentially high (unbound) latency when threads are
                    grouped into multiple schedule groups
           Product: OpenDataPlane - linux- generic reference
           Version: master
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: ---
         Component: Scheduler
          Assignee: yi...@linaro.org
          Reporter: petri.savolai...@linaro.org
                CC: lng-odp@lists.linaro.org
  Target Milestone: ---

Scheduler loops back queues that are from different schedule group than the
thread. This may cause long and unbound latency for events in that queue, since
the same queue may be looped back many times.


        if (grp > ODP_SCHED_GROUP_ALL &&
            !odp_thrmask_isset(&sched->sched_grp[grp].mask,
                               sched_local.thr)) {
                /* This thread is not eligible for work from
                 * this queue, so continue scheduling it.
                 */
                ring_enq(ring, PRIO_QUEUE_MASK, qi);

                i++;
                id++;
                continue;
        }


This patch set fixes the problem:
https://lists.linaro.org/pipermail/lng-odp/2017-April/029671.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to