On Thu, 18 Jul 2002, Ben Fennema wrote:
On Thu, Jul 18, 2002 at 11:31:21PM +0200, Peter Osterlund wrote:
I still think that's true, but I have some more information on the udf filesystem behavior. If I create a new udf filesystem and start adding lots of small files to it, at first (before dirty data writeback starts) the speed at which files are added is limited by how fast data can be *read* from the CD. I haven't looked at the udf code yet, but I would guess the udf filesystem reads a disk block for each file being added.
Hmm, it could be an issue with data being embedded in the inode. The data would go through the page cache, but the inode would go through the buffer cache, and this could force a read or something funky like that.
Mounting with -o noadinicb turns off this behavior. You could try it and see if it eliminates the extra reads.
There are still reads. I'm not sure if it's exactly the same amount of reads, but I didn't notice any difference in performance. (But maybe you already know what the problem is. I got that impression from your other mail.) -- Peter Osterlund - petero2@telia.com http://w1.894.telia.com/~u89404340