computer becomes slow when compiling something

Kostik Belousov kostikbel at gmail.com
Mon Aug 27 21:41:46 PDT 2007


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070828/6a5a6ba0/attachment.pgp


More information about the freebsd-current mailing list