From owner-freebsd-current@FreeBSD.ORG Wed Apr 21 08:58:19 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 B8BC416A4CE for ; Wed, 21 Apr 2004 08:58:19 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D21043D39 for ; Wed, 21 Apr 2004 08:58:19 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) i3LFwCiR050896; Wed, 21 Apr 2004 08:58:12 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)i3LFwBFC050895; Wed, 21 Apr 2004 08:58:11 -0700 (PDT) (envelope-from sgk) Date: Wed, 21 Apr 2004 08:58:11 -0700 From: Steve Kargl To: Nikos Ntarmos Message-ID: <20040421155811.GA50887@troutmask.apl.washington.edu> References: <20040421003230.GA17810@diogenis.ceid.upatras.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040421003230.GA17810@diogenis.ceid.upatras.gr> User-Agent: Mutt/1.4.1i cc: current@freebsd.org Subject: Re: P_NOLOAD + ULE = high load averages X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2004 15:58:19 -0000 On Wed, Apr 21, 2004 at 03:32:30AM +0300, Nikos Ntarmos wrote: > Hi all. > > There was a thread on "unusually high load averages" when running > under sched_ule, which (afaik) came at an abrupt halt in January 2004. > Anyway, I've been looking at this thing lately and have come to > believe that "pagezero" is (one of) the culprit(s). IMO the source of > the problem lies in /sys/kern/sched_ule.c having no provision for > processes with P_NOLOAD set. With pagezero not running at PRI_ITHD, > kseq_load_{add,rem} count pagezero as oh-another-normal-process, thus > the "expected-plus-one" load reported in the above thread. The > attached diff should fix this (at least it has fixed it here -- > running 5.2-CURRENT on a PCA56, just cvsup'ed from > cvsup.gr.freebsd.org). Could someone please review/commit the changes > or should I better send-pr it? > Nikos, Jeff has been fairly quiet of the mailing list of late. I suggest that you submit a PR, so your patch doesn't get lost. -- Steve