From: Peri Hankey <mpah@thegreen.co.uk>
To: urmk@reason.marist.edu
Cc: Rik van Riel <riel@redhat.com>, xen-devel@lists.sourceforge.net
Subject: Re: copy on write memory
Date: Thu, 18 Nov 2004 18:15:59 +0000 [thread overview]
Message-ID: <419CE6DF.10901@thegreen.co.uk> (raw)
In-Reply-To: <20041118171119.GA26974@reason.marist.edu>
I tried applying it in a spirit of pure optimism (naivety). You never know.
To return for one moment to the thing I was chasing. Let's assume that
in its standard configuration the Linux (or indeed some other kernel)
makes a very good job of sharing memory across processes by means of the
copy-on-write fork semantics and by exploiting the overall view that it
has of how pages/blocks are read from the filesystem and modified by
processes. Let's hope that it (or they) get even better. We would like
separate xenU domains to benefit from the excellence that exists and the
improvements that may be.
My idea is to use a memory-privileged xenU domain as a page-table
manager for a group of client domains. It would have to know about the
memory/page/block usage of every process in each of its clients as if
they were all running within it. But it would never operate as the
actual kernel for any of these processes. For those purposes each
process would operate under the supervision of a memory-client domain
that has its own kernel address space.
I haven't at present got the intimate knowledge of memory management
traffic between xen, xen0 and xenU domains that I would need to see
whether or not this idea has any legs. But I am very interested to know
what anyone thinks. No doubt the best answer is to go and study the code.
Anyway, thanks for your help, and for your quick repsonse. Much quicker
than mine.
Regards
Peri
urmk@reason.marist.edu wrote:
>>It's true, you did mention it before, but I was looking for something
>>else at the time. What I have in mind doesn't require so much
>>configuration. On the other hand it doesn't exist, and this does.
>>
>>
>
>Ah. I couldn't remember if I'd sent it or not (or if I'd even tried to send
>it from an address that was on the list, a few go to the same mailbox at
>the moment)
>
>
>
>>But the patch is against quite an old source, and it doesn't compile
>>straight out of the box. Do you know if there are updated patches
>>against 2.6.9?
>>
>>
>
>I can check.
>
>
>
>>I get this error (which I haven't yet examined in detail):
>>
>> CC [M] fs/xip2fs/file.o
>>fs/xip2fs/file.c: In function `xip2_do_file_read':
>>fs/xip2fs/file.c:69: error: structure has no member named `buf'
>>fs/xip2fs/file.c: In function `__xip2_file_aio_read':
>>fs/xip2fs/file.c:119: error: structure has no member named `buf'
>>fs/xip2fs/file.c: In function `xip2_file_sendfile':
>>fs/xip2fs/file.c:302: error: structure has no member named `buf'
>>
>>This was against xen-2.0.1 as of today 18 Nov 2004
>>
>>
>
>I highly doubt that it will be directly applicable to xen - the entire backend
>mechanism is linked into the z/VM shared memory system between guests. I was
>more pointing it out as a probable jumping off point (most of the work is done,
>it just needs to use the xen memory sharing instead) and as a workable
>concept for a less-cpu-intensive copy-on-write mechanism.
>
>I'll take a look for a newer patch and see if I can scrape up some time to
>apply the backend to xen, but I don't know when I'll get a chance -- don't let
>me hold anyone else up who was considering working on it.
>
>-m
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: InterSystems CACHE
>FREE OODBMS DOWNLOAD - A multidimensional database that combines
>robust object and relational technologies, making it a perfect match
>for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/xen-devel
>
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
next prev parent reply other threads:[~2004-11-18 18:15 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 [this message]
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
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=419CE6DF.10901@thegreen.co.uk \
--to=mpah@thegreen.co.uk \
--cc=riel@redhat.com \
--cc=urmk@reason.marist.edu \
--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.