[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-ia64-devel] [PATCH] Return ENOMEM if VPD allocation failed
On Thu, 2007-05-10 at 21:01 +0900, Masaki Kanno wrote:
> Usually ASSRET() is "(void)0". Therefore if VPD allocation
> fails with xenheap shortage or fragmentation, NULL pointer
> access occurs in vmx_final_setup_guest().
> This patch fixes it.
> BTW, I succeeded to creating 60 UP-domains. But I failed to
> creating many SMP-domains with xenheap shortage. I failed
> in the following environments.
> - 55 domains, and
> - each 5 vcpus
> If we would like to support many domains and many vcpus,
> I think that we should expand xenheap.
> I think that the simplest method is changing PS of ITR
> and DTR to 256M byte. Do you have good ideas?
I agree with the comments others have made. If we need to increase
xenheap to support more domains, let's do it. However, we should keep
in mind that we're not all that far from the maximum number of domains
we'd hit from our RID partitioning, so understanding where the xenheap
memory is being allocated may allow us to get by w/o increasing it.
Alex Williamson HP Open Source & Linux Org.
Xen-ia64-devel mailing list