Date: Tue, 10 Apr 2012 10:21:52 -0700 (PDT) From: Sushanth Rai <sushanth_rai@yahoo.com> To: John Baldwin <jhb@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: Startvation of realtime piority threads Message-ID: <1334078512.27271.YahooMailClassic@web180014.mail.gq1.yahoo.com> In-Reply-To: <201204100957.39465.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks. I'll try to back port locally.=0A=0ASushanth=0A=0A--- On Tue, 4/10/= 12, John Baldwin <jhb@freebsd.org> wrote:=0A=0A> From: John Baldwin <jhb@fr= eebsd.org>=0A> Subject: Re: Startvation of realtime piority threads=0A> To:= "Sushanth Rai" <sushanth_rai@yahoo.com>=0A> Cc: freebsd-hackers@freebsd.or= g=0A> Date: Tuesday, April 10, 2012, 6:57 AM=0A> On Monday, April 09, 2012 = 4:32:24 pm=0A> Sushanth Rai wrote:=0A> > I'm using stock 7.2. The prioritie= s as defined in=0A> priority.h are in this range:=0A> > =0A> > /*=0A> >=A0 = * Priorities range from 0 to 255, but differences=0A> of less then 4 (RQ_PP= Q)=0A> >=A0 * are insignificant.=A0 Ranges are as=0A> follows:=0A> >=A0 *= =0A> >=A0 * Interrupt threads:=A0 =A0 =A0 =A0=0A> =A0=A0=A00 - 63=0A> >=A0 = * Top half kernel threads:=A0=0A> =A0=A0=A064 - 127=0A> >=A0 * Realtime use= r threads:=A0 =A0=0A> =A0=A0=A0128 - 159=0A> >=A0 * Time sharing user threa= ds:=A0=A0=A0160=0A> - 223=0A> >=A0 * Idle user threads:=A0 =A0 =A0 =A0=0A> = =A0=A0=A0224 - 255=0A> >=A0 *=0A> >=A0 * XXX If/When the specific interrupt= thread and=0A> top half thread ranges=0A> >=A0 * disappear, a larger range= can be used for user=0A> processes.=0A> >=A0 */=0A> > =0A> > The trouble i= s with vm_waitpfault(), which explicitly=0A> sleeps at PUSER.=0A> =0A> Ah, = yes, PUSER is the one Pxxx not in "top half kernel=0A> threads".=A0 You can= patch=0A> that locally, but you may have better lucking using 9.0 (or=0A> = backporting my=0A> fixes in 9.0 back to 7 or 8).=A0 They were too invasive= =0A> to backport to FreeBSD=0A> 7/8, but you could still do it locally (I'v= e used them at=0A> work on both 7 and 8).=0A> =0A> -- =0A> John Baldwin=0A>= _______________________________________________=0A> freebsd-hackers@freebs= d.org=0A> mailing list=0A> http://lists.freebsd.org/mailman/listinfo/freebs= d-hackers=0A> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe= @freebsd.org"=0A>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1334078512.27271.YahooMailClassic>