xfs
[Top] [All Lists]

Re: preallocation

To: Ying-Hung Chen <ying@xxxxxxxxxxxxxx>
Subject: Re: preallocation
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Thu, 29 Sep 2005 08:47:42 -0500
Cc: David Chinner <dgc@xxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <433BB263.4060108@xxxxxxxxxxxxxx>
References: <4337ADB7.3060700@xxxxxxxxxxxxxx> <43381317.8040007@xxxxxxx> <433B8B8F.9010300@xxxxxxxxxxxxxx> <20050929065949.GC8727140@xxxxxxxxxxxxxxxxx> <433BB263.4060108@xxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716)
Ying-Hung Chen wrote:
Thanks Dave, now it seems to work!! just out of curiosity, when i run
xfs_bmap on each file, it shows

00001.ivf:
        0: [0..106495]: 96..106591

which is cool,

but when i do xfs_db -r /dev/hdb4
and check the fragementation status, it shows

[root@localhost tmp]# xfs_db -r /dev/hdb4
xfs_db> frag
actual 1763, ideal 902, fragmentation factor 48.84%

this means on average, you have 2 roughly extents per file.  Not so bad.

where are all the fragments coming from? do I need to worry about it?

other files, presumeably.

> do I need to worry about it?

probably not... 2 extents per file is not very fragmented at all.

-Eric


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