lkml.org 
[lkml]   [2002]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Arch option to touch newly allocated pages
On Wed, Mar 06, 2002 at 04:24:17PM +0100, Daniel Phillips wrote:
> On March 6, 2002 04:24 pm, Benjamin LaHaise wrote:
> > On Wed, Mar 06, 2002 at 03:59:22PM +0100, Daniel Phillips wrote:
> > > Suppose you have 512 MB memory and an equal amount of swap. You start 8
> > > umls with 64 MB each. With your and Peter's suggestion, the system always
> > > goes into swap. Whereas if the memory is only allocated on demand it
> > > probably doesn't.
> >
> > As I said previously, going into swap is preferable over randomly killing
> > new tasks under heavy load.
>
> Huh? In the example I gave, you will never oom but with your suggestion, you
> will always go needlessly go into swap. I'm suprised that you and Peter are
> aguing in favor of wasting resources.

I'm arguing in favour of predictable behaviour. Stability and reliability
are more important than a bit of swap space.

-ben
--
"A man with a bass just walked in,
and he's putting it down
on the floor."
-
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:24    [W:0.103 / U:1.292 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site