Hi,
I'm looking into test_schedule_one_single() test case and I noticed that
fair behavior of the scheduler is required for this test to pass -  a core
must receive from the scheduler exactly the same number of the frames it
sent to the queue.
Also an PULL model is assumed here.

if (create_queue(thr, msg_pool, prio)) ----> *enqueues one buffer*
                return -1;

        t1 = odp_time_get_cycles();

        for (i = 0; i < QUEUE_ROUNDS; i++) {
                buf = odp_schedule_one(&queue, ODP_SCHED_WAIT);
                if (odp_queue_enq(queue, buf)) {
                        ODP_ERR("  [%i] Queue enqueue failed.\n", thr);
                        return -1;
                }
        }

Is this the assumed scheduler behavior for ODP (1.0)? As of now there is
only one global scheduler envisioned for ODP, it may not be supported by
all platforms or supported at the maximum level of performance.

Thanks,
Alex
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to