From owner-freebsd-current@FreeBSD.ORG Tue Aug 28 15:48:48 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 490E416A417; Tue, 28 Aug 2007 15:48:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id E4F6F13C494; Tue, 28 Aug 2007 15:48:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=deviant.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1IQ3Iz-0008Kn-Ul; Tue, 28 Aug 2007 18:48:46 +0300 Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l7SFmbsq020095; Tue, 28 Aug 2007 18:48:37 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l7SFmbZl020094; Tue, 28 Aug 2007 18:48:37 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 28 Aug 2007 18:48:37 +0300 From: Kostik Belousov To: "freebsd-current@freebsd.org" Message-ID: <20070828154837.GV2332@deviant.kiev.zoral.com.ua> References: <46D25242.10504@micom.mng.net> <20070827231419.H30469@fledge.watson.org> <20070828044133.GR2332@deviant.kiev.zoral.com.ua> <46D3A90D.8050703@micom.mng.net> <20070828143626.GA32611@admin.opentransfer.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AJu7IxIPovG6hMTN" Content-Disposition: inline In-Reply-To: <20070828143626.GA32611@admin.opentransfer.com> User-Agent: Mutt/1.4.2.3i X-Scanner-Signature: 6dc4245230f22f3abb357b69a6da667e X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 1415 [August 28 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {TO: suspicious real name} X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 35 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: 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:48:48 -0000 --AJu7IxIPovG6hMTN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 28, 2007 at 09:36:26AM -0500, Oleg Nauman wrote: > 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: > > > =20 > > >>On Mon, 27 Aug 2007, Ganbold wrote: > > >> > > >> =20 > > >>>I'm running FreeBSD 7.0-CURRENT with SCHED_ULE, INVARIANTS, WITNESS= =20 > > >>>enabled kernel. > > >>> =20 > > >>Try the same thing again without INVARIANTS and WITNESS, both of whic= h=20 > > >>can consume a lot of CPU in kernel on a very active system, especiall= y if=20 > > >>lots of vnodes are being allocated and freed. Especially WITNESS. > > >> =20 > > > > > >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 scri= pt > > >is even better. > > > =20 > >=20 > > What would be a solution to this kind of problems? >=20 > 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 buildworl= d' > for example - keyboard exhibits lost event sometimes, sound is jerking et= c etc). > So I'm switched to SHED_ULE on my UP laptop; it was helpful. I'm running > custom kernel without debug options though. SCHED_ULE also exhibit the behaviour, but in lesser degree. Due to this, I suspect that the problem in the common code. Jeff, any suggestions ? --AJu7IxIPovG6hMTN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFG1EPUC3+MBN1Mb4gRAkyuAKCcZLF/qNgBcDE81la+igrwhbhGFgCfQPdW afAU8yHvkr3cvJ6NK5QJ1+Q= =i78s -----END PGP SIGNATURE----- --AJu7IxIPovG6hMTN--