<div dir="ltr"><div>Dear XFS community & developers,</div><div><br></div><div>I am using CentOS 6.3 and xfs as base file system and use RAID5 as hardware storage.</div><div><br></div><div>Detail environment as follow:</div>
<div>   OS: CentOS 6.3</div><div>   Kernel: kernel-2.6.32-279.el6.x86_64</div><div>   XFS option info(df output): /dev/sdb1 on /data type xfs (rw,noatime,nodiratime,nobarrier)</div><div><br></div><div>Detail phenomenon:</div>
<div>    </div><div>    # df</div><div>    Filesystem            Size  Used Avail Use% Mounted on</div><div>    /dev/sda1              29G   17G   11G  61% /</div><div>    /dev/sdb1             893G  803G   91G  90% /data</div>
<div>    /dev/sda4             2.2T  1.6T  564G  75% /data1</div><div>    </div><div>    # time touch /data1/1111</div><div>    real    0m23.043s</div><div>    user    0m0.001s</div><div>    sys     0m0.349s</div><div>    </div>
<div>    # perf top</div><div>    Events: 6K cycles</div><div>     16.96%  [xfs]                     [k] xfs_inobt_get_rec</div><div>     11.95%  [xfs]                     [k] xfs_btree_increment</div><div>     11.16%  [xfs]                     [k] xfs_btree_get_rec</div>
<div>      7.39%  [xfs]                     [k] xfs_btree_get_block</div><div>      5.02%  [xfs]                     [k] xfs_dialloc</div><div>      4.87%  [xfs]                     [k] xfs_btree_rec_offset</div><div>      4.33%  [xfs]                     [k] xfs_btree_readahead</div>
<div>      4.13%  [xfs]                     [k] _xfs_buf_find</div><div>      4.05%  [kernel]                  [k] intel_idle</div><div>      2.89%  [xfs]                     [k] xfs_btree_rec_addr</div><div>      1.04%  [kernel]                  [k] kmem_cache_free</div>
<div><br></div><div><br></div><div>It seems that some xfs kernel function spend much time (xfs_inobt_get_rec, xfs_btree_increment, etc.)</div><div><br></div><div>I found a bug in bugzilla [1], is that is the same issue like this?</div>
<div><br></div><div>It's very greatly appreciated if you can give constructive suggestion about this issue, as It's really hard to reproduce from another system and it's not possible to do upgrade on that online machine.</div>
<div><br></div><div><br></div><div>[1] <a href="https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=813137">https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=813137</a></div><div><br></div><div>Thanks in advance</div>
<div>Qiang</div></div>