From: Rolf Fokkens <rolf-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
To: "Darrick J. Wong" <darrick.wong-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [RFC] bcache-status
Date: Tue, 03 Sep 2013 22:46:37 +0200 [thread overview]
Message-ID: <52264AAD.3050401@rolffokkens.nl> (raw)
In-Reply-To: <20130829004646.GA3099-yuuUpGxbzT9UbpRmUfBrXUB+6BGkLq7r@public.gmane.org>
Hi,
bcache-status renders some weird output:
- "Total Cache Used" and "Total Cache Unused" don't always add up to
"Total Cache Size"
- "Dirty Data" is -6 MB?
Seems like bugs to me. Details below.
Rolf
[root@localhost bcache]# bcache-status -s
--- bcache ---
UUID c318c0b2-0b69-4f66-a729-23b82a9d0e91
Block Size 0.00KiB
Bucket Size 512.00KiB
Congested? False
Read Congestion 2.0ms
Write Congestion 20.0ms
Total Cache Size 1.00GiB
Total Cache Used 20.00MiB (1%)
Total Cache Unused 1.00GiB (99%)
Dirty Data 0B (0%)
Evictable Cache 1.00GiB (100%)
Replacement Policy [lru] fifo random
Cache Mode [writethrough] writeback writearound none
Total Hits 122 (100%)
Total Misses 0
Total Bypass Hits 0
Total Bypass Misses 0
Total Bypassed 0B
--- Backing Device ---
Device File /dev/sda3 (8:3)
bcache Device File /dev/bcache1 (252:1)
Size 7.00GiB
Cache Mode [writethrough] writeback writearound none
Readahead 0
Sequential Cutoff 4.00MiB
Merge sequential? True
State clean
Writeback? True
Dirty Data 0B
Total Hits 122 (100%)
Total Misses 0
Total Bypass Hits 0
Total Bypass Misses 0
Total Bypassed 0B
--- Cache Device ---
Device File /dev/sdb1 (8:17)
Size 1.00GiB
Block Size 0.00KiB
Bucket Size 512.00KiB
Replacement Policy [lru] fifo random
Discard? False
I/O Errors 0
Metadata Written 1.00KiB
Data Written 0B
Buckets 4094
Cache Used 20.00MiB (1%)
Cache Unused 1.00GiB (99%)
--- bcache ---
UUID d07cd9a1-6211-4bba-bc37-a8ba8858ef4d
Block Size 0.00KiB
Bucket Size 512.00KiB
Congested? False
Read Congestion 2.0ms
Write Congestion 20.0ms
Total Cache Size 1.00GiB
Total Cache Used 204.00MiB (10%)
Total Cache Unused 1.00GiB (90%)
Dirty Data 0B (0%)
Evictable Cache 1.00GiB (100%)
Replacement Policy [lru] fifo random
Cache Mode writethrough [writeback] writearound none
Total Hits 1365 (81%)
Total Misses 318
Total Bypass Hits 3191 (100%)
Total Bypass Misses 0
Total Bypassed 46.00MiB
--- Backing Device ---
Device File /dev/sdc1 (8:33)
bcache Device File /dev/bcache0 (252:0)
Size 19.00GiB
Cache Mode writethrough [writeback] writearound none
Readahead 0
Sequential Cutoff 0B
Merge sequential? True
State dirty
Writeback? True
Dirty Data -6.00MiB
Total Hits 1365 (81%)
Total Misses 318
Total Bypass Hits 3191 (100%)
Total Bypass Misses 0
Total Bypassed 46.00MiB
--- Cache Device ---
Device File /dev/sdd1 (8:49)
Size 1.00GiB
Block Size 0.00KiB
Bucket Size 512.00KiB
Replacement Policy [lru] fifo random
Discard? False
I/O Errors 0
Metadata Written 281.00KiB
Data Written 18.00MiB
Buckets 4094
Cache Used 204.00MiB (10%)
Cache Unused 1.00GiB (90%)
[root@localhost bcache]#
next prev parent reply other threads:[~2013-09-03 20:46 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-25 19:07 bcache-tools package for Fedora Rolf Fokkens
[not found] ` <521A55D4.20908-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
2013-08-25 20:39 ` [RFC] bcache-status Rolf Fokkens
[not found] ` <521A6B92.60001-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
2013-08-26 16:30 ` Darrick J. Wong
[not found] ` <20130826163055.GB4780-yuuUpGxbzT9UbpRmUfBrXUB+6BGkLq7r@public.gmane.org>
2013-08-26 20:36 ` Rolf Fokkens
[not found] ` <521BBC3B.9010003-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
2013-08-29 0:46 ` Darrick J. Wong
[not found] ` <20130829004646.GA3099-yuuUpGxbzT9UbpRmUfBrXUB+6BGkLq7r@public.gmane.org>
2013-09-03 20:46 ` Rolf Fokkens [this message]
[not found] ` <52264AAD.3050401-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
2013-09-04 20:26 ` Darrick J. Wong
[not found] ` <20130904202600.GA4554-yuuUpGxbzT9UbpRmUfBrXUB+6BGkLq7r@public.gmane.org>
2013-09-04 20:52 ` Rolf Fokkens
[not found] ` <52279DA5.7050505-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
2013-09-05 6:14 ` Stefan Priebe - Profihost AG
2013-09-09 22:45 ` Darrick J. Wong
2013-08-26 23:01 ` Rolf Fokkens
2013-09-05 6:53 ` bcache-tools package for Fedora / status probe-bcache Rolf Fokkens
[not found] ` <52282A87.4000801-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
2013-09-05 10:16 ` Gabriel de Perthuis
[not found] ` <52285A03.7080802-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-05 10:36 ` Rolf Fokkens
[not found] ` <FEBD3400-93F1-4286-8BE8-45D5413C2EA2-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
2013-09-05 10:53 ` Gabriel de Perthuis
2013-09-05 10:53 ` Gabriel de Perthuis
[not found] ` <52286299.7000708-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-09 13:26 ` Karel Zak
2013-09-09 13:26 ` Karel Zak
[not found] ` <20130909132653.GA8061-s5vVilr7EKH/9pzu0YdTqQ@public.gmane.org>
2013-09-09 15:28 ` Gabriel de Perthuis
2013-09-09 15:28 ` Gabriel de Perthuis
[not found] ` <522DE939.5090009-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-11 11:59 ` Rolf Fokkens
2013-09-11 11:59 ` Rolf Fokkens
2013-09-11 15:51 ` Karel Zak
2013-09-11 15:51 ` Karel Zak
-- strict thread matches above, loose matches on Subject: below --
2013-08-15 23:35 [RFC] bcache-status Darrick J. Wong
[not found] ` <20130815233508.GB6949-yuuUpGxbzT9UbpRmUfBrXUB+6BGkLq7r@public.gmane.org>
2013-08-16 5:09 ` Andrew Thrift
[not found] ` <520DB3EC.70001-3e6jenk95VYpDvLZ8AWkcaVXKuFTiq87@public.gmane.org>
2013-08-16 21:35 ` Darrick J. Wong
2013-08-19 11:48 ` Damien Churchill
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=52264AAD.3050401@rolffokkens.nl \
--to=rolf-6w2rdlbueqtpmfipwq+h6g@public.gmane.org \
--cc=darrick.wong-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
--cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.