xfs
[Top] [All Lists]

Re: stable xfs

To: Ming Zhang <mingz@xxxxxxxxxxx>
Subject: Re: stable xfs
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Fri, 21 Jul 2006 09:07:09 -0700
Cc: Peter Grandi <pg_xfs@xxxxxxxxxxxxxxxxxx>, Linux XFS <linux-xfs@xxxxxxxxxxx>
In-reply-to: <1153487431.2841.8.camel@xxxxxxxxxxxxxxxxxxxxx>
References: <17598.2129.999932.67127@xxxxxxxxxxxxxxxxxx> <1153314670.2691.14.camel@xxxxxxxxxxxxxxxxxxxxx> <20060720061527.GB18135@xxxxxxxxxxxxxxxxxxxxx> <1153404502.2768.50.camel@xxxxxxxxxxxxxxxxxxxxx> <20060720161707.GB26748@xxxxxxxxxxxxxxxxxxxxx> <1153413481.2768.65.camel@xxxxxxxxxxxxxxxxxxxxx> <20060720190401.GA28836@xxxxxxxxxxxxxxxxxxxxx> <1153441178.2768.158.camel@xxxxxxxxxxxxxxxxxxxxx> <20060721032632.GA4138@xxxxxxxxxxxxxxxxxxxxx> <1153487431.2841.8.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
On Fri, Jul 21, 2006 at 09:10:31AM -0400, Ming Zhang wrote:

> then what is the benefit? because files under same dir can be accessed
> with locality so put close will reduce disk head seek?

yes

> other than this, what else benefit?

that alone has a measurable benefit to me (i have an overlay
filesystem over many smaller 400 to 500GB filesystems so i don't get
the benefit of many spindles to reduce average seek times)

> so if i have 500GB file, will it be copied to another 500GB temp
> file?

yes, which in many cases isn't always derisable because:

  * if the file had a small number of extents in the first place,
    reducing them slightly more isn't much of a gain (ie. going from
    say 11 to 10 is argubly pointless) (i have a patch to specifiy
    the miniumum gains before doing the copy somewhere)

  * if the file changes during the copy, then it will be skipped until
    next time, for larger files this is problematic,  you could
    argue attemtping to fsr a file that is less than <n> seconds old
    is pointless as it has a high chance of being active (i have a
    patch for that too))

  * fsr has no global overview of what it's doing, so it never does
    things like 'move this file out of the way to make room for this
    one' (it can't do this w/o assistance right now), and of course it
    can't move inodes w/o changing them so there are limits to what
    can be done anyhow


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