From owner-freebsd-arch@FreeBSD.ORG Fri Mar 19 20:31:00 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 758E21065676 for ; Fri, 19 Mar 2010 20:31:00 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 174CA8FC1C for ; Fri, 19 Mar 2010 20:30:59 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.4/8.14.4/NETPLEX) with ESMTP id o2JKFsMJ025701; Fri, 19 Mar 2010 16:15:54 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.2.2 (mail.netplex.net [204.213.176.10]); Fri, 19 Mar 2010 16:15:55 -0400 (EDT) Date: Fri, 19 Mar 2010 16:15:54 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Scott Long In-Reply-To: <5BED0721-442C-44B3-8B23-3D94BE5354A9@samsco.org> Message-ID: References: <4BA2CE17.2050105@delphij.net> <201003190751.26767.jhb@freebsd.org> <4BA3C41F.3000404@elischer.org> <5BED0721-442C-44B3-8B23-3D94BE5354A9@samsco.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: d@delphij.net, Julian Elischer , freebsd-arch@freebsd.org Subject: Re: [PATCH] Utilize i686, SSE and MMX by default on FreeBSD/i386 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 20:31:00 -0000 On Fri, 19 Mar 2010, Scott Long wrote: > > On Mar 19, 2010, at 12:36 PM, Julian Elischer wrote: > >> John Baldwin wrote: >>> On Thursday 18 March 2010 9:06:31 pm Xin LI wrote: >>>> Hi, >>>> >>>> I think it doesn't really make sense to by default use MACHINE_CPU=i486 >>>> when the kernel is built with SSE by default today. >>>> >>>> Attached patch uses i686 SSE MMX by default, the user can always change >>>> the default setting by overriding CPUTYPE (they have to do it as SSE is >>>> enabled by default for several years). >>> The kernel is only built with support for userland applications using SSE, it does not _use_ SSE. Similarly, the kernel is built with support for PG_NX provided on 64-bit processors, but it does not do so by failing to support older 32-bit processors. I think this change is premature. Users can already set CPUTYPE in make.conf. Also, most modern x86 server-class machines are >>> 64-bit in which case they would be running FreeBSD/amd64 and using SSE >>> already. >> >> >> and a lot of low power boxes (e.g. soekris) are 586 class. >> > > Are these machines typically installed via a GENERIC kernel from > freebsd.org release CD's? Maybe there's a market to create a new > mini-distribution tailored for these devices. It would come with a > suitable kernel and install/setup tools. Well, we have nanobsd, but having a suitable install tool for small flash-based systems where you want a nanobsd-like setup (readonly filesystems) would be very nice. I try to write procedures for our embedded systems so others (neophytes) can create and burn them, but it might be easier for someone to get started with embedded systems if they could do it from a release using an install tool. -- DE