Re: Slow system after switching from 2.4.18 to 2.4.19

=?unknown-8bit?Q?J=F6rn?= Engel (joern@wohnheim.fh-wedel.de)
Thu, 6 Mar 2003 17:55:24 +0100


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/