From: Jacob Gorm Hansen <jacobg@diku.dk>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Xen-devel@lists.sourceforge.net
Subject: Re: copy on write memory
Date: Mon, 22 Nov 2004 13:42:37 +0100 [thread overview]
Message-ID: <41A1DEBD.6060002@diku.dk> (raw)
In-Reply-To: <E1CVA5S-000516-00@mta1.cl.cam.ac.uk>
Keir Fraser wrote:
>
> Well, you also can over-commit on stuff that is read-only and fault in
> on demand, just as you can demand-CoW writable stuff e.g., no need to
> have all of kernel or glibc in memory all the time -- only hot parts
> of both will be in use by the system at any time.
>
> i.e.,
> 1. There is fault in from no page -> shareable page on read accesses.
> 2. There is fault from shareable page -> shareable page + exclusive
> page on write accesses.
> Both of these require extra allocation of memory.
But I will need some external service to give them to me right when I
need them, or I may run into the 'paged-the-pager' problem and die?
>>Perhaps this should just be a one-way street, you give up pages to be
>>nice to others (and get cheaper hosting or whatever kind of reward you
>>can think of in return), and then you lose the right to write to them
>>for good. Should you need more writable pages, you will have to re-grow
>>your reservation, and if that fails you will need to flush some slabs or
>>buffer caches or or page stuff to disk or whatever you do in Linux when
>>you have memory pressure. Ultimately you may want to migrate to a less
>>loaded machine.
>
>
> It's another way of looking at the problem (end-to-end style I
> suppose). Potetntially worth investigating. :-)
Perhaps I will have a go at some point. If going in this direction
perhaps it will make sense to do this in Xen anyway.
Jacob
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
next prev parent reply other threads:[~2004-11-22 12:42 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-15 22:01 copy on write memory Peri Hankey
2004-11-16 0:35 ` Rik van Riel
2004-11-16 9:44 ` Peri Hankey
2004-11-16 9:51 ` Peri Hankey
2004-11-16 15:27 ` urmk
2004-11-16 16:17 ` Mark A. Williamson
2004-11-18 16:56 ` Peri Hankey
2004-11-18 17:11 ` urmk
2004-11-18 17:25 ` Keir Fraser
2004-11-18 18:41 ` Kip Macy
2004-11-18 18:55 ` Keir Fraser
2004-11-18 19:16 ` Kip Macy
2004-11-18 18:15 ` Peri Hankey
2004-11-19 10:35 ` Jacob Gorm Hansen
2004-11-19 10:59 ` Keir Fraser
2004-11-19 12:02 ` Jacob Gorm Hansen
2004-11-19 14:50 ` Keir Fraser
2004-11-22 12:42 ` Jacob Gorm Hansen [this message]
2004-11-25 15:01 ` of cows and clones: creating domains as clones of saved state Peri Hankey
2004-11-25 21:19 ` Keir Fraser
2004-11-25 22:13 ` Peri Hankey
2004-11-25 22:36 ` Keir Fraser
2004-11-25 22:37 ` Ian Pratt
2004-11-16 18:10 ` copy on write memory Adam Heath
2004-11-16 18:09 ` Adam Heath
2004-11-16 18:39 ` Matt Ayres
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=41A1DEBD.6060002@diku.dk \
--to=jacobg@diku.dk \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=Xen-devel@lists.sourceforge.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.