From owner-cvs-all Wed Oct 13 21:35:10 1999 Delivered-To: cvs-all@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id E139E15030; Wed, 13 Oct 1999 21:34:59 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.1/8.9.1) with ESMTP id AAA18850; Thu, 14 Oct 1999 00:34:58 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.3/8.9.1) id AAA56883; Thu, 14 Oct 1999 00:34:28 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 14 Oct 1999 00:34:28 -0400 (EDT) To: mjacob@feral.com Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha clock.c interrupt.c In-Reply-To: References: <14341.18732.575731.734319@grasshopper.cs.duke.edu> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14341.23028.588066.932812@grasshopper.cs.duke.edu> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Matthew Jacob writes: > > Rawhide: > > kern.clockrate: tick = 833, tickadj = 40, hz = 1200, profhz = 1200, stathz = 1200 <...> > > Insofar as what clock.c/interrupt.c shows- I'll plead ignorance! I haven't > fooled with schedulers since v7 days. I'd have to spend some time on it to > try and understand what is or isn't being assumed. > > Yes- I saw your example- All I was leaping in here on was the 'hz = 1024' > statement. Well, when FreeBSD runs on it, we'll worry about it ;-) But seriously, all I'm doing is part of what NetBSD is doing right now. I don't really know anything about the scheduler either. All I know is that reducing the frequency of calls to statclock dramitically improves scheduling. I think your example of a non 1024 hz just means we'll have to get statclock via hz/8 rather than hardcoding it to 128 (as NetBSD hardcodes it to 16..). I think all this could go away if the scheduler was fixed, but I'm not up to that task. Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message