From: Roberto Spadim <roberto@spadim.com.br>
To: Cory Coager <ccoager@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: support for external persistent cache
Date: Wed, 19 Jan 2011 14:57:25 -0200 [thread overview]
Message-ID: <AANLkTikCUkESU8zNLRgmDpz_wdKfDFC3YTG0R4O+5eVi@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikZmu3uNjv_PehWOx6JWcTP60nVVLR_UeS_0wJi@mail.gmail.com>
if /dev/sdb get full, /dev/sda must be sync before continue...
it´s a background thread
but it works like linux memory cache, but linux use ram (volatille)
you want a volatille (ssd)
it´s like this:
http://www.seagate.com/www/en-us/products/laptops/laptop-hdd
2011/1/19 Roberto Spadim <roberto@spadim.com.br>:
> yes, a jornaling but using ssd first and sata after
> it´s not raid feature...
> it´s per disk filesystem feature...
> we could implement jornaling in raid too...
> but´s more inteligent (easy) at application level (filesystem)
> you could write first at network (if it´s faster than sata) and after
> at sata (if it´s slower than network)
>
> it´s not a raid feature... it´s a per device feature got it?
> maybe a device (not raid..) for a cache division on devices
> for example
>
>
> /dev/sda (sata 1terabyte 100mb/s)
> /dev/sdb (ssd 1gigabyte 1000mb/s)
>
> /dev/cache_a (a mix of sata and ssd with sata size 1terabyte, and
> mixed speed (memory, ssd, sata))
>
> cache_a device should know that
> early reads/write should be writen to sdb
> time in time it should sync at sda
>
> the same happens with memory (ram memory) but it´s volatille (diferent
> than ssd that´s not volatille)
>
> /dev/sdb should be sync
> /dev/sda should be async (since /dev/sdb make it safe to use async)
>
>
> that´s you intention? i don´t know if linux have it, anyone know?
>
>
> 2011/1/19 Cory Coager <ccoager@gmail.com>:
>> On Wed, Jan 19, 2011 at 02:16:08PM -0200, Roberto Spadim wrote:
>>> ok, your hardware have:
>>> cpu, memory, disk controller, disks
>>>
>>> and you computer have:
>>> cpu, memory, disk controler (your hardware)
>>>
>>> if your computer cache don?t sync to your disk controller you will
>>> lose information....
>>>
>>> check that *memory, is the volatille memory and *disk controller is
>>> the non volatille memory
>>> if you tell me that you will never have a *memory, and you have always
>>> a non volatille memory, no problem, you will never need a kernel
>>> load... just a boot loader that read previous memory information and
>>> start in that point... why don?t do this? non volatille memory is not
>>> as fast as volatille memory
>>> got the problem?
>>
>> Sorry, we're still not on the same page. I would use both a ramdisk
>> and sata disk. The ramdisk would act as a persistent cache
>> (with the battery) for the sata disks. Enabling write through
>> would write to the cache first then sync to the sata disks.
>>
>> Understand what I'm getting at now?
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
>
--
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-01-19 16:57 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-19 3:06 support for external persistent cache Cory Coager
2011-01-19 3:12 ` Roberto Spadim
2011-01-19 3:17 ` Roberto Spadim
2011-01-19 3:34 ` Cory Coager
2011-01-19 15:19 ` Roberto Spadim
2011-01-19 15:52 ` Cory Coager
2011-01-19 16:16 ` Roberto Spadim
2011-01-19 16:17 ` Roberto Spadim
2011-01-19 16:20 ` Roberto Spadim
2011-01-19 16:29 ` Cory Coager
2011-01-19 16:44 ` Roberto Spadim
2011-01-19 16:57 ` Roberto Spadim [this message]
2011-01-19 17:04 ` Roberto Spadim
2011-01-19 17:19 ` Cory Coager
2011-01-19 17:22 ` Roberto Spadim
2011-01-19 17:02 ` Cory Coager
2011-01-19 17:09 ` Roberto Spadim
2011-01-19 17:15 ` Roberto Spadim
2011-01-19 17:20 ` Roberto Spadim
2011-01-19 17:29 ` Cory Coager
2011-01-19 17:37 ` Roberto Spadim
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=AANLkTikCUkESU8zNLRgmDpz_wdKfDFC3YTG0R4O+5eVi@mail.gmail.com \
--to=roberto@spadim.com.br \
--cc=ccoager@gmail.com \
--cc=linux-raid@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).