From owner-freebsd-current@FreeBSD.ORG Tue Aug 28 04:48:24 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A38C516A419 for ; Tue, 28 Aug 2007 04:48:24 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.freebsd.org (Postfix) with ESMTP id 9E40713C46C for ; Tue, 28 Aug 2007 04:48:23 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=daemon.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.67 (FreeBSD)) (envelope-from ) id 1IPszt-000C1C-TY; Tue, 28 Aug 2007 13:48:14 +0900 Message-ID: <46D3A90D.8050703@micom.mng.net> Date: Tue, 28 Aug 2007 12:48:13 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.6 (X11/20070809) MIME-Version: 1.0 To: Kostik Belousov References: <46D25242.10504@micom.mng.net> <20070827231419.H30469@fledge.watson.org> <20070828044133.GR2332@deviant.kiev.zoral.com.ua> In-Reply-To: <20070828044133.GR2332@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-current@freebsd.org" , Robert Watson Subject: Re: computer becomes slow when compiling something X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 28 Aug 2007 04:48:24 -0000 Kostik Belousov wrote: > On Mon, Aug 27, 2007 at 11:14:58PM +0100, Robert Watson wrote: > >> On Mon, 27 Aug 2007, Ganbold wrote: >> >> >>> I'm running FreeBSD 7.0-CURRENT with SCHED_ULE, INVARIANTS, WITNESS >>> enabled kernel. >>> >> Try the same thing again without INVARIANTS and WITNESS, both of which can >> consume a lot of CPU in kernel on a very active system, especially if lots >> of vnodes are being allocated and freed. Especially WITNESS. >> > > It does happens on the kernels without debug options, in particular, > WITNESS and INVARIANTS. > > It happens when a lot of short-lived processes are rapidly created. > Compilation is a good example of such workload; running configure script > is even better. > What would be a solution to this kind of problems? thanks, Ganbold -- That's the thing about people who think they hate computers. What they really hate is lousy programmers. -- Larry Niven and Jerry Pournelle in "Oath of Fealty"