From owner-freebsd-questions@FreeBSD.ORG Thu Sep 22 06:43:42 2005 Return-Path: X-Original-To: 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 A811F16A41F for ; Thu, 22 Sep 2005 06:43:42 +0000 (GMT) (envelope-from jason@ec.rr.com) Received: from ms-smtp-04-eri0.southeast.rr.com (ms-smtp-04-lbl.southeast.rr.com [24.25.9.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DB7243D48 for ; Thu, 22 Sep 2005 06:43:41 +0000 (GMT) (envelope-from jason@ec.rr.com) Received: from [192.168.1.101] (cpe-065-184-205-194.ec.res.rr.com [65.184.205.194]) by ms-smtp-04-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id j8M6hc1u017651; Thu, 22 Sep 2005 02:43:39 -0400 (EDT) Message-ID: <43325422.2070308@ec.rr.com> Date: Thu, 22 Sep 2005 02:50:10 -0400 From: jason User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050814) X-Accept-Language: en-us, en MIME-Version: 1.0 To: infofarmer@gmail.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: questions@freebsd.org Subject: Re: AMD Sempron CPUTYPE & Co. 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: Thu, 22 Sep 2005 06:43:42 -0000 Andrew P. wrote: >Hello! > >So I have a Sempron 2500+ CPU, one that supports >SSE3. What should I place in my /etc/make.conf? I use >ssh with X11Forward very often, so OpenSSL should >be compiled to be as fast as it can be on this CPU. >Here's a part of dmesg: > >CPU: AMD Sempron(tm) Processor 2500+ >(1407.05-MHz 686-class CPU) >Origin = "AuthenticAMD" Id = 0x20fc2 Stepping = 2 > > Features=0x78bfbffPAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV, >PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> > Features2=0x1 > AMD Features=0xe2500800,LM,3DNow+,3DNow> > >I want to use SSE3, but I don't want to set CPUTYPE >to nocona, cause that way compilers won't ever use >AMD features. Is there a way to tell compilers to use >every feature I've got? > > >Thanks very much, >Andrew P. >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > man make.conf and man gcc You will be limited by the gcc version on FreeBSD. You can use gcc 4 for your apps, and all that SSE and 3DNow stuff is not currently allowed in the kernel. I remember ready, maybe on slashdot, where a man did very little work to do a native port of ssh to native amd64 code and got a hugh speed boost. Making sure you get a optimized version os ssh like what I described will make a much bigger difference than just adding amd64 as your cp type to make.conf. Jason