Date: Tue, 28 Aug 2007 18:48:37 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: computer becomes slow when compiling something Message-ID: <20070828154837.GV2332@deviant.kiev.zoral.com.ua> In-Reply-To: <20070828143626.GA32611@admin.opentransfer.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070828154837.GV2332>