Re: [PATCH] rmap 15j for 2.4.21-rc6

Michael Frank (mflt1@micrologica.com.hk)
Sun, 1 Jun 2003 19:26:00 +0800


On Sunday 01 June 2003 19:00, Andreas Hartmann wrote:
>
> Well, I did the test with 2.4.21rc6 after patching your script (I got
> syntax errors):

About your script changes, I like to make it portable, and I use the
following versions:

GNU bash, version 2.05b.0(1)-release (i386-redhat-linux-gnu)

dd (coreutils) 4.5.3

What shell and coreutils are you using?

Avoiding short counts is easy but avoiding C-style expressions is primitive

- count=100K
+ count=100000

- while (( i-- )); do
+ while (( i=`expr $i - 1` )); do

In your opinion are your changes more portable across a wide range of systems?

>
> When I'm using the script as seen in the patch, I'm getting problems with
> df (it's mostly very lazy, about 20s delay or more), the load is 4, doing
> an ls on some other directories is extremly slow. Mouse and keyboard are
> hanging some times.
> The write speed shown in xosview was between 1 and 15MB/s. Often the HD LED
> was on, but no data seemed to be put to the HD.
>

It has a hard time to read anything else, the slower the disk, the worse.

Suppose rmap undoes the fixes introduced in -rc6.

Have you tried -rc6 plain?

Regards
Michael

-
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/