Skip to contentSkip to conversation

Software Raid Cache

DISCUSSION SoulBlazer 3 participants 3 messages Feb 21, 2003 – Feb 24, 2003 MD RAID

lore
Share & tools
lore

SoulBlazer

author
#0 lore raw

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 ?

#1 lore raw
Quoted 11 lines · On Friday February 21, [email protected] 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

#2 lore raw

With regards to your message at 11:04 PM 2/23/03, Neil Brown. Where you stated:

Quoted 5 lines
Quoted 4 lines

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 ?

Quoted 8 lines

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:[email protected]
Edmonton, AB, Canada http://www.harddata.com/
T5X 1Y3