Re: sync slowness. ext3 on VIA vt82c686b

From: khromy (khromy@lnuxlab.ath.cx)
Date: Wed Jul 03 2002 - 04:40:31 EST


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.

hda: Maxtor 51536U3, ATA DISK drive
hda: 30015216 sectors (15368 MB) w/2048KiB Cache, CHS=1868/255/63,
UDMA(66)

-- 
L1:	khromy		;khromy(at)lnuxlab.ath.cx
-
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