Subject: Extreme slowdown
To: None <port-arm32@netbsd.org>
From: Reinoud Zandijk <imago@kabel065011.kabel.utwente.nl>
List: port-arm32
Date: 02/24/2001 16:23:53
Dear all,

In my efforts of compiling a GENERIC kernel to try out the new header file
structure, I ran into a major slowdown....

The compiled GENERIC kernel was SOOO slow!!!! so much slower than my
origional own configuration that i went to investigate it... the system
time of running a `top' showed that the system time rose from about 1% or
lower ro a staggering 5.6% or 6% (!) ... this really makes the system
sluggish and its pretty bad :((

The difference between my kernel (my own ismaelda) and the GENERIC kernel
is basicly the removal of some devices and the switching off of `DDB' and
`DIAGNOSTIC' ... to investigate the difference i'm now compiling my own
config file with the extra option `DIAGNOSTIC'; I suspect that there is
some very ``cheap'' check somewhere that really EATS processor time or
trashes the TLB completely....

I suspect its the DDB for it gives the same wierd effects as seen on debug
kernels (i.e. compiled with -g) since a debug kernel without DDB could be
considered a bit silly.

Have any of you seen this behaviour before? or have a clue as to where to
find it ? I suspect its in the vidcconsole and/or pmap for i've seen some
DIAGNOSTIC stuff there that might take this time too.

Cheers,
Reinoud