xs_ig_attempts ≠ xs_ig_found + xs_ig_missed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Linux folks,


In the internal statistics [1] the attempts to look up an inode in the inode cache (`xs_ig_attempts`) is a little bigger (35) than the sum of found and missed entries minus duplicates (`xfs.inode_ops.ig_dup`): 651067226 = 651067191 + 35 > 651067191 = 259143798 + 391923706 - 313.

    $ grep ^ig /sys/fs/xfs/sdc/stats/stats # hardware RAID
    ig 651067226 259143798 75 391923706 313 391196609 8760483

For the software RAID device there is no difference: 794085909 = 293058663 + 501027325 - 79.

    $ grep ^ig /sys/fs/xfs/md0/stats/stats
    ig 794085909 293058663 18555 501027325 79 500997366 320679

Is the first difference expected?


Kind regards,

Paul


[1]: https://xfs.org/index.php/Runtime_Stats#ig



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux