lkml.org 
[lkml]   [2002]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux 2.4.19-pre3-ac1
Date
L-K developers,

What is the recomended amount of swap if you have a PC with 384 MB ram?

Matthew
----- Original Message -----
From: Mike Fedyk <mfedyk@matchmail.com>
To: <MrChuoi@yahoo.com>
Cc: <linux-kernel@vger.kernel.org>
Sent: Sunday, March 17, 2002 12:36 AM
Subject: Re: Linux 2.4.19-pre3-ac1

> On Sat, Mar 16, 2002 at 08:58:11PM +0000, Alan Cox wrote:
> > > SwapTotal: 65528 kB
> > > SwapFree: 65528 kB
> > > Committed_AS: 57252 kB
> >
> > Ok at this point you have 64Mb of free swap, and at worse (absolutely
worst
> > pure theory) have 57Mb committed
> >
> > > LowTotal: 126856 kB
> > > SwapTotal: 65528 kB
> > > SwapFree: 63324 kB
> > > Committed_AS: 226160 kB
> >
> > So you have 128Mb of RAM, 64Mb of swap, and if all pages are touched you
> > would need 226Mb of swap + ram (minus kernel overhead). Looks like the
> > machine is hovering on the edge
> >
>
> In Other Words (IOW), add more swap like everyone else said.
>
> The rmap design does use a bit more memory (about 400k for 128MB ram) for
> the reverse mapping tables, so that could push you over into an OOM case.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

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

\
 
 \ /
  Last update: 2005-03-22 13:25    [from the cache]
©2003-2011 Jasper Spaans