linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Andrew Morton <akpm@osdl.org>
Cc: miquels@cistron.nl, linux-mm@kvack.org
Subject: Re: Keeping mmap'ed files in core regression in 2.6.7-rc
Date: Wed, 16 Jun 2004 14:03:09 +1000	[thread overview]
Message-ID: <40CFC67D.6020205@yahoo.com.au> (raw)
In-Reply-To: <20040615205017.15dd1f1d.akpm@osdl.org>

Andrew Morton wrote:
> Nick Piggin <nickpiggin@yahoo.com.au> wrote:
> 
>>Can you send the test app over?
> 
> 
> logical next step.
> 
> 
>>Andrew, do you have any ideas about how to fix this so far?
> 
> 
> Not sure what, if anything, is wrong yet.  It could be that reclaim is now
> doing the "right" thing, but this particular workload preferred the "wrong"
> thing.  Needs more investigation.
> 
> 
> 
>>>See how "cache" remains stable, but free/buffers memory is oscillating?
>>>That shouldn't happen, right ? 
>>>
>>
>>If it is doing IO to large regions of mapped memory, the page reclaim
>>can start getting a bit chunky. Not much you can do about it, but it
>>shouldn't do any harm.
> 
> 
> shrink_zone() will free arbitrarily large amounts of memory as the scanning
> priority increases.  Probably it shouldn't.
> 
> 

Especially for kswapd, I think, because it can end up fighting with
memory allocators and think it is getting into trouble. It should
probably rather just keep putting along quietly.

I have a few experimental patches that magnify this problem, so I'll
be looking at fixing it soon. The tricky part will be trying to
maintain a similar prev_priority / temp_priority balance.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

  reply	other threads:[~2004-06-16  4:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-08 14:29 Miquel van Smoorenburg
2004-06-12  6:56 ` Nick Piggin
2004-06-14 14:06   ` Miquel van Smoorenburg
2004-06-15  3:03     ` Nick Piggin
2004-06-15 14:31       ` Miquel van Smoorenburg
2004-06-16  3:16         ` Nick Piggin
2004-06-16  3:50           ` Andrew Morton
2004-06-16  4:03             ` Nick Piggin [this message]
2004-06-16  4:23               ` Andrew Morton
2004-06-16  4:41                 ` Nick Piggin
2004-06-17 10:50           ` Miquel van Smoorenburg

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=40CFC67D.6020205@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=akpm@osdl.org \
    --cc=linux-mm@kvack.org \
    --cc=miquels@cistron.nl \
    /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