[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |NON REPRODUCIBLE -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp
[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 --- Comment #11 from Mike Holmes mike.hol...@linaro.org --- Will close this next week if there is no update -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp
[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 Bill Fischofer bill.fischo...@linaro.org changed: What|Removed |Added CC||bill.fischo...@linaro.org --- Comment #10 from Bill Fischofer bill.fischo...@linaro.org --- Has this bug still been verified as current? -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp
[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added CC||mike.hol...@linaro.org Assignee|ciprian.ba...@linaro.org|lng-odp@lists.linaro.org -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp
[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 --- Comment #9 from Ciprian Barbu ciprian.ba...@linaro.org --- Petri started reworking the scheduler for linux-generic, but I will have to check if the bug is still present. -- You are receiving this mail because: You are on the CC list for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp
[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 --- Comment #8 from Ciprian Barbu ciprian.ba...@linaro.org --- Just one addition, if an empty queue is selected the current set of queues is abandoned (j++, id++), which is wrong because there might be another queue in the set which is not empty. -- You are receiving this mail because: You are on the CC list for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp
[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 --- Comment #7 from Ciprian Barbu ciprian.ba...@linaro.org --- That's exactly the problem. When an empty queue is selected the existing code increments the two ids and thus selects the next set of queues. This is ok as long as there is at least one other schedulable queue which is not empty in the set of queues that follows processing, but otherwise the inner loop ends and the next priority is chosen. The first patch illustrates exactly this scenario. Thank you Ola for your input, hopefully Petri will have some time to look at this too. -- You are receiving this mail because: You are on the CC list for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp
[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 --- Comment #5 from Ciprian Barbu ciprian.ba...@linaro.org --- If you look at the thread containing the two patches mentioned in the description you can see I had absolutely no response from anyone. I pinged Ola and Petri yesterday, but I had no response back. -- You are receiving this mail because: You are on the CC list for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp
[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 --- Comment #6 from Ola Liljedahl ola.liljed...@linaro.org --- The second patch (42313), is this because continue (when the loop detects empty queues) would incorrectly perform the increments (j++, id++). By moving them to the end of the loop body, continue will not perform those increments. I don't know this code good enough to know whether this is the correct solution. -- You are receiving this mail because: You are on the CC list for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp
[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added Assignee|mike.hol...@linaro.org |ciprian.ba...@linaro.org --- Comment #4 from Mike Holmes mike.hol...@linaro.org --- Ciprian what is the status for this ? -- You are receiving this mail because: You are on the CC list for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp
[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 --- Comment #2 from Ciprian Barbu ciprian.ba...@linaro.org --- I wanted to include this test in the scheduler testsuite, I had it in my local sources before submitting the patch, but when I discovered it I was running it on multiple threads and I wasn't sure what was the expected behavior in such situations. In a subsequent HO we had I brought the issue up and Bala suggested that for a HW platform at least there are delays and other things that make impossible to predict what order the packets arrive at the scheduler. So I decided to put the testcase away until I figure out whether there is a real problem or not. -- You are receiving this mail because: You are on the CC list for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp
[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 Ola Liljedahl ola.liljed...@linaro.org changed: What|Removed |Added CC||ola.liljed...@linaro.org --- Comment #3 from Ola Liljedahl ola.liljed...@linaro.org --- Also with SW scheduling there can be delays before buffers from higher priority queues are dispatched to threads. This could due to prescheduling and multi-buffer scheduling of prior low-priority queues, it takes a while for those buffers to be consumed and only then will the higher priority buffers be dispatched. odp_schedule_one() was the solution for this be we decided to remove it as it cannot be implemented on all (or any?) platforms. -- You are receiving this mail because: You are on the CC list for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp
[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added CC||lng-odp@lists.linaro.org -- You are receiving this mail because: You are on the CC list for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp
[lng-odp] [Bug 1001] linux-generic: schedule: priority scheduling broken for one thread
https://bugs.linaro.org/show_bug.cgi?id=1001 Taras Kondratiuk taras.kondrat...@linaro.org changed: What|Removed |Added CC||taras.kondrat...@linaro.org --- Comment #1 from Taras Kondratiuk taras.kondrat...@linaro.org --- Shouldn't this test be a part of scheduler testsuite? -- You are receiving this mail because: You are on the CC list for the bug.___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp