Slow system after switching from 2.4.18 to 2.4.19

=?unknown-8bit?Q?J=F6rn?= Engel joern at wohnheim.fh-wedel.de
Thu Mar 6 11:55:24 EST 2003


On Thu, 6 March 2003 16:35:15 +0100, Tino Keitel wrote:
> 
> after updating to 2.4.19, my system (Intel XScale based, 500 MHz, 16 MB
> flash, 32 MB RAM) was awfully slow. I suspect the reason is a slow
> access to the filesystem. As soon as something happens on the
> filesystem, e.g. in shell scripts, runtimes are multimple times higher
> than with 2.4.18. A short example what happens with the 2.4.19 kernel:
> 
> (1)
> for i in 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1;
> 	do echo "nothing" > /dev/null ;
> done
> 
> takes 2 seconds(!), just for 30 echos.
> 
> (2)
> for i in 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1;
> 	do true;
> done
> 
> returns immediately because 'true' is a shell builtin and no filesystem
> access is necessary. With the 2.4.18 kernel, (1) also doesn't take
> sensible time to complete. Of course, the configuration is the same
> with both kernels. Any hints?

Only that mtd is likely not the cause. :)

Maybe someone on lkml known more...

Jörn

-- 
Measure. Don't tune for speed until you've measured, and even then
don't unless one part of the code overwhelms the rest.
-- Rob Pike




More information about the linux-mtd mailing list