tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: memcpy of struct buf, or similar?



Andrew Doran wrote:

> On Tue, Jun 10, 2008 at 01:58:43AM +1000, Simon Burge wrote:
> 
> > Andrew Doran wrote:
> > 
> > > Are you running with LOCKDEBUG? It's probably failure to release a spin
> > > mutex.
> > 
> > No anymore - I used to run with it all the time, but not since enabling
> > it took a large performance hit some time post netbsd-4.  I'll try
> > LOCKDEBUG (tomorrow).
> 
> There have beem some changes recently that reduce its CPU usage. I'm finding
> it a lot more useable than it was.

With a config that is just GENERIC + LOCKDEBUG+DEBUG+DIAGNOSTIC, a
kernel immediately before a change to condvars[1] can do two builds
in ~70 minutes.  A kernel from immediately after that change hits
biowait/tstile problems in ~18 minutes.

[1] http://mail-index.netbsd.org/source-changes/2008/05/31/msg206402.html

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index