Re: [2.4] 0-order allocation failed

From: Marcelo Tosatti
Date: Thu Oct 07 2004 - 14:02:13 EST


On Thu, Oct 07, 2004 at 08:43:39PM +0200, Gabor Z. Papp wrote:
> * Marcelo Tosatti <marcelo.tosatti@xxxxxxxxxxxx>:
>
> | > There is really no way to run 2.4 without swap?
> |
> | Nope. Any kernel can't. The thing is the system overcommits
> | memory (it allows applications to allocate more memory than the system
> | is able to handle).
>
> Okay, then whats the required minimum swap size that needed to avoid
> such crashes?
>
> In the case when the system is in the ram, quite funny to allocate a
> swap file on the ramdisk anyway...

It depends on how much memory you have an idea of the workload
you have is going to use.

How much memory do you have? Try 128MB for a test.

Also investigate swap-over-nfs/swap-over-nbd.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/