Re: 2.5.62-mm2 slow file system writes across multiple disks

From: Andrew Morton (akpm@digeo.com)
Date: Mon Feb 24 2003 - 16:53:23 EST


Patrick Mansfield <patmans@us.ibm.com> wrote:
>
> Hi -
>
> Running 2.5.62-mm2, I was trying to get multiple commands queued to
> different scsi disks via writes to multiple file systems (each fs
> on its own disk), but got rather low performance.
>
> Are there any config options or settings I should change to improve the
> performance?
>
> Is this expected behaviour for now?
>
> I'm mounting 10 disks using ext2 with noatime, starting 10 dd's in
> parallel, with if=/dev/zero bs=128k count=1000, then umount-ing after each
> dd completes.

Could be that concurrent umount isn't a good way of getting scalable
writeout; I can't say that I've ever looked...

Could you try putting a `sync' in there somewhere?

Or even better, throw away dd and use write-and-fsync from ext3 CVS. Give it
the -f flag to force an fsync against each file as it is closed.

http://www.zip.com.au/~akpm/linux/ext3/

-
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 : Fri Feb 28 2003 - 22:00:22 EST