On Wed, Jan 31, 2007 at 11:28:07PM -0500, Lee Revell ([EMAIL PROTECTED]) wrote: > On 1/29/07, Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > >1. Scheduling fairness. > >Since kernel does not know about multiple threads behind given process, > >it can not add it appropriate number of timeslices for execution. > >Can be solved either by more tight collaboarion of the userspace and > >kernelspace schedulers or simply by increasing process' nice value. > > nice value is only meaningful for SCHED_OTHER. How will you handle a > multithreaded realtime application that uses SCHED_OTHER as well as > SCHED_FIFO threads?
Threads created inside one process obviously can not compete with RT threads created by other process. Instead process, which threads have RT priority itself should change its priority to RT to compete with other RT process. (By RT I mean any cases except SCHED_OTHER which is default). > Lee -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/