WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Question about memory management in Xen

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Question about memory management in Xen
From: "Haifeng He" <hehaifeng2nd@xxxxxxxxx>
Date: Thu, 25 Oct 2007 01:42:07 -0700
Delivery-date: Thu, 25 Oct 2007 01:42:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=wVYYlNzciKIxskhYk9TNXwtBV3pbLrihWdrSQUl3niw=; b=VaFAWCX1wh+RzLqYiWIl8W8tMuNIPhI3yF7wW0YAwkZ1I4MJpIi3PARUCgYJS8ayjpGFrZ7FJHiTaV0TH5WF0htdGzN0Mjqx+z4v79OOq2IUaI2rxLY9DFcx0kS84CAarCwO4YZ/dWNA71YbVHd1zPtCB/AfLhK0QsARw75mYVM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=S3Z3QyclfgXm6WBjJRf4MNcGHcBfU+fi+BAG8TFU0B++xXSKNCfe4ZTn0fQXs3gy2gNb8OTrlKQZ+GNHImtmNCa5xGzI7r1q57j+UG7XgFoM7p/2RvXbSQOVC2Gnqhj72JGIYjlwhgh0skUJD76r8tatcD6uEDx9+lnxhR7UlRY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, All

I have a question about the memory management in Xen. Suppose I start
2 DomU instances and both of them use the same kernel image. In this case,

1) will Xen make two copy of the kernel image in the memory, i.e., occupy
2*sizeof(kernel image) space in the physical memory or,

2) will Xen only have one copy of the read-only pages of the kernel
image (for instance, text section, rodata section) in the physical
memory? Because I read
somewhere about that, Unix will only have one copy of read-only pages in the
memory and share them among processes.  How about Xen? Any thoughts?

Thank you

Haifeng

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>