xfs
[Top] [All Lists]

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

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: Small files perform much faster on newly formatted fs?
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 9 Jun 2011 04:22:17 -0400
Cc: Norbert Veber <nveber@xxxxxxxxxxxxxx>, Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20110609012907.GR32466@dastard>
References: <20110607163742.GH28625@xxxxxxxxxxxxxx> <201106080911.11286@xxxxxx> <20110608122638.GQ28625@xxxxxxxxxxxxxx> <20110609012907.GR32466@dastard>
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Jun 09, 2011 at 11:29:07AM +1000, Dave Chinner wrote:
> > > 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)
> 
> Those mount options are ignored if the filesystem doesn't have the
> superblock feature bit set for aligned allocations. A filesystem
> with 0/0 for sunit/swidth does not have the superblock bit set....

The other thing that sticks out is the lack of lazy-count for the old
filesystem.  That will give a lot of additional superblock updates on
the old one.

<Prev in Thread] Current Thread [Next in Thread>