Re: computer becomes slow when compiling something

From: Oleg Nauman <oleg_at_opentransfer.com>
Date: Tue, 28 Aug 2007 09:36:26 -0500
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

-- 
The ultimate artifact may be found in the driven snow..
Received on Tue Aug 28 2007 - 13:30:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC