From owner-freebsd-questions@FreeBSD.ORG Wed Jun 1 20:46:23 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF4781065673 for ; Wed, 1 Jun 2011 20:46:23 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6F6238FC0C for ; Wed, 1 Jun 2011 20:46:23 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p51KkM6W019557; Wed, 1 Jun 2011 14:46:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p51KkMmv019554; Wed, 1 Jun 2011 14:46:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 1 Jun 2011 14:46:22 -0600 (MDT) From: Warren Block To: Adam Vande More In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Wed, 01 Jun 2011 14:46:22 -0600 (MDT) Cc: questions@freebsd.org Subject: Re: I486_CPU or I586_CPU in kernel config X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2011 20:46:23 -0000 On Mon, 30 May 2011, Warren Block wrote: > On Mon, 30 May 2011, Adam Vande More wrote: > >> Perhaps this is the one you meant? >> >> http://lists.freebsd.org/pipermail/freebsd-questions/2009-January/190568.html > > That's the one! Thanks! > >> Actually the two threads touch on the same subject, and it seems removal of >> those options is still desirable on newer CPU's. > > sys/i386/i386/support.s is mentioned, but doesn't seem to have anything > explicitly specific for 586. There are some i686 entries. > > A test for cpu_class==CPUCLASS_586 in /sys/i386/isa/npx.c is mentioned in the > thread, but that check isn't in the current code. A little empirical testing: Times for buildworld after a fresh reboot, /usr/obj/usr deleted, GENERIC included, running ccache: default (486/586 included) 9:05.84 nocpu I486, nocpu I586_CPU 9.27.88 nocpu I486_CPU 8.53.86 So maybe a 6% increase by removing 486 but leaving 586... These were not rigorous benchmarks, it might just be measurement noise.