Xen - Guest memory allocation
YES.
But if I want to add memory of type E820_USABLE to xen memory map during boot up (as per xen/e820.c) where the memory to be added lies behind a PCI device?
For ex,
If a PCI device reports it has 1GB of memory behind it. And XEN has identified th RAM memory to be 4GB.
How can the PCI - 1GB can be added as usable memory to XEN's memory pool to get a cumulative size of 5GB;
thanks,
Dinesh C
On Fri, Jun 6, 2008 at 3:00 PM, Weiming wrote:
AFAIK, In para virtualization, when guest boots, it reads the memory
layout from a special page (start info page) instead of from bios.
If your guest os is a PV Linux, you can check its source code (e.g. start_kernel(), etc.)
Thanks,
Weiming
On Fri, Jun 6, 2008 at 2:00 PM, dinesh chandrasekaran <[email protected]> wrote:
_________________________________________________________________
No Harvard, No Oxford. We are here. Find out !!
http://ss1.richmedia.in/recurl.asp?pid=500
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
I'm not very sure about your problem. Can the Hypervisor address the whole 5GB space? If yes, it can then allocate any of them to guests.
Or you can modify the "start info" passed to Guest OS. You can change the page_nr, a machine-PFN translation table to enable the guest to address the memory space that you want. It's weird.
Quoted 36 lines · dinesh chandrasekaran
YES.
But if I want to add memory of type
E820_USABLEto xen memory map
during boot up (as perxen/e820.c) where the memory to be added lies behind a PCI device?For ex,
If a PCI device reports it has 1GB of memory behind it. And XEN has identified th RAM memory to be 4GB.How can the PCI - 1GB can be added as usable memory to XEN's memory pool to get a cumulative size of 5GB;
thanks,
Dinesh COn Fri, Jun 6, 2008 at 3:00 PM, Weiming wrote:
AFAIK, In para virtualization, when guest boots, it reads the memory layout from a special page (start info page) instead of from bios.
If your guest os is a PV Linux, you can check its source code (e.g.start_kernel(), etc.)Thanks,
WeimingOn Fri, Jun 6, 2008 at 2:00 PM, dinesh chandrasekaran < [email protected]> wrote:
------------------------------
CoolHotmail : Your crazy personality deserves a unique email identity like [email protected]. Choose from this and hundreds other unique email ids now Try it! <http://www.Coolhotmail.com>
Quoted 6 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
Thanks Weiming,
But did the same by editing the e820.c. That is, after xen boots up, if I type "xm dmesg" I could find my output which is
(000000000fff000000 - 00000000ffffffff (mypci_usable)).
I couldn't find the exact place in xen source where the memory allocation for DomU guests are performed.
Now how can I make XEN use the above (mypci_usable) memory range to allocate memory for all its DomU guests.
Thanks in advance
Dinesh C
Date: Fri, 6 Jun 2008 15:12:49 -0400
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]
Subject: [Xen-users] Re: [Xen-devel] Xen - Guest memory allocation
I'm not very sure about your problem. Can the Hypervisor address the whole 5GB space? If yes, it can then allocate any of them to guests.
Or you can modify the "start info" passed to Guest OS. You can change the page_nr, a machine-PFN translation table to enable the guest to address the memory space that you want. It's weird.
On Fri, Jun 6, 2008 at 2:57 PM, dinesh chandrasekaran <[email protected]> wrote:
YES.
But if I want to add memory of type E820_USABLE to xen memory map during boot up (as per xen/e820.c) where the memory to be added lies behind a PCI device?
For ex,
If a PCI device reports it has 1GB of memory behind it.
And XEN has identified th RAM memory to be 4GB.
How can the PCI - 1GB can be added as usable memory to XEN's memory pool to get a cumulative size of 5GB;
thanks,
Dinesh C
On Fri, Jun 6, 2008 at 3:00 PM, Weiming wrote:
AFAIK, In para virtualization, when guest boots, it reads the memory
layout from a special page (start info page) instead of from bios.
If your guest os is a PV Linux, you can check its source code (e.g. start_kernel(), etc.)
Thanks,
Weiming
On Fri, Jun 6, 2008 at 2:00 PM, dinesh chandrasekaran <[email protected]> wrote:
CoolHotmail : Your crazy personality deserves a unique email identity like [email protected]. Choose from this and hundreds other unique email ids now Try it!
_______________________________________________
Xen-devel mailing list
http://lists.xensource.com/xen-devel
_________________________________________________________________
No Harvard, No Oxford. We are here. Find out !!
http://ss1.richmedia.in/recurl.asp?pid=500
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Can dom0 address the whole memory space if no other domU running? If so, it can freely allocate memory to other guests.
Quoted 82 lines · dinesh chandrasekaran
Thanks Weiming,
But did the same by editing the
e820.c. That
is, after xen boots up, if I type "xm dmesg" I could find my output which is (000000000fff000000-00000000ffffffff(mypci_usable)).I couldn't find the exact place in xen source where the memory allocation for DomU guests are performed.
Now how can I make XEN use the above (
mypci_usable) memory range to allocate memory for all its DomU guests.Thanks in advance
Dinesh C------------------------------
Date: Fri, 6 Jun 2008 15:12:49 -0400
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]
Subject: [Xen-users] Re: [Xen-devel] Xen - Guest memory allocationI'm not very sure about your problem. Can the Hypervisor address the whole 5GB space? If yes, it can then allocate any of them to guests.
Or you can modify the "start info" passed to Guest OS. You can change the
page_nr, a machine-PFN translation table to enable the guest to address the memory space that you want. It's weird.On Fri, Jun 6, 2008 at 2:57 PM, dinesh chandrasekaran < [email protected]> wrote:
YES.
But if I want to add memory of type
E820_USABLEto xen memory map
during boot up (as perxen/e820.c) where the memory to be added lies behind a PCI device?For ex,
If a PCI device reports it has 1GB of memory behind it. And XEN has identified th RAM memory to be 4GB.How can the PCI - 1GB can be added as usable memory to XEN's memory pool to get a cumulative size of 5GB;
thanks,
Dinesh COn Fri, Jun 6, 2008 at 3:00 PM, Weiming wrote:
AFAIK, In para virtualization, when guest boots, it reads the memory layout from a special page (start info page) instead of from bios.
If your guest os is a PV Linux, you can check its source code (e.g.start_kernel(), etc.)Thanks,
WeimingOn Fri, Jun 6, 2008 at 2:00 PM, dinesh chandrasekaran < [email protected]> wrote:
------------------------------
CoolHotmail : Your crazy personality deserves a unique email identity like [email protected]. Choose from this and hundreds other unique email ids now Try it! <http://www.Coolhotmail.com>_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel------------------------------
CoolHotmail : Your crazy personality deserves a unique email identity like [email protected]. Choose from this and hundreds other unique email ids now Try it! <http://www.Coolhotmail.com>
Quoted 6 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
Yes, ofcourse dom0 can see this range.
But all the domUs memory has to fall in this restricted memory range (as specified by mypci_usabe)?
for example,
If I start three virtual machines, say VM1, VM2, VM3 with 64MB memory each,
how could I make sure that, the total 192MB for three VMs lie somewhere in mypci_usable range only and not anywhere else.
Thanks,
Dinesh C
Date: Thu, 12 Jun 2008 22:37:17 -0400
From: [email protected]
To: [email protected]
Subject: Re: [Xen-users] Re: [Xen-devel] Xen - Guest memory allocation
CC: [email protected]; [email protected]
Can dom0 address the whole memory space if no other domU running? If so, it can freely allocate memory to other guests.
On Thu, Jun 12, 2008 at 3:34 PM, dinesh chandrasekaran <[email protected]> wrote:
Thanks Weiming,
But did the same by editing the e820.c. That is, after xen boots up, if I type "xm dmesg" I could find my output which is
(000000000fff000000 - 00000000ffffffff (mypci_usable)).
I couldn't find the exact place in xen source where the memory allocation for DomU guests are performed.
Now how can I make XEN use the above (mypci_usable) memory range to allocate memory for all its DomU guests.
Thanks in advance
Dinesh C
Date: Fri, 6 Jun 2008 15:12:49 -0400
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]
Subject: [Xen-users] Re: [Xen-devel] Xen - Guest memory allocation
I'm not very sure about your problem. Can the Hypervisor address the whole 5GB space? If yes, it can then allocate any of them to guests.
Or you can modify the "start info" passed to Guest OS. You can change the page_nr, a machine-PFN translation table to enable the guest to address the memory space that you want. It's weird.
On Fri, Jun 6, 2008 at 2:57 PM, dinesh chandrasekaran <[email protected]> wrote:
YES.
But if I want to add memory of type E820_USABLE to xen memory map during boot up (as per xen/e820.c) where the memory to be added lies behind a PCI device?
For ex,
If a PCI device reports it has 1GB of memory behind it.
And XEN has identified th RAM memory to be 4GB.
How can the PCI - 1GB can be added as usable memory to XEN's memory pool to get a cumulative size of 5GB;
thanks,
Dinesh C
On Fri, Jun 6, 2008 at 3:00 PM, Weiming wrote:
AFAIK, In para virtualization, when guest boots, it reads the memory
layout from a special page (start info page) instead of from bios.
If your guest os is a PV Linux, you can check its source code (e.g. start_kernel(), etc.)
Thanks,
Weiming
On Fri, Jun 6, 2008 at 2:00 PM, dinesh chandrasekaran <[email protected]> wrote:
CoolHotmail : Your crazy personality deserves a unique email identity like [email protected]. Choose from this and hundreds other unique email ids now Try it!
_______________________________________________
Xen-devel mailing list
http://lists.xensource.com/xen-devel
CoolHotmail : Your crazy personality deserves a unique email identity like [email protected]. Choose from this and hundreds other unique email ids now Try it!
_______________________________________________
Xen-devel mailing list
http://lists.xensource.com/xen-devel
_________________________________________________________________
Watch hottest Bollywood videos, clips, movie tailors, star interviews, songs and more on MSN videos.
http://video.msn.com/?mkt=en-in
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
by default, dom0 gets all the available memory (usable physical memory - xen hypervisor). Then, when domU starts up, xen will decrease dom0's allocation via ballooning and allocate them to domU.
Do you want to specify the exact physical memory address space used by domU?
Quoted 117 lines · dinesh chandrasekaran
Yes, ofcourse dom0 can see this range.
But all the domUs memory has to fall in this restricted memory range (as specified by
mypci_usabe)?for example,
If I start three virtual machines, say VM1, VM2, VM3 with 64MB memory each,how could I make sure that, the total 192MB for three VMs lie somewhere in
mypci_usablerange only and not anywhere else.Thanks,
Dinesh C------------------------------
Date: Thu, 12 Jun 2008 22:37:17 -0400
From: [email protected]
To: [email protected]
Subject: Re: [Xen-users] Re: [Xen-devel] Xen - Guest memory allocationCan dom0 address the whole memory space if no other domU running? If so, it can freely allocate memory to other guests.
On Thu, Jun 12, 2008 at 3:34 PM, dinesh chandrasekaran < [email protected]> wrote:
Thanks Weiming,
But did the same by editing the
e820.c. That
is, after xen boots up, if I type "xm dmesg" I could find my output which is (000000000fff000000-00000000ffffffff(mypci_usable)).I couldn't find the exact place in xen source where the memory allocation for DomU guests are performed.
Now how can I make XEN use the above (
mypci_usable) memory range to allocate memory for all its DomU guests.Thanks in advance
Dinesh C------------------------------
Date: Fri, 6 Jun 2008 15:12:49 -0400
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]
Subject: [Xen-users] Re: [Xen-devel] Xen - Guest memory allocationI'm not very sure about your problem. Can the Hypervisor address the whole 5GB space? If yes, it can then allocate any of them to guests.
Or you can modify the "start info" passed to Guest OS. You can change the
page_nr, a machine-PFN translation table to enable the guest to address the memory space that you want. It's weird.On Fri, Jun 6, 2008 at 2:57 PM, dinesh chandrasekaran < [email protected]> wrote:
YES.
But if I want to add memory of type
E820_USABLEto xen memory map
during boot up (as perxen/e820.c) where the memory to be added lies behind a PCI device?For ex,
If a PCI device reports it has 1GB of memory behind it. And XEN has identified th RAM memory to be 4GB.How can the PCI - 1GB can be added as usable memory to XEN's memory pool to get a cumulative size of 5GB;
thanks,
Dinesh COn Fri, Jun 6, 2008 at 3:00 PM, Weiming wrote:
AFAIK, In para virtualization, when guest boots, it reads the memory layout from a special page (start info page) instead of from bios.
If your guest os is a PV Linux, you can check its source code (e.g.start_kernel(), etc.)Thanks,
WeimingOn Fri, Jun 6, 2008 at 2:00 PM, dinesh chandrasekaran < [email protected]> wrote:
------------------------------
CoolHotmail : Your crazy personality deserves a unique email identity like [email protected]. Choose from this and hundreds other unique email ids now Try it! <http://www.Coolhotmail.com>_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel------------------------------
CoolHotmail : Your crazy personality deserves a unique email identity like [email protected]. Choose from this and hundreds other unique email ids now Try it! <http://www.Coolhotmail.com>_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 10 lines
------------------------------
Skydrive - Get 5GB online space for FREE!. Store and share music, photos and documents online with ease. Try it now! <http://skydrive.live.com/>_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users