From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 25 18:25:35 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 A29BE16A4CE for ; Fri, 25 Feb 2005 18:25:35 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A5AE43D2F for ; Fri, 25 Feb 2005 18:25:35 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so548549rnf for ; Fri, 25 Feb 2005 10:25:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=NhgrspCr32iKOJjeGJO1pbRkwae3W3hDcP4B5LofhPysiaHq9sGozPfcWIjnA6mBcu0HtIKcyyOnELRQyttKXDQNinPhgnhMfs38CH46T2XqmtLaou5JfAp4i5p+rgKqm54VmhRYjpBp7JqBNOj0Evb124RBEpTIKOIqY6/KNLs= Received: by 10.39.2.48 with SMTP id e48mr159458rni; Fri, 25 Feb 2005 10:25:34 -0800 (PST) Received: by 10.38.101.19 with HTTP; Fri, 25 Feb 2005 10:25:34 -0800 (PST) Message-ID: Date: Fri, 25 Feb 2005 12:25:34 -0600 From: Eric Kjeldergaard To: Ashwin Chandra In-Reply-To: <003d01c51ad3$ef5b5910$abe243a4@ash> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <003d01c51ad3$ef5b5910$abe243a4@ash> cc: freebsd-hackers@freebsd.org Subject: Re: sched_4bsd.c Quantum change X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eric Kjeldergaard 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 18:25:35 -0000 On Thu, 24 Feb 2005 16:49:59 -0800, Ashwin Chandra wrote: > 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? anything wrong with nice(1)? -- If I write a signature, my emails will appear more personalised.