Never mind, that was clear :).
>
> > The reason hd is faster is because new algorithm is much better than the
> > previous mainline code. Now the reason the DVDRAM hangs the machine
> > more, that's probably because more ram can be marked dirty with those
> > new changes (beneficial for some workload, but it stalls much more the
> > fast hd, if there's one very slow blkdev in the system). You can try
> > decrasing the percent of vm dirty in the system with:
> >
> > echo 2 500 0 0 500 3000 3 1 0 >/proc/sys/vm/bdflush
>
> With the bdflush-parameters above, I get
>
> nr bench read write 2.4.19-pre5 expected factor
> 9 dd 30GB HDD DVD-RAM 208/0/6 60 3.5
> 10 dd 120GB HDD DVD-RAM 39/0/6 32 1.2
> 11 dd 30GB HDD ZIP 66/0/10 60 1.1
> 12 dd 120GB HDD ZIP 85/0/7 32 2.7
>
> Numbers in the column 2.4.19-pre5 are total time / user time / system
> time in seconds.
>
> Performance is much better with the new parameters. Also, with the new
> parameters, the system can read from HDD almost steadily while writing
> to DVD. This should much increase responsiveness.
Good. As said that's a mere workaround at the moment, something generic
and possibly autotuning is a bit more complex, and still a research
item (I see it more as a 2.5 thing, because the slow reads during DVD
etc.. isn't really a regression).
> In cases 9 and 12 where performance is bad, both tested drives are on
> the same IDE controller. Should that matter?
yes very much so, I should had asked you about it, I was assuming it
wasn't bound by hardware limitations. IDE isn't able to submit commands
in parallel to both hosts on the same IDE controller, so you will get
much slower performance doing I/O on the master and slave of the same
ide channel. So if your "expected" doesn't count the IDe channel
collisions then it sounds good.
> > Right fix is different but not suitable for 2.4.
>
> I'm looking forward to the definitive solution.
Right you are.
> Thank you very much,
You're welcome.
Andrea
-
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/