From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 12 22:58:41 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 B4AD516A40F for ; Tue, 12 Sep 2006 22:58:41 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DFE143D46 for ; Tue, 12 Sep 2006 22:58:41 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k8CMuGHS040465; Tue, 12 Sep 2006 16:56:16 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 12 Sep 2006 16:56:18 -0600 (MDT) Message-Id: <20060912.165618.-1877556476.imp@bsdimp.com> To: John.Giacomoni@colorado.edu From: "M. Warner Losh" In-Reply-To: <2D3EAACB-BB70-45B1-A018-EBCF7126F7E9@colorado.edu> References: <2D3EAACB-BB70-45B1-A018-EBCF7126F7E9@colorado.edu> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 12 Sep 2006 16:56:17 -0600 (MDT) Cc: freebsd-hackers@freebsd.org Subject: Re: Detect Bus Speed? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 22:58:41 -0000 In message: <2D3EAACB-BB70-45B1-A018-EBCF7126F7E9@colorado.edu> John Giacomoni writes: : Is there a way to determine the current bus speed a PCI-X slot is : running at? Not easily. The host's BIOS controls that, and some power management strategies clock down the bus from time to time to save power... If you have something that's bus speed dependent, it might be better to use a strategy that instead responds to events that you can control, like DMA completion and the like and adapt in real time. Warner