From: Paul Menzel <pmenzel@molgen.mpg.de>
To: linux-xfs@vger.kernel.org
Subject: xs_ig_attempts ≠ xs_ig_found + xs_ig_missed
Date: Thu, 26 Aug 2021 10:36:41 +0200 [thread overview]
Message-ID: <e9072acd-2daa-96da-f1f2-bca7870d6b55@molgen.mpg.de> (raw)
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
next reply other threads:[~2021-08-26 8:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-26 8:36 Paul Menzel [this message]
2021-08-26 21:17 ` xs_ig_attempts ≠ xs_ig_found + xs_ig_missed Dave Chinner
2021-08-27 6:22 ` xs_ig_attempts ??? " Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e9072acd-2daa-96da-f1f2-bca7870d6b55@molgen.mpg.de \
--to=pmenzel@molgen.mpg.de \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).