hmmmm... From the RAID how-to that would not be a good idea...
I believe you could get into trouble if you start hitting swap (memory gets
full).
programs needs extra 1MB of ram...
kernel doesn't have 1 MB of ram, kernel swaps something out to get 1MB ram.
RAID drivers see the request to write to the swap partition and setup a 1MB
buffer to dump the new data on the RAID.
kernel recieves request for 1MB extra ram from RAID driver but doesn't have
it.. kernel swaps something out to get 1MB.
RAID drivers see the request to write to the swap partition and setup a 1MB
buffer to dump the new data on the RAID.
kernel recieves request for 1MB extra ram from RAID driver but doesn't have
it.. kernel swaps something out to get 1MB.
RAID drivers see the request to write to the swap partition and setup a 1MB
buffer to dump the new data on the RAID.
kernel recieves request for 1MB extra ram from RAID driver but doesn't have
it.. kernel swaps something out to get 1MB.
and so on...
This is the problem with using software RAID. Hardware RAID wouldn't use the
kernel memory space.
If possible you should do a test by either finding some big programs to run
that require alot of memory or write a quick C program that malloc's hugh
amounts of memory.
You would only get the above problem if the kernel runs out of real memory
faster then it can swap it out.... Sendmail can do this:-)
Carlos Carvalho wrote:
> David Robinson ([EMAIL PROTECTED]) wrote on 6 June 1999 17:52:
> >I was just wondering how hard it would be to modify the kernel to write
> >to two swap partitions at the same time?
>
> Swapping on raided partitions works with 2.2.6 for me.