From owner-freebsd-hackers Fri Sep 3 1:35:43 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dfw-ix8.ix.netcom.com (dfw-ix8.ix.netcom.com [206.214.98.8]) by hub.freebsd.org (Postfix) with ESMTP id C33D915004 for ; Fri, 3 Sep 1999 01:35:40 -0700 (PDT) (envelope-from asami@stampede.cs.berkeley.edu) Received: (from smap@localhost) by dfw-ix8.ix.netcom.com (8.8.4/8.8.4) id DAA08279; Fri, 3 Sep 1999 03:32:47 -0500 (CDT) Received: from sji-ca43-43.ix.netcom.com(209.111.209.43) by dfw-ix8.ix.netcom.com via smap (V1.3) id rma008275; Fri Sep 3 03:32:27 1999 Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id BAA95668; Fri, 3 Sep 1999 01:16:17 -0700 (PDT) To: Jonathan Lemon Cc: jkh@zippy.cdrom.com, hackers@freebsd.org Subject: Re: CFD: "bogomips" CPU performance metric References: <199909030047.TAA16433@free.pcs> From: asami@freebsd.org (Satoshi - Ports Wraith - Asami) Date: 03 Sep 1999 01:16:16 -0700 In-Reply-To: Jonathan Lemon's message of "Thu, 2 Sep 1999 19:47:31 -0500 (CDT)" Message-ID: Lines: 29 X-Mailer: Gnus v5.7/Emacs 20.4 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * From: Jonathan Lemon * What I want is a simple new readable sysctl, something like: * * hw.clockrate: 132 * * I think that this would be useful both for development (how fast * is that stupid machine down in the bunker?), and system admininstration * (who needs a cpu upgrade this year?). I like that. * Doing this for Pentium and better systems should be trivial. Doing * it for 486 and lower would just add a timing loop. Doing it for SMP * would be harder. * * hw.cpu0.clockrate: 233 * hw.cpu1.clockrate: 233 * * Possibly? The implementer gets to pick a better name than these. How about hw.clockrate.cpu0: 233 hw.clockrate.cpu1: 233 (cpu0 only for uni-procs, of course). Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message