public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephan von Krawczynski <skraw@ithnet.com>
To: Daniel Phillips <phillips@bonn-fries.net>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Memory Problem in 2.4.9 ?
Date: Wed, 22 Aug 2001 02:04:45 +0200	[thread overview]
Message-ID: <20010822020445.435ec6d5.skraw@ithnet.com> (raw)
In-Reply-To: <20010821190414Z16086-32384+294@humbolt.nl.linux.org>
In-Reply-To: <20010821154617.4671f85d.skraw@ithnet.com> <20010821174918Z16114-32383+718@humbolt.nl.linux.org> <20010821201733.40fae5cf.skraw@ithnet.com> <20010821190414Z16086-32384+294@humbolt.nl.linux.org>

On Tue, 21 Aug 2001 21:10:44 +0200
Daniel Phillips <phillips@bonn-fries.net> wrote:

> > Aug 21 20:14:51 admin kernel: __alloc_pages: 3-order allocation failed 
> (gfp=0x20/0).
> > Aug 21 20:14:51 admin last message repeated 146 times
> > 
> > Next idea?
> 
> It's an atomic allocation, the driver is supposed to be able to handle this, 
> and it does since you report that the burn just runs slowly, it does not 
> stop.  There is way too much in cache:
> 
> >         total:    used:    free:  shared: buffers:  cached:
> > Mem:  1053675520 1047502848  6172672        0 20930560 939307008
> > Swap: 271392768 15880192 255512576
> 
> This is causing the high order allocation failures - with only a small 
> fraction of memory free the chances of none of it being in contiguous, 
> aligned 8 page units rises dramatically.

I basically thought the same. In fact I do not understand why. Are there any parameters tunable to balance the whole picture a bit more towards the free pages?

>  It's likely the kprint that is 
> slowing you down, you could check this by commenting it out (page_alloc.c, 
> near the end of __alloc_pages).

I guess you mean the formerly patched debug-output, do you? I commented it out and saw a way better result than before. In fact I did not manage to break the NFS-copy at all, and although I managed to get the cpu load up to about 5 everything worked smoother. Only now and then were some moments where the display freezes "a bit", but mouse movement continues to work.
Anyway I am not sure, if it is intended that my browser gets swapped out only by copying files via NFS which are alltogether smaller than my physical 1 GB of RAM. I do think that there is still a little too much caching going on.

> Do you have the same problem on 2.4.8, but not in 2.4.7?

I am going to check that tomorrow. Downgrading is a bit tricky on this system.

Thanks Daniel, 
I'll be back
:-)


  reply	other threads:[~2001-08-22  0:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-21 13:46 Memory Problem in 2.4.9 ? Stephan von Krawczynski
2001-08-21 14:33 ` Daniel Phillips
     [not found]   ` <20010821194140.43b46b10.skraw@ithnet.com>
     [not found]     ` <20010821174918Z16114-32383+718@humbolt.nl.linux.org>
2001-08-21 18:17       ` Stephan von Krawczynski
2001-08-21 19:10         ` Daniel Phillips
2001-08-22  0:04           ` Stephan von Krawczynski [this message]
2001-08-22  0:43             ` Daniel Phillips
2001-08-22  0:48               ` Rik van Riel
2001-08-22  1:13                 ` Daniel Phillips
2001-08-22 10:43                   ` Stephan von Krawczynski
     [not found]                   ` <Pine.LNX.4.33.0108220729380.280-100000@mikeg.weiden.de>
2001-08-22 11:01                     ` Stephan von Krawczynski
2001-08-22 17:22                       ` Mike Galbraith
2001-08-22 19:18                         ` Stephan von Krawczynski
2001-08-23  4:57                           ` Mike Galbraith
2001-08-22 11:52           ` Stephan von Krawczynski
  -- strict thread matches above, loose matches on Subject: below --
2001-08-22  4:47 Tommy Wu
2001-08-22 19:32 ` Daniel Phillips
2001-08-22 19:05   ` Marcelo Tosatti
2001-08-23  1:11     ` Daniel Phillips
2001-08-23  0:10       ` Marcelo Tosatti
2001-08-23  2:29         ` Daniel Phillips
2001-08-23  1:19           ` Marcelo Tosatti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010822020445.435ec6d5.skraw@ithnet.com \
    --to=skraw@ithnet.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phillips@bonn-fries.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox