[XenPPC] Re: xen heap size

2007-02-23 Thread Ryan Harper
* Hollis Blanchard [EMAIL PROTECTED] [2007-02-22 16:30]: On Thu, 2007-02-22 at 16:07 -0600, Ryan Harper wrote: IIRC, when dom0 boots with 192MB (the default) I usually see ~19MB of heap available in the boot messages on js20. Looking at js21, I see: (XEN) Xen Heap: 135MiB (138548KiB)

Re: [XenPPC] Re: xen heap size

2007-02-23 Thread Ryan Harper
* Jimi Xenidis [EMAIL PROTECTED] [2007-02-22 19:30]: We don't consider the RMA boundary for the Xen heap at all anymore (not for a while) The Xen heap is calculated based on the estimated resources we'll need. on example is that we need to get enough HTABs for all the domain, so 1/64th of

Re: [XenPPC] Re: xen heap size

2007-02-23 Thread Hollis Blanchard
On Fri, 2007-02-23 at 10:21 -0600, Ryan Harper wrote: The other method I was going to look into was to allocate dom0's rma, and then calculation would look like: dom0_start_mfn = page_to_mfn(d-arch.rma_base); dom0_overlap = (dom0_start_mfn + dom0_nrpages - rma_sz) - IO_SIZE_PAGES;

Re: [XenPPC] Re: xen heap size

2007-02-23 Thread Jimi Xenidis
hmm.. are we always going to include the IO space in dom0-p2m[] or only when dom0-maxpage IO_Base? -JX On Feb 23, 2007, at 1:05 PM, Ryan Harper wrote: * Hollis Blanchard [EMAIL PROTECTED] [2007-02-23 11:43]: On Fri, 2007-02-23 at 11:12 -0600, Ryan Harper wrote: * Hollis Blanchard [EMAIL

Re: [XenPPC] [PATCH 1 of 6] [PATCH] xen: add arch hook for max_mem hcall

2007-02-23 Thread Jimi Xenidis
On Feb 21, 2007, at 6:16 PM, Ryan Harper wrote: 2 files changed, 6 insertions(+) xen/common/domctl.c |4 xen/include/xen/shadow.h |2 ++ NIT: I think mm.h or domain.h is a better home for the macro/proto. -JX ___ Xen-ppc-devel

Re: [XenPPC] [PATCH 2 of 6] [PATCH] xen: move dom0 memory allocation into construct_dom0()

2007-02-23 Thread Jimi Xenidis
On Feb 21, 2007, at 6:17 PM, Ryan Harper wrote: 2 files changed, 17 insertions(+), 14 deletions(-) xen/arch/powerpc/domain_build.c | 24 xen/arch/powerpc/setup.c|7 +-- # HG changeset patch # User Ryan Harper [EMAIL PROTECTED] # Date 1172103252 21600