From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 08:46:08 2004 Return-Path: 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 C1FB916A4CE; Mon, 23 Feb 2004 08:46:08 -0800 (PST) Received: from conn.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD65743D1D; Mon, 23 Feb 2004 08:46:08 -0800 (PST) (envelope-from hawkeyd@visi.com) Received: from sheol.localdomain (hawkeyd-fw.dsl.visi.com [208.42.101.193]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id C58488597; Mon, 23 Feb 2004 10:46:07 -0600 (CST) Received: (from hawkeyd@localhost) by sheol.localdomain (8.11.6p2/8.11.6) id i1NGk7B29605; Mon, 23 Feb 2004 10:46:07 -0600 (CST) (envelope-from hawkeyd) X-Spam-Policy: http://www.visi.com/~hawkeyd/index.html#mail Date: Mon, 23 Feb 2004 10:46:07 -0600 From: D J Hawkey Jr To: "M. Warner Losh" Message-ID: <20040223164607.GA29519@sheol.localdomain> References: <20040222150723.GA25548@sheol.localdomain> <20040222161211.GB35539@marvin.home.local> <20040222172039.GA25979@sheol.localdomain> <20040223.091205.31502112.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040223.091205.31502112.imp@bsdimp.com> User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org cc: tfrank@optushome.com.au cc: hawkeyd@visi.com cc: freebsd-questions@freebsd.org Subject: Re: Clarification needed on Handbook: Tracking for Multiple Machines X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hawkeyd@visi.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 16:46:08 -0000 On Feb 23, at 09:12 AM, M. Warner Losh wrote: > > In message: <20040222172039.GA25979@sheol.localdomain> > D J Hawkey Jr writes: > : True or False: Setting CPUTYPE to the lowest target CPU ("p2") in > : a build machine's make.conf will cripple the performance of target > : machines with higher CPUs ("p3", "p4", "i586", "i686", etc.). > > False. It might have a minor impact on performance, but not a major > one. At least in my experience. Minor here means < 10% for something > like the world stone. Cripple to me implies > 25%. OK, thanks. Just to satisfy my anal-retentive side, would that ~10% degradation be a higher level of performance on a PIII (or higher) with no CPUTYPE specified at all, given the same *FLAGS? > : If "True", for optimized code across all machines, the code should > : just be built on each machine, right? > > That would give slightly better performance. However, it can be more > pain than it is worth if the number of machine types is high. Consuming considerably more time and disk space, a shell script to alter make.conf and rename /usr/obj between the build for each machine is doable, though pro'lly not worth it. The install at each each box would just have to mount it's corresponding /usr/obj tree. Thanks, Warner, Dave -- ______________________ ______________________ \__________________ \ D. J. HAWKEY JR. / __________________/ \________________/\ hawkeyd@visi.com /\________________/ http://www.visi.com/~hawkeyd/