linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Software Raid Cache
@ 2003-02-21 20:50 ` SoulBlazer
  2003-02-24  6:04   ` Neil Brown
  0 siblings, 1 reply; 3+ messages in thread
From: SoulBlazer @ 2003-02-21 20:50 UTC (permalink / raw)
  To: linux-raid

I was wondering if it would be possible to set aside a large (larger) 
amount of system memory to act as cache for software raid.
I have a few xeon systems here with 4-8gb of memory in them and based on 
watching the performance of some mylex raid cards
jump up when we did a memory upgrade from 64mb -> 128mb I was wondering 
if the same would occur in linux.

If this is even something doable (tweakable) Im wondering what the perf 
gain from allocating say 2 or 4gb just to raid cache would be.

Comments ?


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

* Re: Software Raid Cache
  2003-02-21 20:50 ` Software Raid Cache SoulBlazer
@ 2003-02-24  6:04   ` Neil Brown
  2003-02-24  6:12     ` Maurice Hilarius
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Brown @ 2003-02-24  6:04 UTC (permalink / raw)
  To: SoulBlazer; +Cc: linux-raid

On Friday February 21, soul@lamp-post.net wrote:
> I was wondering if it would be possible to set aside a large (larger) 
> amount of system memory to act as cache for software raid.
> I have a few xeon systems here with 4-8gb of memory in them and based on 
> watching the performance of some mylex raid cards
> jump up when we did a memory upgrade from 64mb -> 128mb I was wondering 
> if the same would occur in linux.
> 
> If this is even something doable (tweakable) Im wondering what the perf 
> gain from allocating say 2 or 4gb just to raid cache would be.
> 
> Comments ?

How do you imagine this extra 'cache' would be used.

Cache on raid cards tends to be battery backed (I believe) and to
operate as a write-behind cache thereby increasing performance.  As
main system memory is not battery backed, you cannot use it as a
write-behind cache.

NeilBrown

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

* Re: Software Raid Cache
  2003-02-24  6:04   ` Neil Brown
@ 2003-02-24  6:12     ` Maurice Hilarius
  0 siblings, 0 replies; 3+ messages in thread
From: Maurice Hilarius @ 2003-02-24  6:12 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-raid

With regards to your message at 11:04 PM 2/23/03, Neil Brown. Where you stated:
> > If this is even something doable (tweakable) Im wondering what the perf
> > gain from allocating say 2 or 4gb just to raid cache would be.
> >
> > Comments ?
>
>How do you imagine this extra 'cache' would be used.
>
>Cache on raid cards tends to be battery backed (I believe) and to
>operate as a write-behind cache thereby increasing performance.  As
>main system memory is not battery backed, you cannot use it as a
>write-behind cache.
>
>NeilBrown


True, and the cache on a RAID controller is not clobbered when the OS or 
computer crashes.
Mind you the same problem exists to some degree with PCI based RAID 
controllers, so the most robust are host independent SCSI/SCSI RAID 
controllers.

Too bad these cost about as much as a typical server!



With our best regards,

Maurice W. Hilarius       Telephone: 01-780-456-9771
Hard Data Ltd.               FAX:       01-780-456-9772
11060 - 166 Avenue        mailto:maurice@harddata.com
Edmonton, AB, Canada      http://www.harddata.com/
    T5X 1Y3


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

end of thread, other threads:[~2003-02-24  6:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <message from SoulBlazer on Friday February 21>
2003-02-21 20:50 ` Software Raid Cache SoulBlazer
2003-02-24  6:04   ` Neil Brown
2003-02-24  6:12     ` Maurice Hilarius

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).