RE: inconsistent file placement

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Taylor
Date: Tuesday, July 6, 2010 - 3:15 pm

> -----Original Message-----

In all of my recent tests, there has only been one file created, in
the root directory of the freshly created and mounted file system.

mkfs.ext[234] -b 65536 /dev/sda4
mount <some options tested> /dev/sda4 /DataVolume
touch /DataVolume/hex.txt
"for i in 1 2 3 4 5; do dd if=/hex.txt bs=64K; \
done >>/DataVolume/hex.txt"
umount /DataVolume
dumpe2fs /dev/sda4 >/<log file>

where /hex.txt is a 1G file on the NFS root.

I tried with, and without, orlov on ext3 (-o orlov and -o oldalloc)
and didn't see any change in the behavior.  In ext4, there seemed
to be less variability, but it is still present, and the "less" may
just be the small sample size.

Now, at least, I understand that the placement algorithm does not
always start at first free block.

It is an unfortunate fact of life that simplistic benchmarks often
drive sales.  This product will be a consumer NAS and when our
internal runs of the common NAS benchmarks get inconsistent results,
it creates a lot of concern.

There's an option for ext4 (delayed allocation) that looks like it
bypasses the "pid % 16" coloration.  I'll tinker some more with
that and see how it goes.

Thank you all for your input.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
inconsistent file placement, Daniel Taylor, (Mon Jul 5, 6:49 pm)
Re: inconsistent file placement, Eric Sandeen, (Mon Jul 5, 7:38 pm)
Re: inconsistent file placement, Amir G., (Mon Jul 5, 11:52 pm)
Re: inconsistent file placement, tytso, (Tue Jul 6, 11:55 am)
Re: inconsistent file placement, Eric Sandeen, (Tue Jul 6, 11:59 am)
Re: inconsistent file placement, tytso, (Tue Jul 6, 3:01 pm)
RE: inconsistent file placement, Daniel Taylor, (Tue Jul 6, 3:15 pm)
Re: inconsistent file placement, tytso, (Tue Jul 6, 4:14 pm)
Re: inconsistent file placement, Eric Sandeen, (Tue Jul 6, 4:34 pm)
Re: inconsistent file placement, Eric Sandeen, (Tue Jul 6, 4:39 pm)
RE: inconsistent file placement, Daniel Taylor, (Tue Jul 6, 6:08 pm)
Re: inconsistent file placement, Eric Sandeen, (Tue Jul 6, 7:29 pm)