From owner-freebsd-arch@FreeBSD.ORG Mon May 23 12:08:58 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 BC29F16A41C; Mon, 23 May 2005 12:08:58 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E61843D1F; Mon, 23 May 2005 12:08:58 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms064.mailsrvcs.net ([192.168.1.1]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IGX00HLOZ2VJCZ1@vms040.mailsrvcs.net>; Mon, 23 May 2005 07:08:55 -0500 (CDT) Date: Mon, 23 May 2005 07:08:55 -0500 (CDT) From: Sergey Babkin To: Stephan Uphoff , Colin Percival Message-id: <17227882.1116850135277.JavaMail.root@vms064.mailsrvcs.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Cc: "freebsd-arch@freebsd.org" Subject: Re: 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: Mon, 23 May 2005 12:08:58 -0000 >> > Beside benchmarking - is there any other real use for RDTSC ? >> >> Some (broken) software uses the TSC in combination with external events in >> order to obtain entropy for cryptographic key generation. As a result, >> disabling RDTSC could lead to non-obvious but very problematic breakage. > >Both bde and phk seem to agree with you that just disabling RDTSC is not >an option :-( RDTSC is very useful for profiling. So given a choice for disabling RDTSC or disabling hyperthreading personally I'd have no doubts that disabling hyperthreading wins. So far I've seen no use for hyperthreading whatsoever. If anything, it seems to make the machine slower due to I think extra contention for memory/cache, and probably due to the extra scheduling overhead. So I just get it disabled in the BIOS. Maybe I've just haven't seen the "right" kind of applications. -SB