[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Question about memory management in Xen


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Haifeng He" <hehaifeng2nd@xxxxxxxxx>
  • Date: Thu, 25 Oct 2007 01:42:07 -0700
  • Delivery-date: Thu, 25 Oct 2007 01:42:46 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.