Matthew Stringer wrote:
> On Tuesday 04 December 2007 17:22:24 James Knott wrote:
>> Matthew Stringer wrote:
>>> On Tuesday 04 December 2007 15:27:06 James Knott wrote:
>>>> Matthew Stringer wrote:
>>>>> I don't normally SoftRAID the swap partitions as it would be faster
>>>>> just to have multiple ones instead (you're not limited to one).
>>>> Given one of the goals of RAID is to keep the system running when a
>>>> drive fails,  what happens when a drive containing swap croaks?
>>> Your available swap space would be reduced, doesn't cause the system to
>>> fail.
>> And when it goes to retrieve the contents of that swap that's no longer
>> there?  Drives do fail occasionally, when the system is running.
> 
> If you swap over multiple partitions the data is automatically striped, it 
> usually copes OK if a drive blobs Linux is fairly stable these days when it 
> comes to read/write errors. I think you're splitting hairs if you think that 
> sotfRAID1 gives you enough extra stability which outweighs the reduction in 
> performance.
> 
There is no need to create the swap partitions as RAID drives. The
simple solution is to use the ionice command to set the I/O priority of
all swap partitions to the same value. The kernel then treats them in a
manner similar to RAID 0. For performance reasons, you don't want
anything to slow down swap.

Bill Anderson
WW7BA
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to