xfs
[Top] [All Lists]

Re: About removing files

To: yoros@xxxxxxxxxx
Subject: Re: About removing files
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Thu, 24 Oct 2002 16:16:56 -0700
Cc: linux-xfs <linux-xfs@xxxxxxxxxxx>
In-reply-to: <20021024225614.GA20660@morpheus.matrix.com>
References: <20021024220639.GA20279@morpheus.matrix.com> <1035497418.31455.13.camel@jen.americas.sgi.com> <20021024225614.GA20660@morpheus.matrix.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4i
On Fri, Oct 25, 2002 at 12:56:14AM +0200, yoros@xxxxxxxxxx wrote:

> xfs_bmap -l xxxx.avi | wc -l ----> 48800

Wow... that's terrible.  How full is this filesystem?

For reference, looking at a backup drive:

# ls -lh homefs
-rw-r--r--    1 root     root          11G Oct 22 00:15 homefs
# xfs_bmap homefs|wc -l
      5

> xfs_bmap -l xxxx.iso | wc -l ---->   115

How large are these files?

> Here is my questions: ¿How can I obtain better performance? ¿Does
> the number of blocks for extent related to creating/writting method?

XFS will try to minimize fragmention, however, the ability for it to
do this is thwarted if the filesystem gets very full.  Might this be
the case for you?

If the filesystem was previously very full, but not has a fair amount
of space available, you could try "xfs_fsr -v -d xxxx.avi" or similar.



  --cw


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