From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 25 00:49:46 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 D0C1316A4CE for ; Fri, 25 Feb 2005 00:49:46 +0000 (GMT) Received: from smtp.ucla.edu (smtp.ucla.edu [169.232.48.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3B5243D41 for ; Fri, 25 Feb 2005 00:49:46 +0000 (GMT) (envelope-from ashcs@ucla.edu) Received: from mail.ucla.edu (mail.ucla.edu [169.232.46.135]) by smtp.ucla.edu (8.13.1/8.13.1) with ESMTP id j1P0nkbZ021136 for ; Thu, 24 Feb 2005 16:49:46 -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 j1P0njir004354 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Thu, 24 Feb 2005 16:49:46 -0800 Message-ID: <003d01c51ad3$ef5b5910$abe243a4@ash> From: "Ashwin Chandra" To: Date: Thu, 24 Feb 2005 16:49:59 -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: 1.054 X-Spam-Score: * 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.c Quantum change 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: Fri, 25 Feb 2005 00:49:46 -0000 Quick question for you hackers! If i wanted to change the scheduler to have a certain marked bad process = have a higher time quantum than everyone elses (because it is behaving = bad, high mem usage and context switching) to let it run longer to = finish faster and avoid context switches and swapping, is this possible = in the current scheduler without major changes to it? Right now the = scheduler works by having a uniform quantum for all processes, am i = correct? Thanks Ash