Carlos E. R. wrote:
The Tuesday 2007-12-04 at 19:38 -0700, Bill Anderson wrote:
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.
For perfomance, yes, you are right. For safety, no, you are wrong.
-- Cheers, Carlos E. R.
I don't see the safety issue as a major issue. The kernel avoids sending dirty pages to swap. Also, any time the application does a write, the dirty pages are sent to the buffer, and buffers aren't swapped. The kernel does not swap any kernel data structure. Having mirrored swap areas isn't going to protect buffers that kflushd hasn't sent to the disk. In this case, my opinion is that performance takes precedence. Bill Anderson WW7BA -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org