Re: [ANN] Userspace M-on-N threading model implementation. Alpha release.

From: Evgeniy Polyakov
Date: Thu Feb 01 2007 - 02:11:37 EST


On Wed, Jan 31, 2007 at 11:28:07PM -0500, Lee Revell (rlrevell@xxxxxxxxxxx) wrote:
> On 1/29/07, Evgeniy Polyakov <johnpol@xxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/