[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-xfs
Subject:    Re: preallocation
From:       Eric Sandeen <sandeen () sgi ! com>
Date:       2005-09-29 13:47:42
Message-ID: 433BF07E.3030200 () sgi ! com
[Download RAW message or body]

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 list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic