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

Re: [Xen-ia64-devel] How many memory can assign to xen0?



Le Vendredi 21 Avril 2006 13:15, You, Yongkang a écrit :
> Hi all,
>
> I found Xen booting would hang, if I assign a little large memory (>1900M)
> to Xen0. The hang happened just after printing "load initrd..."
>
> Firstly I try it in a 2G physical memory box. The results:
> dom0_mem=1000M        booting ok
> =1024M                booting ok
> =1800M                booting ok (xm info show there are 66M free memory left)
> =1900M                booting hang
> =2000M                __booting hang__
> =2048M                __booting hang__
Seems correct.
Xen needs at least 64MB (Xenheap) plus about 1 MB for the code.
Also a few MB are lost due to WB attributes, PAL, SAL and EFI use.

> Then I also try it in a large memory box (8G).
> Dom0_mem=2048M                __kernel panic__ when booting xen0 kernel.
Humm, a more complete log would be interesting.

> Dom0_mem=1024M                booting okay.
More tests:

(XEN) ready to move Dom0 to 0x8000000 with len 97d000...ready to move initrd 
to
0x8980000 with len 0...Done
(XEN) find_memory: efi_memmap_walk returns max_page=50000
(XEN) find_memory: last granule reserved for dom0; xen max_page=4fc00
(XEN) Before heap_start: f000000004106800
(XEN) After heap_start: f000000004114000
(XEN) Init boot pages: 0x1000000 -> 0x4000000.
(XEN) Init boot pages: 0x8000000 -> 0x7f710000.
(XEN) Init boot pages: 0x7fe58000 -> 0x7fecc000.
(XEN) Init boot pages: 0x100000000 -> 0x140000000.
(XEN) System RAM: 3047MB (3120656kB)
(XEN) size of virtual frame_table: 7680kB
(XEN) virtual machine to physical table: f3ffffffffd82000 size: 1584kB
(XEN) max_page: 0x4fc00
(XEN) alloc_dom0: starting (initializing 2048 MB...)
(XEN) alloc_dom0: can't allocate contiguous memory size=2147483648

I suppose this issue may be fixed with VP.


Tristan.



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


 


Rackspace

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