From owner-freebsd-arch@FreeBSD.ORG Wed May 25 16:54:06 2005 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3E1D16A41C; Wed, 25 May 2005 16:54:06 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from schizoid.village.org (schizoid.village.org [168.103.84.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1133F43D55; Wed, 25 May 2005 16:54:02 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (duck-pond.village.org [10.200.4.2]) by schizoid.village.org (8.12.9p2/8.12.9) with ESMTP id j4PGrhVY027207; Wed, 25 May 2005 10:53:46 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 25 May 2005 10:53:42 -0600 (MDT) Message-Id: <20050525.105342.74713758.imp@bsdimp.com> To: bms@spc.org From: "M. Warner Losh" In-Reply-To: <20050522025914.GD1108@empiric.icir.org> References: <428FC00B.3080909@freebsd.org> <1116729865.1917.92.camel@palm> <20050522025914.GD1108@empiric.icir.org> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org, cperciva@freebsd.org, ups@tree.com Subject: Re: Scheduler fixes for hyperthreading X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2005 16:54:07 -0000 In message: <20050522025914.GD1108@empiric.icir.org> Bruce M Simpson writes: : On Sat, May 21, 2005 at 10:44:25PM -0400, Stephan Uphoff wrote: : > Beside benchmarking - is there any other real use for RDTSC ? : > Is there any use of RDTSC that system requiring the security cannot live : > without? (We could even try to emulate the instruction if we really need : > to) : : A number of ports use RDTSC for high-resolution timing. The most obvious : examples being machine emulators mostly used for gaming (UAE and MAME : spring to mind, possibly also dosbox and others). Which also makes it hard to emulate, since that adds a lot of overhead to the numbers... Warner