linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Erik Mouw <erik@harddisk-recovery.com>
Cc: Mirko Benz <mirko.benz@web.de>, linux-raid@vger.kernel.org
Subject: Re: NVRAM support
Date: Fri, 10 Feb 2006 10:43:32 -0500	[thread overview]
Message-ID: <43ECB4A4.6010005@tmr.com> (raw)
In-Reply-To: <20060210124204.GC28676@harddisk-recovery.com>

Erik Mouw wrote:

>On Fri, Feb 10, 2006 at 10:01:09AM +0100, Mirko Benz wrote:
>  
>
>>Does a high speed NVRAM device makes sense for Linux SW RAID? E.g. a PCI 
>>card that exports battery backed memory.
>>    
>>
>
>Unless it's very large (i.e.: as large as one of your disks), it
>doesn't make sense. It will probably break less often, but it doesn't
>help you in case a disk really breaks. It also won't speed up an MD
>device much.
>
>  
>
>>Could that significantly improve write speed for RAID 5/6 (e.g. via an 
>>external journal, asynchronous operation and write caching)?
>>    
>>
>
>You could use it for an external journal, or you could use it as a swap
>device.
>  
>

Let me concur, I used external journal on SSD a decade ago with jfs 
(AIX). If you do a lot of operations which generate journal entries, 
file create, delete, etc, then it will double your performance in some 
cases. Otherwise it really doesn't help much, use as a swap device might 
be more helpful depending on your config.

>  
>
>>What changes would be required?
>>    
>>
>
>None, ext3 supports external journals. Look for the -O option in the
>mke2fs manual page. Using the NVRAM device as swap is not different
>from a using "normal" swap partition.
>
>
>Erik
>
>  
>


-- 
bill davidsen <davidsen@tmr.com>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979


  reply	other threads:[~2006-02-10 15:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-10  9:01 NVRAM support Mirko Benz
2006-02-10 12:42 ` Erik Mouw
2006-02-10 15:43   ` Bill Davidsen [this message]
2006-02-11  1:02     ` dean gaudet
2006-02-13  9:22       ` Erik Mouw
2006-02-13 11:54         ` Andy Smith
2006-02-13 13:35           ` Guy
2006-02-14 10:17           ` Erik Mouw
2006-02-15  8:24         ` Mirko Benz
2006-02-15 23:00           ` Neil Brown
2006-02-16 10:05             ` Mario 'BitKoenig' Holbe
2006-02-20  9:57             ` Mirko Benz
2006-02-20 23:16               ` Neil Brown
2006-02-10 17:38 ` Paul Clements

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=43ECB4A4.6010005@tmr.com \
    --to=davidsen@tmr.com \
    --cc=erik@harddisk-recovery.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=mirko.benz@web.de \
    /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).