From: Jonathan Lundell <jlundell@pobox.com>
To: Alex Bligh - linux-kernel <linux-kernel@alex.org.uk>,
Rik van Riel <riel@conectiva.com.br>,
Stephan von Krawczynski <skraw@ithnet.com>
Cc: _deepfire@mail.ru, linux-kernel@vger.kernel.org,
marcelo@conectiva.com.br,
Alex Bligh - linux-kernel <linux-kernel@alex.org.uk>
Subject: Re: page pre-swapping + moving it on cache-list
Date: Thu, 6 Sep 2001 07:47:50 -0700 [thread overview]
Message-ID: <p05100300b7bd3bf9bf7a@[10.128.7.49]> (raw)
In-Reply-To: <591984348.999786074@[10.132.112.53]>
In-Reply-To: <Pine.LNX.4.33L.0109061003320.31200-100000@imladris.rielhome.con ectiva> <591984348.999786074@[10.132.112.53]>
At 2:21 PM +0100 2001-09-06, Alex Bligh - linux-kernel wrote:
>It's not keeping it two lists that prevents proper
>defragmentation. It's having it allocated all around
>memory, and never freeing the pages which prevent
>coalescence of areas, and thus either
>throwing away the data, or garbage collecting, that
>prevents defragmentation. We never free these pages
>either because they sit in an idle system (with
>no memory pressure) in places like
>inactive_dirty, or in caches, or, in an active
>system, because they are direct_reclaim'd out
>of inactive_clean etc., so never get freed [1].
>
>As this kind of garbage collection requires memcpy()
>etc., it might be harmless when the system is
>idle, but isn't going to be an attractive option when
>the system is busy thrashing away (though it might be
>possible to hueristically evict awkward pages
>preferentially, by aging them more harshly).
The problem with thrashing, is it not, is that we're not making
forward progress because we're waiting for swap--that is to say,
thrashing *is* an idle state of sorts, and so might be an ideal
opportunity for gc methods that require heavy CPU involvement. It's
not as if there's anything better to do....
--
/Jonathan Lundell.
next prev parent reply other threads:[~2001-09-06 14:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-06 5:19 Samium Gromoff
2001-09-06 11:29 ` Rik van Riel
2001-09-06 12:51 ` Stephan von Krawczynski
2001-09-06 13:05 ` Rik van Riel
[not found] ` <Pine.LNX.4.33L.0109061003320.31200-100000@imladris.rielhome.con ectiva>
2001-09-06 13:21 ` Alex Bligh - linux-kernel
2001-09-06 14:47 ` Jonathan Lundell [this message]
2001-09-07 10:15 ` Helge Hafting
2001-09-07 10:35 ` Alex Bligh - linux-kernel
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='p05100300b7bd3bf9bf7a@[10.128.7.49]' \
--to=jlundell@pobox.com \
--cc=_deepfire@mail.ru \
--cc=linux-kernel@alex.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=riel@conectiva.com.br \
--cc=skraw@ithnet.com \
/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
all inboxes | Powered by JetHome®