From owner-freebsd-questions@FreeBSD.ORG Sun May 29 14:48:23 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B7FB16A41C for ; Sun, 29 May 2005 14:48:23 +0000 (GMT) (envelope-from iqgrande@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EF8143D1D for ; Sun, 29 May 2005 14:48:23 +0000 (GMT) (envelope-from iqgrande@gmail.com) Received: by zproxy.gmail.com with SMTP id 16so1036843nzp for ; Sun, 29 May 2005 07:48:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=WgnyOzwvLHrd/zM9jUwrk+M348IKz4gUtZEb/q6crzQncADDH4kcLNZF6KIvSPBlhWw0Y8Eqfv2IMP7dVJOVbBBH6XXtJtMGcyLpt5oh+I5cs9hLCF5wZKxA8nay0oNoiZtCZaTLN1J+wjqtgg0JuAuBogwaJoa/joUvGe/3uNE= Received: by 10.36.109.18 with SMTP id h18mr1377293nzc; Sun, 29 May 2005 07:48:22 -0700 (PDT) Received: from ?192.168.0.2? ([24.30.63.114]) by mx.gmail.com with ESMTP id 6sm1537763nzn.2005.05.29.07.48.22; Sun, 29 May 2005 07:48:22 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v730) Content-Transfer-Encoding: 7bit Message-Id: <2F8EA84E-D7CE-4B5E-917D-3412D1077DA8@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: "Anthony M. Agelastos" Date: Sun, 29 May 2005 10:48:20 -0400 X-Mailer: Apple Mail (2.730) Subject: Kernel Optimizations Regarding SSE 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: Sun, 29 May 2005 14:48:23 -0000 Hello all, I am, as we converse, rebuilding world to 5-STABLE (from 5.4-STABLE 3 weeks ago). This is the first time that I am building a custom kernel and it only deviates from GENERIC in that I only have cpu I686_CPU (without the I586 and I486 that were there from GENERIC) and I added option CPU_ENABLE_SSE (per the Handbook's suggestion for Video Playback) That is it. In watching the compile of the new kernel, I notice that just about every cc command has the options: -mno-mmx -mno-3dnow -mno-sse -mno-sse2 Is it me, or does those flags appear to be turning off the very thing I wanted turned on (to turn it on, wouldn't it be -mmmx -m3dnow -msse -msse2)? My machine, since it is busy right now compiling in Single User Mode and I can't get to dmesg, is running 5.4-STABLE synced from 3 weeks ago, compiling 5-STABLE synced from yesterday evening (EDT). My machine's specs are as follows: Pentium III // 450 MHz 320 MB RAM Nvidia Riva TNT / 8 MB VRAM Back when I had Gentoo on this machine, I had to enable sse and sse2 when I compiled things like MPlayer so the machine could handle playing back DVDs (and not drop half of the frames). After reading through make.conf's example and its manpage, I was also wondering if these (sse) were options that I should put in there (and if so, how do I do it)? Any and all guidance on the matter would be greatly appreciated. Thank you. -Anthony PS - In case it is relevant, and I am forced to go off of memory since my machine is still compiling, my make.conf file has the flags required so that when things compile, they have the options -O -pipe -march=pentium3 (there are only about 3 lines in there... I can list them if needed once this is done compiling).