Re: swap over soft-RAID = use a swapfile ?

1999-02-26 Thread Benno Senoner
> Yes, the same problem happens in the swap-over-NFS case: the nfs client needs to allocate some memory (which is not disponible) , the the system tries to swap out pages via NFS, leading to an infinite recursion ... I am not a kernel hacker, but I agree wich Luca thatthe RAID code should inc

Re: swap over soft-RAID = use a swapfile ?

1999-02-25 Thread Luca Berra
On Wed, Feb 24, 1999 at 05:48:00PM +0100, Benno Senoner wrote: > Hi, > > I heard that actually soft-raid for Linux can't swap over a /dev/md* > device. > > I don't know how much slower it is to swap do a regular file instead > using the raw partition, Benno, if i remember correctly the sw

Re: swap over soft-RAID = use a swapfile ?

1999-02-25 Thread Osma Ahvenlampi
Benno Senoner <[EMAIL PROTECTED]> writes: > I don't know how much slower it is to swap do a regular file instead > using the raw partition, You can't swap to a file on a software RAID-1/5 filesystem either. -- Osma Ahvenlampi

Re: swap over soft-RAID = use a swapfile ?

1999-02-25 Thread m. allan noah
i am the one who suggested lots of ram to AVOID swapping. i never said turn off swap. that is silly thing to do. i have never setup a swapfile. anyone else ever to that over raid? al "so don't tell us it can't be done, putting down what you don't know. money isn't our god, integrity will free o

Re: swap over soft-RAID = use a swapfile ?

1999-02-25 Thread m. allan noah
so what you are saying is that in the case of drive failure, we will lose that data, unless we have a hardware raid. how does the kernel map those pages to disk if the file is on an md device? since you say it does not access the fs, does it just auto. stripe the data across the constituent part

Re: swap over soft-RAID = use a swapfile ?

1999-02-25 Thread jakob
On Wed, Feb 24, 1999 at 05:48:00PM +0100, Benno Senoner wrote: > Hi, > > I heard that actually soft-raid for Linux can't swap over a /dev/md* > device. True and false. You can swap over Linear, and RAID-0, but there's no point. See the HOWTO :) ... > > I don't know how much slower it is to s

Re: swap over soft-RAID = use a swapfile ?

1999-02-24 Thread Robin Giese
I believe I read in the RAID HowTo that you shouldn't put swap memory on a RAID; the swap daemon stripes it automatically over multiple partitions. Don't know if it's anywhere near redundant though. -Robin >Hi, > >I heard that actually soft-raid for Linux can't swap over a /dev/md* >device. > >

swap over soft-RAID = use a swapfile ?

1999-02-24 Thread Benno Senoner
Hi, I heard that actually soft-raid for Linux can't swap over a /dev/md* device. Someone suggests that putting enough RAM into a box, can avoid swapping, but I think it is safe to have some swap space, in the case a process eats up much memory for short time, to prevent that pages of executable