Re: 2.6.x: iowait problem while burning a CD
From: Alex Bennee
Date: Sat Feb 28 2004 - 10:01:59 EST
On Sat, 2004-02-28 at 09:14, Paolo Ornati wrote:
> On Saturday 28 February 2004 01:18, Rik van Riel wrote:
> > On Fri, 27 Feb 2004, Paolo Ornati wrote:
> > > trying to burn a CD "on the fly" I have noticed a strange thing. During
> > > the burning "iowait" remains enough low (~3%, MAX 10%) but, after a
> > > little time, it suddenly and quickly goes up to 80-90%: in this
> > > condition MKFS seems unable to fill the FIFO buffer as quickly as the
> > > CD-writer writes
> > >
> > > Any ideas?
> >
> > At that point, mkisofs is probably running into a bazillion
> > small files, in subdirectories all over the place.
> >
> > Because a disk seek + track read takes 10ms, it's simply not
> > possible to read more than maybe 100 of these small files a
> > second, so mkisofs can't keep up.
>
> No... mkfs is reading only ONE big file ( ~ 700 MB )!
>
> And my system shouldn't be so slow:
>
> CPU: AMD Duron 750
> RAM: 128 MB PC100
> HD: 7200 RPM udma 4
> File System: ResiserFS
Could this be related to your low(ish) physical memory and the need swap
stuff in and out? Maybe you could look at the vmstat output as you run
the two cases?
--
Alex, homepage: http://www.bennee.com/~alex/
"Everything should be made as simple as possible, but not simpler."
-- Albert Einstein
-
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/