On Sun, Oct 14, 2001 at 07:18:49PM +0200, b.hulsken@xxxxxxxxxxxxxx wrote: > On 13 Oct 2001, at 12:01, ataraid-list-request@xxxxxxxxxx wrote: > > > On Fri, Oct 12, 2001 at 01:34:44PM -0400, Marc Lavallée wrote: > > > B. Hulsken wrote: > > > > > > > > > > >I have a highpoint 2x30GB raid array (with ataraid in kernel 2.4.12) and booting > > > >works fine with the patched lilo version. Linux runs nicely until it starts > > > >using the swap(I have 512MB memory). When linux starts swapping the entire > > > >system freezes for a few seconds, and then it unfreezes again. This > > > >freezing/unfreezing happens once or twice every minute. Whats happening? > > > > > > > I also have this problem using the XFS file system. > > > Maybe the ataraid drivers are working only with ext2/3 partitions... > > > > the problem is slightly different. The RAID layer needs to allocate a bit of > > memory during writes, and this doesn't go too well when the VM is low on > > memory and swapping out. > > > > XFS is a different story; it needs to allocate memory on write outs as well, > > making this even worse... > > > Ok. So how much memory are we talking about. Can it be reserved > on boot during driver init? Absolutely > I suppose the md driver has the same > problem, it should allocate some memory during writes, how is it > solved there? > Same way; the MD driver has an emergency pool.