[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] [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