Messages in this thread | | | Date | Mon, 29 Nov 2004 16:57:52 +0100 | From | Ingo Molnar <> | Subject | Re: Priority Inheritance Test (Real-Time Preemption) |
| |
* Ingo Molnar <mingo@elte.hu> wrote:
> > iteration over a list which can be O(number of waiters * locking > > depth) long. As long as we are in the kernel both is "controlled", > > i.e. one can see the worst-case number in stress test and know it > > can't get worse. * > > which list do you mean? Note that the pi_list depends on the number of > _RT-tasks_, not on the number of SCHED_NORMAL tasks. So you can create > an arbitrary number of SCHED_NORMAL tasks, they wont impact the > overhead of mutexes! > > i very intentionally made it independent of nr-of-non-RT-tasks.
and i'm regularly testing this property with 'hackbench 50', which creates over a 1000 wildly scheduling non-RT tasks. Latency is not affected by such workloads.
Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |