Re: Small files perform much faster on newly formatted fs?

Eric Sandeen
2011-06-08T20:52:32Z

On 6/8/11 7:26 AM, Norbert Veber wrote:
> On Wed, Jun 08, 2011 at 09:11:10AM +0200, Michael Monnerie wrote:
>> On Dienstag, 7. Juni 2011 Norbert Veber wrote:
>>> 20 seconds vs 3+ minutes?! The only difference I can see is
>>> lazy-count=1 and a larger agcount. Sunit and swidth were also set
>>> automatically by mkfs this time.
>>
>> Then retry mounting the old fs with sunit= and swidth= parameters. Are
>> they on the same disks? What are your disks (number, kind)?
>
> Yes its already mounted this way as I mentioned in my original message:
> /dev/mapper/vg0-shared on /shared type xfs (rw,noatime,sunit=128,swidth=256)
>
> Both filesystems are on the same MD raid 5 which consists of 3 1 tb WD
> Black hard drive.

The 2 filesystems are at different locations on the disks, so that will make
some difference.

It's probably also possible that your old log is not stripe-aligned.

Not sure what else it might be ... You did get the units right on your
stripe specification at mount-time, good job! ;)

-Eric

> Thanks,
>
> Norbert
>
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
>