linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@conectiva.com.br>
To: Ingo Oeser <ingo.oeser@informatik.tu-chemnitz.de>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: Swapping for diskless nodes
Date: Thu, 9 Aug 2001 17:47:35 -0300 (BRST)	[thread overview]
Message-ID: <Pine.LNX.4.33L.0108091740470.1439-100000@duckman.distro.conectiva> (raw)
In-Reply-To: <20010809125033.E1200@nightmaster.csn.tu-chemnitz.de>

On Thu, 9 Aug 2001, Ingo Oeser wrote:

> Are there any races I have to consider?

Well, this IS a big issue against swap over network.

Swap over network is inherently prone to deadlock
situations, due to the following three problems:

1) we swap pages out when we are close to running
   out of free memory
2) to write pages out over the network, we need to
   allocate space to assemble network packets
3) we need to have memory to receive the ACKs on
   the packets we sent out

The only real solution to this would be memory
reservations so we know this memory won't be used
for other purposes.

What we can do right now is be careful about how
many writeouts over the network we do at the same
time, but that will still get us killed in case of
a ping flood ;)

regards,

Rik
--
IA64: a worthy successor to the i860.

		http://www.surriel.com/
http://www.conectiva.com/	http://distro.conectiva.com/

--
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/

  parent reply	other threads:[~2001-08-09 20:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <no.id>
     [not found] ` <E15Ulnx-0006zZ-00@the-village.bc.nu>
2001-08-09 10:50   ` Ingo Oeser
2001-08-09 13:12     ` Dirk W. Steinberg
2001-08-09 20:47     ` Rik van Riel [this message]
2001-08-09 15:19 ` Alan Cox
2001-08-09 17:09   ` Eric W. Biederman
2001-08-09 20:58     ` Rik van Riel
2001-08-10  8:11       ` Eric W. Biederman
2001-08-09 14:26 Bulent Abali
2001-08-09 15:13 ` Alan Cox
2001-08-09 20:57   ` Rik van Riel
2001-08-09 22:46     ` Alan Cox
2001-08-11  1:16       ` Pavel Machek
2001-08-11  1:13   ` Pavel Machek
2001-08-14 12:57     ` Alan Cox
2001-08-16 21:46       ` Pavel Machek
2001-08-17  0:46         ` Rik van Riel
2001-08-17  1:35           ` Jakob Østergaard
2001-08-17 21:23             ` Pavel Machek
2001-08-17  6:42           ` Andreas Haumer
2001-08-17 21:25             ` Pavel Machek
2001-08-17 21:03           ` Andreas Haumer
2001-08-17 22:31             ` Dirk W. Steinberg

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=Pine.LNX.4.33L.0108091740470.1439-100000@duckman.distro.conectiva \
    --to=riel@conectiva.com.br \
    --cc=ingo.oeser@informatik.tu-chemnitz.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /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