From owner-freebsd-current@FreeBSD.ORG Thu Jan 29 07:31:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB4FC16A4CE for ; Thu, 29 Jan 2004 07:31:13 -0800 (PST) Received: from ms001msg.fastwebnet.it (ms001msg.fastwebnet.it [213.140.2.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id D953943D76 for ; Thu, 29 Jan 2004 07:30:56 -0800 (PST) (envelope-from andrea.vacondio@fastwebnet.it) Received: from [37.255.162.74] (37.255.162.74) by ms001msg.fastwebnet.it (6.7.019) id 3FE794EB005A7B36 for freebsd-current@freebsd.org; Thu, 29 Jan 2004 16:30:55 +0100 From: Andrea Vacondio To: freebsd-current@freebsd.org Message-Id: <1075389432.15210.10.camel@Torakiki-Linuz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4-8mdk Date: Thu, 29 Jan 2004 16:17:19 +0100 X-Mailman-Approved-At: Fri, 30 Jan 2004 05:30:02 -0800 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Questions about ULE and Priority Propagation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: andrea.vacondio@fastwebnet.it List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2004 15:31:13 -0000 Hi all, i'm writing a document on schedulers in modern OS.. i've some questions about the FreeBSD ULE scheduler.. First of all i couldnt find a good explanation for "priority propagation", how does it work?? Second and most important,i'm reading Jeff Roberson documents about ULE, he says there are 2 queues, current and next.. the scheduler picks up from current queue and when its empty next and current r switched. This guarantees fairness, but later it's written that any intrrupt, real-time and iteractive thread is inserted into current queue..given this, i'm wondering if it could happen that a lot of real-time or interective threads prevent queues swithing..perhaps i'm missing something.. thank you in advance Andrea