From owner-freebsd-current@FreeBSD.ORG Mon Dec 1 22:17:09 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 567B816A4CE for ; Mon, 1 Dec 2003 22:17:09 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 1759144014 for ; Mon, 1 Dec 2003 22:16:54 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 70258 invoked by uid 1002); 2 Dec 2003 06:16:53 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 2 Dec 2003 06:16:53 -0000 Message-ID: <3FCC2E15.90204@freebsd.org> Date: Mon, 01 Dec 2003 23:15:49 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031103 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jonathan Mini References: <200311251214.23290.doconnor@gsoft.com.au> <00a701c3b33c$f798c5e0$b9844051@insultant.net> <20031126052320.GH15294@wombat.localnet> <20031127161940.I77322@gamplex.bde.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: 40% slowdown with dynamic /bin/sh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2003 06:17:09 -0000 Jonathan Mini wrote: > I have found that the cost of printing the spew often > slows down compiles measurably, especially when spewing > to an xterm running on a local XFree86 process. Even > with syscons, this is noticeable. > > I generally tend to run my builds behind the screen > port these days, which helps (screen implements a > virtual display buffer that disconnects screen updates > from the display client and the slave pty). Another > optimization worth noting is running make -q, which > silences a lot of that spam (urban legend has it that > the synchronization in parallel makes to write the build > messages causes noticeable amounts of contention). I regularly use -s. With the pipe code being completely Giant-free, I don't see a significant performance difference anymore on an SMP machine when the output is not supressed. Scott