forked from iovisor/bcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/cachestat: Rewrite it so it makes more sense
cachstat separation between read and writes doesn't make much sense. During tests its seen that a workload that is supposed to be completely in the missed category appears to be 50% hit. This patch rewrites the BCC tool to be more inline with Brendan Gregg's original cachestat perf tool which makes more sense: https://github.com/brendangregg/perf-tools/blob/master/fs/cachestat http:https://www.brendangregg.com/blog/2014-12-31/linux-page-cache-hit-ratio.html Fixes Issue: iovisor#1586 Signed-off-by: Joel Fernandes <[email protected]>
- Loading branch information
Joel Fernandes
committed
Mar 1, 2018
1 parent
cab4d7c
commit 2b34870
Showing
2 changed files
with
66 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters