Re: [vm] writing to UDF DVD+RW (/dev/sr0) while under memorypressure: box ==> doorstop

From: Mike Galbraith
Date: Tue Jan 08 2008 - 11:28:27 EST



On Tue, 2008-01-08 at 16:21 +0100, Mike Galbraith wrote:
> On Tue, 2008-01-08 at 03:38 -0800, Andrew Morton wrote:
> >
> > Well. From your earlier trace it appeared that something was causing
> > the filesystem to perform synchronous inode writes - sync_dirty_buffer() was
> > called.
> >
> > This will cause many more seeks than would occur if we were doing full
> > delayed writing, with obvious throughput implications.
>
> Yes, with UDF, the IO was _incredibly_ slow. With ext2, it was better,
> though still very bad. I tested with that other OS, and it gets ~same
> throughput with UDF as I got with ext2 (ick).
>
> UDF does udf_clear_inode() -> write_inode_now(inode, 1)
>
> I suppose I could try write_inode_now(inode, 0). Might unstick the box.

(nope, still sync, UDF still deadly)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/