fragmentation question

Brady Chang bchang at greenplum.com
Thu Sep 9 18:41:04 CDT 2010


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 at sdw9 data1]# xfs_db -c frag -r /dev/sdb
actual 1773, ideal 1731, fragmentation factor 2.37%

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

[root at sdw9 data1]# xfs_info /dev/sdb
meta-data=/dev/sdb               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 at sdw9 data1]# xfs_info /dev/sdd
meta-data=/dev/sdd               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 at sandeen.net> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20100909/170eb39a/attachment.htm>


More information about the xfs mailing list