From owner-freebsd-current@FreeBSD.ORG Mon Dec 1 22:25:26 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 1B01516A4CE; Mon, 1 Dec 2003 22:25:26 -0800 (PST) Received: from westhost42.westhost.net (westhost42.westhost.net [216.71.84.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC7A343FE0; Mon, 1 Dec 2003 22:25:24 -0800 (PST) (envelope-from mini@freebsd.org) Received: from [10.0.1.18] (12-228-118-118.client.attbi.com [12.228.118.118]) by westhost42.westhost.net (8.11.6/8.11.6) with ESMTP id hB26PNB10962; Tue, 2 Dec 2003 00:25:23 -0600 In-Reply-To: <3FCC2E15.90204@freebsd.org> References: <200311251214.23290.doconnor@gsoft.com.au> <00a701c3b33c$f798c5e0$b9844051@insultant.net> <20031126052320.GH15294@wombat.localnet> <20031127161940.I77322@gamplex.bde.org> <3FCC2E15.90204@freebsd.org> Mime-Version: 1.0 (Apple Message framework v606) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <63F2B437-2490-11D8-BEFA-000A95CD3CF8@freebsd.org> Content-Transfer-Encoding: 7bit From: Jonathan Mini Date: Mon, 1 Dec 2003 22:25:57 -0800 To: Scott Long X-Mailer: Apple Mail (2.606) 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:25:26 -0000 On Dec 1, 2003, at 10:15 PM, Scott Long wrote: > 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. Ah, I meant -s. And, that is good news. I am still running on a 4.x system most of the time, and (sigh) Linux 2.4.x the rest of the time. -- Jonathan Mini mini@freebsd.org http://www.freebsd.org