From owner-freebsd-stable@FreeBSD.ORG Thu Dec 15 05:31:04 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B73D216A41F for ; Thu, 15 Dec 2005 05:31:04 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from smtp103.biz.mail.re2.yahoo.com (smtp103.biz.mail.re2.yahoo.com [68.142.229.217]) by mx1.FreeBSD.org (Postfix) with SMTP id 1852F43D49 for ; Thu, 15 Dec 2005 05:31:03 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 87067 invoked from network); 15 Dec 2005 05:31:03 -0000 Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@24.99.22.177 with login) by smtp103.biz.mail.re2.yahoo.com with SMTP; 15 Dec 2005 05:31:03 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 6103360D9; Thu, 15 Dec 2005 00:31:02 -0500 (EST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00645-01; Thu, 15 Dec 2005 00:31:01 -0500 (EST) Received: from [192.168.1.9] (bastion.noacks.org [192.168.1.9]) by optimator.noacks.org (Postfix) with ESMTP id 1DA3260D4; Thu, 15 Dec 2005 00:31:01 -0500 (EST) Message-ID: <43A0FF9A.6040505@alumni.rice.edu> Date: Thu, 15 Dec 2005 00:31:06 -0500 From: Jonathan Noack User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: Mike Jakubik References: <20051215002618.B4D3B5D07@ptavv.es.net> <43A0E607.2030101@alumni.rice.edu> <43A0E916.7070204@samsco.org> <43A0EC9F.9080800@paradise.net.nz> <43A0FC61.3060704@rogers.com> In-Reply-To: <43A0FC61.3060704@rogers.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at noacks.org Cc: stable@freebsd.org, Mark Kirkwood Subject: Re: kernel cpu entries X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2005 05:31:04 -0000 Mike Jakubik wrote: > Mark Kirkwood wrote: >> Is a minor update to the handbook needed in order avoid confusion >> then? e.g. I have been commenting out CPU_I586 on all my PIII systems >> in the (mistaken it would seem) belief that having CPU_I686 only was >> better. > > Agreed, i have always just used I686, assuming it inherited the features > of I586. I think most people will assume this. A quick benchmark (average of five 'dd' runs sending a large file to /dev/null using a blocksize of 32k) similar to that suggested by Matt Dillon (http://www.freebsd.org/projects/ideas/#p-memcpy) shows ~3% increase with I586_CPU on a dual Pentium III. This was on a lightly loaded live system, but I think it shows that using I586_CPU on an i686 CPU does show a performance improvement (at least in certain tests). I have done no testing with blowfish to see how I586_CPU might affect it as I use AES, but it seems it should be recommended for i686 CPUs as well. -Jonathan