All of lore.kernel.org
 help / color / mirror / Atom feed
* support for physical ramdisk
@ 2011-01-20  0:10 Cory Coager
       [not found] ` <4D377D66.5020609-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Cory Coager @ 2011-01-20  0:10 UTC (permalink / raw)
  To: linux-bcache-u79uwXL29TY76Z2rM5mHXA

I stumbled upon bcache today and was wondering, how would this work with 
a physical ramdisk instead of a SSD?
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: support for physical ramdisk
       [not found] ` <4D377D66.5020609-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2011-01-20  0:22   ` Kent Overstreet
       [not found]     ` <AANLkTik30_V_bWGsvoUQw-5-W7URK1tSTDSfcTa8LayX-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Kent Overstreet @ 2011-01-20  0:22 UTC (permalink / raw)
  To: Cory Coager; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA

It'd function, but performance would be worse than just using the
pagecache, bcache does a whole lot of extra work to get around the
limitations of SSDs and the pagecache is blazing fast. Why would you
want to do that?

On Wed, Jan 19, 2011 at 4:10 PM, Cory Coager <ccoager-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I stumbled upon bcache today and was wondering, how would this work with a
> physical ramdisk instead of a SSD?
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: support for physical ramdisk
       [not found]     ` <AANLkTik30_V_bWGsvoUQw-5-W7URK1tSTDSfcTa8LayX-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2011-01-20  0:59       ` Cory Coager
       [not found]         ` <AANLkTinUD1_z3iZ3VgJFh=JkF+6EWDq62==Z9EhBpwBP@mail.gmail.com>
  0 siblings, 1 reply; 7+ messages in thread
From: Cory Coager @ 2011-01-20  0:59 UTC (permalink / raw)
  To: Kent Overstreet; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA

I was hoping to enable write back with the use of a battery backed 
ramdisk.  I'm simply substituting the SSD for a physical ramdisk.  The 
ramdisk would outperform the SSD and would probably be safer during 
power loss than a SSD (assuming the battery is in good condition).

On 01/19/2011 07:22 PM, Kent Overstreet wrote:
> It'd function, but performance would be worse than just using the
> pagecache, bcache does a whole lot of extra work to get around the
> limitations of SSDs and the pagecache is blazing fast. Why would you
> want to do that?
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: support for physical ramdisk
       [not found]           ` <AANLkTinUD1_z3iZ3VgJFh=JkF+6EWDq62==Z9EhBpwBP-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2011-01-20  1:14             ` Cory Coager
       [not found]               ` <4D378C5E.7050309-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Cory Coager @ 2011-01-20  1:14 UTC (permalink / raw)
  To: Kent Overstreet; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA

I would think even a low end DDR2 module would saturate the SATA 
interface bandwidth.

How would external journal to bcache help?

On 01/19/2011 08:03 PM, Kent Overstreet wrote:
> Ahh, that makes sense. I'd be curious what performance you get - it
> certainly wasn't designed with ram in mind. You'll want to play around
> with the bucket size and see what works best, too.
>
> Also, in the future I'm going to add support for an external journal
> to bcache - that could be the best of both worlds, for you.
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: support for physical ramdisk
       [not found]               ` <4D378C5E.7050309-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2011-01-20  1:27                 ` Kent Overstreet
       [not found]                   ` <AANLkTin+xKeYbxSU6u=h8bfujSpm3fxqurC0nR4+89wX-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Kent Overstreet @ 2011-01-20  1:27 UTC (permalink / raw)
  To: Cory Coager; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA

On Wed, Jan 19, 2011 at 5:14 PM, Cory Coager <ccoager-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I would think even a low end DDR2 module would saturate the SATA interface
> bandwidth.
>
> How would external journal to bcache help?

Well, ram is more expensive per gigabyte than SSDs, particularly if
you've got something with a battery attached - the idea would be to
use your SSD for buffering 80 gb or so of writes, but then buffer all
of bcache's metadata writes in battery backed-up ram, significantly
decreasing the number of write IOPS to the SSD, and making it so
pretty much all the writes to the SSD are big contiguous writes.

>
> On 01/19/2011 08:03 PM, Kent Overstreet wrote:
>>
>> Ahh, that makes sense. I'd be curious what performance you get - it
>> certainly wasn't designed with ram in mind. You'll want to play around
>> with the bucket size and see what works best, too.
>>
>> Also, in the future I'm going to add support for an external journal
>> to bcache - that could be the best of both worlds, for you.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: support for physical ramdisk
       [not found]                   ` <AANLkTin+xKeYbxSU6u=h8bfujSpm3fxqurC0nR4+89wX-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2011-01-20  3:34                     ` Cory Coager
       [not found]                       ` <4D37AD2D.6070108-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Cory Coager @ 2011-01-20  3:34 UTC (permalink / raw)
  To: Kent Overstreet; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA

Sounds great, when will it be ready? ;-)

On 01/19/2011 08:27 PM, Kent Overstreet wrote:
> Well, ram is more expensive per gigabyte than SSDs, particularly if
> you've got something with a battery attached - the idea would be to
> use your SSD for buffering 80 gb or so of writes, but then buffer all
> of bcache's metadata writes in battery backed-up ram, significantly
> decreasing the number of write IOPS to the SSD, and making it so
> pretty much all the writes to the SSD are big contiguous writes.
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: support for physical ramdisk
       [not found]                       ` <4D37AD2D.6070108-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2011-01-20  3:52                         ` Kent Overstreet
  0 siblings, 0 replies; 7+ messages in thread
From: Kent Overstreet @ 2011-01-20  3:52 UTC (permalink / raw)
  To: Cory Coager; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA

On 01/19/2011 07:34 PM, Cory Coager wrote:
> Sounds great, when will it be ready? ;-)

Well, good question. I've been short funding and thus time for bcache 
lately; not sure what's happening there just yet.

And there's a bunch of things on my todo list; my main priority has been 
the code for a bcache specific block device and superblock for the 
backing device. After that is multiple cache devices, volume management 
and tiered storage, but there's no set order those and 
journalling/external journal support need to be done in.

>
> On 01/19/2011 08:27 PM, Kent Overstreet wrote:
>> Well, ram is more expensive per gigabyte than SSDs, particularly if
>> you've got something with a battery attached - the idea would be to
>> use your SSD for buffering 80 gb or so of writes, but then buffer all
>> of bcache's metadata writes in battery backed-up ram, significantly
>> decreasing the number of write IOPS to the SSD, and making it so
>> pretty much all the writes to the SSD are big contiguous writes.

--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-01-20  3:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-20  0:10 support for physical ramdisk Cory Coager
     [not found] ` <4D377D66.5020609-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-01-20  0:22   ` Kent Overstreet
     [not found]     ` <AANLkTik30_V_bWGsvoUQw-5-W7URK1tSTDSfcTa8LayX-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-01-20  0:59       ` Cory Coager
     [not found]         ` <AANLkTinUD1_z3iZ3VgJFh=JkF+6EWDq62==Z9EhBpwBP@mail.gmail.com>
     [not found]           ` <AANLkTinUD1_z3iZ3VgJFh=JkF+6EWDq62==Z9EhBpwBP-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-01-20  1:14             ` Cory Coager
     [not found]               ` <4D378C5E.7050309-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-01-20  1:27                 ` Kent Overstreet
     [not found]                   ` <AANLkTin+xKeYbxSU6u=h8bfujSpm3fxqurC0nR4+89wX-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-01-20  3:34                     ` Cory Coager
     [not found]                       ` <4D37AD2D.6070108-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-01-20  3:52                         ` Kent Overstreet

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.