Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2007 12:48:13 +0800
From:      Ganbold <ganbold@micom.mng.net>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, Robert Watson <rwatson@freebsd.org>
Subject:   Re: computer becomes slow when compiling something
Message-ID:  <46D3A90D.8050703@micom.mng.net>
In-Reply-To: <20070828044133.GR2332@deviant.kiev.zoral.com.ua>
References:  <46D25242.10504@micom.mng.net>	<20070827231419.H30469@fledge.watson.org> <20070828044133.GR2332@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46D3A90D.8050703>