This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [ANN] Userspace M-on-N threading model implementation. Alpha release.
- From: Evgeniy Polyakov <johnpol at 2ka dot mipt dot ru>
- To: Lee Revell <rlrevell at joe-job dot com>
- Cc: linux-kernel at vger dot kernel dot org, libc-alpha at sources dot redhat dot com
- Date: Thu, 1 Feb 2007 10:09:30 +0300
- Subject: Re: [ANN] Userspace M-on-N threading model implementation. Alpha release.
- References: <20070129145227.GA10524@2ka.mipt.ru> <75b66ecd0701312028w7866c608hbf70593055c92b19@mail.gmail.com>
On Wed, Jan 31, 2007 at 11:28:07PM -0500, Lee Revell (rlrevell@joe-job.com) wrote:
> On 1/29/07, Evgeniy Polyakov <johnpol@2ka.mipt.ru> 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