khromy wrote:
> On Wed, Jul 03, 2002 at 10:22:44AM +0100, Stephen C. Tweedie wrote:
> > Ugh. My first guess would be that you have one enormously fragmented
> > filesystem. 13MB in 2 minutes? A modern disk should get that amount
> > of data to disk in one second, but massive fragmentation can simply
> > kill disk performance.
> >
> > If /home is on the same disk, do you get the same problem trying to
> > write there?
>
> Yeah, /home/ is on the same disk. Your guess might be right because
> that's what I was trying to show. When I copy the file, which is in
> /home/(hda2) to /tmp/(hda1) and I sync, it takes almost 2 minutes. But
> if I copy the same file, which is in /home/(hda2) to /usr/local/(hda3),
> sync returns immediately. This disk isn't that old either.
Get your data off that disk Immediately!
If you write a large file, ext2 will do a good job not fragmenting the
file. You should be able to get about 20M per second on a sequential
writes, about 10M per second, if your filesystem is badly fragmented.
So, the drive is taking abnormally long to read/write blocks. That is
an indication that it's "going to die soon".
That said, maybe there is a whole lot of (random) reads going on
on that disk? Are you swapping at the same time? Or maybe your
dayly "updatedb" is running?
Roger.
-- ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 ** *-- BitWizard writes Linux device drivers for any device you may have! --* * There are old pilots, and there are bold pilots. * There are also old, bald pilots. - 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/
This archive was generated by hypermail 2b29 : Sun Jul 07 2002 - 22:00:10 EST