[Top] [All Lists]

Re: xfs_fsr, performance related tweaks

To: Just Marc <marc@xxxxxxxxx>
Subject: Re: xfs_fsr, performance related tweaks
From: David Chinner <dgc@xxxxxxx>
Date: Fri, 29 Jun 2007 17:08:14 +1000
Cc: Barry Naujok <bnaujok@xxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <4684A98B.1030000@xxxxxxxxx>
References: <4683ADEB.3010106@xxxxxxxxx> <46841C60.5030207@xxxxxxxxxxx> <4684A506.4030705@xxxxxxxxx> <op.tun7i8wd3jf8g2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4684A98B.1030000@xxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/
On Fri, Jun 29, 2007 at 07:41:15AM +0100, Just Marc wrote:
> Barry Naujok wrote:
> >You can use the xfs_io chattr command to mark known files as
> >nodefrag. Using the chattr -R option can be used to recurse
> >directories.
> That's right but I can't do this on a filesystem that's just been 
> defragged say a minute ago, and in the mean time 20 new files got added 
> (I don't know what these files are... ).

So walk the filesystem with a script that queries the number of
extents in each file, and if they have a single extent then
run the xfs_io on them.


Dave Chinner
Principal Engineer
SGI Australian Software Group

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