[libvirt] [PATCH] RPC: Support up to 4096 cpus on the host and 256 in the guest

Peter Krempa pkrempa at redhat.com
Tue May 28 13:16:42 UTC 2013


On 05/28/13 14:50, Eric Blake wrote:
> On 05/28/2013 06:35 AM, Peter Krempa wrote:
>> The RPC limits for cpu maps didn't allow to use libvirt on ultra big
>> boxes. This patch increases size of the limits to support a maximum of
>> 4096 cpus on the host with the built-in maximum of 256 cpus per guest.
>> The full cpu map of such a system takes 128 kilobytes and the map for
>> vcpu pinning is 512 bytes long.
>> ---
>>   src/remote/remote_protocol.x | 6 +++---
>>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> We missed rc1 - is this still worth getting into 1.0.6?
>
> I'm not opposed to the change, just questioning the timing of it.
>

I don't mind waiting until after the release to push this. Anyways this 
should be safe as we are just raising the limits and with some trickery 
I was able to verify that RPC is okay with transporting this amount of 
information this by reporting fake counts of cpus.

Peter




More information about the libvir-list mailing list