From owner-freebsd-current@FreeBSD.ORG Tue Aug 28 15:30:28 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 49F4216A41A for ; Tue, 28 Aug 2007 15:30:28 +0000 (UTC) (envelope-from oleg@admin.opentransfer.com) Received: from admin.opentransfer.com (admin.opentransfer.com [71.18.255.169]) by mx1.freebsd.org (Postfix) with ESMTP id 0A7D113C48E for ; Tue, 28 Aug 2007 15:30:27 +0000 (UTC) (envelope-from oleg@admin.opentransfer.com) Received: from admin.opentransfer.com (admin.opentransfer.com [127.0.0.1]) by admin.opentransfer.com (8.13.8/8.13.8) with ESMTP id l7SEaQgJ004165 for ; Tue, 28 Aug 2007 09:36:26 -0500 Received: (from oleg@localhost) by admin.opentransfer.com (8.13.8/8.13.8/Submit) id l7SEaQ8m004164 for freebsd-current@freebsd.org; Tue, 28 Aug 2007 09:36:26 -0500 Date: Tue, 28 Aug 2007 09:36:26 -0500 From: Oleg Nauman To: "freebsd-current@freebsd.org" Message-ID: <20070828143626.GA32611@admin.opentransfer.com> Mail-Followup-To: "freebsd-current@freebsd.org" References: <46D25242.10504@micom.mng.net> <20070827231419.H30469@fledge.watson.org> <20070828044133.GR2332@deviant.kiev.zoral.com.ua> <46D3A90D.8050703@micom.mng.net> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <46D3A90D.8050703@micom.mng.net> User-Agent: Mutt/1.4.2.1i 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 15:30:28 -0000 On Tue, Aug 28, 2007 at 12:48:13PM +0800, Ganbold wrote: > 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? From my point of view it exhibits some issues with standard SCHED_4BSD scheduler in the 7.0 (my laptop is mostly unusable during 'make buildworld' for example - keyboard exhibits lost event sometimes, sound is jerking etc etc). So I'm switched to SHED_ULE on my UP laptop; it was helpful. I'm running custom kernel without debug options though. > > 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" > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- The ultimate artifact may be found in the driven snow..