From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 28 08:16:19 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C3F916A4CE for ; Mon, 28 Feb 2005 08:16:19 +0000 (GMT) Received: from smtp.ucla.edu (smtp.ucla.edu [169.232.46.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2906B43D39 for ; Mon, 28 Feb 2005 08:16:19 +0000 (GMT) (envelope-from ashcs@ucla.edu) Received: from mail.ucla.edu (mail.ucla.edu [169.232.47.135]) by smtp.ucla.edu (8.13.1/8.13.1) with ESMTP id j1S8GIW1015467 for ; Mon, 28 Feb 2005 00:16:18 -0800 Received: from ash (s226-171.resnet.ucla.edu [164.67.226.171]) (authenticated bits=0) by mail.ucla.edu (8.13.3/8.13.3) with ESMTP id j1S8GIDM016656 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Mon, 28 Feb 2005 00:16:18 -0800 Message-ID: <001a01c51d6d$d50ce500$abe243a4@ash> From: "Ashwin Chandra" To: Date: Mon, 28 Feb 2005 00:16:41 -0800 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Probable-Spam: no X-Spam-Hits: 0.528 X-Scanned-By: smtp.ucla.edu Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: sched_4BSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 08:16:19 -0000 I wanted to get some clarification about the 4BSD scheduler. I am sort = of confused why there are two forms of scheduling, one done between = processes and another done between threads in a process. The priority = calculations seem to be done only with processes and I assume that the = global run queue holds processes, not threads. Also why is there only 1 = run queue for 1 CPU. What happens to blocked processes and ready to be = runned processes? Ash