xfs
[Top] [All Lists]

Re: fragmentation question

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: fragmentation question
From: Brady Chang <bchang@xxxxxxxxxxxxx>
Date: Thu, 9 Sep 2010 16:41:04 -0700
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
In-reply-to: <4C895A7D.1030208@xxxxxxxxxxx>
Thread-index: ActQa1G1lTSFNcTxQs6ZGzdmimA6jAADSW0L
Thread-topic: fragmentation question
Thanks,
after couple runs of tpc-H , RHEL 5.4 /dev/sdd is heavily fragmented.
so back to the original problem. it always happen on /dev/sdd


[root@sdw9 data1]# xfs_db -c frag -r /dev/sdb
actual 1773, ideal 1731, fragmentation factor 2.37%

[root@sdw9 data1]# xfs_db -c frag -r /dev/sdd
actual 43384, ideal 1726, fragmentation factor 96.02%

[root@sdw9 data1]# xfs_info /dev/sdb
meta-data=""               isize=256    agcount=32, agsize=22469715 blks
         =                       sectsz=512   attr=0
data     =                       bsize=4096   blocks=719030880, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2              bsize=4096  
log      =internal               bsize=4096   blocks=32768, version=1
         =                       sectsz=512   sunit=0 blks, lazy-count=0
realtime =none                   extsz=4096   blocks=0, rtextents=0

[root@sdw9 data1]# xfs_info /dev/sdd
meta-data=""               isize=256    agcount=32, agsize=22469715 blks
         =                       sectsz=512   attr=0
data     =                       bsize=4096   blocks=719030880, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2              bsize=4096  
log      =internal               bsize=4096   blocks=32768, version=1
         =                       sectsz=512   sunit=0 blks, lazy-count=0
realtime =none                   extsz=4096   blocks=0, rtextents=0


67 files on both /dev/sdb and /dev/sdd.


On 9/9/10 3:06 PM, "Eric Sandeen" <sandeen@xxxxxxxxxxx> wrote:

On 09/09/2010 04:59 PM, Brady Chang wrote:
> thanks guys for the feedback.
> iostat shows balanced io between two filesystems.
> testing with RHEL 54, no issues there. seems to be happening on RHEL 55
> only.

There were no xfs changes between 5.4 and 5.5 that should be relevant,
only a single bugfixes for 5.5, related to fallocate error returns.

Just FWIW.

-Eric

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