Linux bcache driver list
 help / color / mirror / Atom feed
From: Franco <franco-uJ2R6605E/fKnmoGZ802fQ@public.gmane.org>
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Can't resgister cache
Date: Wed, 15 Feb 2012 13:26:28 +0800	[thread overview]
Message-ID: <1329283588.3289.294.camel@ipcus> (raw)

Hi

I was in the process of testing linux-bcache but was seeing some strange
behaviour so I thought I would remount my cached filesystem. I then
noticed that the performance results started looking like the cache just
wasn't there, so I unregistered it:

bcache: Cache set be008612-38aa-4082-9f42-1bada25cb002 unregistered
bcache: Caching disabled for sdc

but now when I try to register it again, I get bcache: error
opening /dev/sdb: device busy.

I haven't tried rebooting yet but probably will do after I've sent this
message.

These were the strange results I was getting that prompted me to unmount
and remount the filesystems.

Setup: hardware RAID 5 16 disk array with 2 partitions, 1 Intel 40GB SSD
for bcache.

Filesystem            Size  Used Avail Use% Mounted on
/dev/bcache0          1.9T   26G  1.8T   2% /data33
/dev/sdd              1.9T   23G  1.8T   2% /data34

Wrote an 8GB file to each filesystem, then tried reading it back.
Machine has 8GB RAM.

Speed for random reads from identical SSD = 181.766523 MB/Sec, random
read test done in the following order with measured speed in MB/Sec. The
random IO is actually just reading with a 4GB stride, wrapping around at
the end of the file.

/data33 49
/data34 114
/data33 114
/data33 and /data44 simultaneously 78 and 59 respectively
/data33 76
/data33 68
/data34 114
/data34 96
/data34 69
/data34 74
/data33 118
/data33 40
/data34 91

After remounting both filesystems:

/data34 148
/data33 120
/data34 120
/data33 82


After unregistering the cache

/data33 65
/data34 83
/data33 99
/data34 113

Cheers,
Franco

             reply	other threads:[~2012-02-15  5:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-15  5:26 Franco [this message]
2012-02-15  6:24 ` Can't resgister cache Kent Overstreet
     [not found]   ` <CAH+dOx+g=eKDgTCnVdZYKrtn7tZjAnWeMdYP0KuZwD=rktsuJw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-02-15  7:16     ` Franco
2012-02-16  1:09       ` Kent Overstreet
     [not found]         ` <CAC7rs0sadP553tU0foAgDMzWh9euk4LyUYFL0_13rdeD+bBdWA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-02-16  1:10           ` Kent Overstreet

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=1329283588.3289.294.camel@ipcus \
    --to=franco-uj2r6605e/fknmogz802fq@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox