Skip to contentSkip to conversation

Maximum number of vcpus for HVM?

DISCUSSION Juergen Gross 4 participants 5 messages Nov 2, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

According to

https://wiki.xenproject.org/wiki/Xen_Project_Release_Features

HVM guests can have up to 256 vcpus. The definition in

include/public/hvm/hvm_info_table.h:

/* Maximum we can support with current vLAPIC ID mapping. */
#define HVM_MAX_VCPUS 128

and its usage in domain_max_vcpus(d) suggests the limit is 128. I guess we should update the wiki page?

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#1 lore raw
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 02.11.16 at 10:36, <[email protected]> wrote:

According to

https://wiki.xenproject.org/wiki/Xen_Project_Release_Features

HVM guests can have up to 256 vcpus. The definition in

Quoted 7 lines

include/public/hvm/hvm_info_table.h:

/* Maximum we can support with current vLAPIC ID mapping. */
#define HVM_MAX_VCPUS 128

and its usage in domain_max_vcpus(d) suggests the limit is 128. I guess we should update the wiki page?

Yes. I have no idea why it says differently for 4.2+.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 9 lines · Jan Beulich
Quoted 9 lines
Quoted 1 line
Quoted 1 line · On 02.11.16 at 10:36, <[email protected]> wrote:

According to

https://wiki.xenproject.org/wiki/Xen_Project_Release_Features

HVM guests can have up to 256 vcpus. The definition in

include/public/hvm/hvm_info_table.h:

Quoted 7 lines
Quoted 5 lines

/* Maximum we can support with current vLAPIC ID mapping. */
#define HVM_MAX_VCPUS 128

and its usage in domain_max_vcpus(d) suggests the limit is 128. I guess we should update the wiki page?

Yes. I have no idea why it says differently for 4.2+.

Okay, I've updated the wiki.

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#4 lore raw
In reply to Juergen Gross
Quoted 6 lines · Juergen Gross

According to

https://wiki.xenproject.org/wiki/Xen_Project_Release_Features

HVM guests can have up to 256 vcpus. The definition in

Quoted 7 lines

include/public/hvm/hvm_info_table.h:

/* Maximum we can support with current vLAPIC ID mapping. */
#define HVM_MAX_VCPUS 128

and its usage in domain_max_vcpus(d) suggests the limit is 128. I guess we should update the wiki page?

The wiki has been wrong for several releases now, and I have tried multiple times to get it corrected.

Unfortunately, I don't know what the policy is on retrofitting corrections to official documentation like that.

Also, it should read "maximum configurable vcpus", not supported. There is currently no formally-written support statement, and 64vcpu HVM guests can definitely cause 5-second watchdog timeouts in Xen under some circumstances. This is why XenServer support statement is 32 vcpus.

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#5 lore raw
Quoted 12 lines · Andrew Cooper
Quoted 11 lines · Juergen Gross

According to

https://wiki.xenproject.org/wiki/Xen_Project_Release_Features

HVM guests can have up to 256 vcpus. The definition in

include/public/hvm/hvm_info_table.h:

/* Maximum we can support with current vLAPIC ID mapping. */
#define HVM_MAX_VCPUS 128

Quoted 8 lines
Quoted 2 lines

and its usage in domain_max_vcpus(d) suggests the limit is 128. I guess we should update the wiki page?

The wiki has been wrong for several releases now, and I have tried multiple times to get it corrected.

Unfortunately, I don't know what the policy is on retrofitting corrections to official documentation like that.

Just make a change, explaining the rationale for it in the commit message

Quoted 4 lines

Also, it should read "maximum configurable vcpus", not supported. There is currently no formally-written support statement, and 64vcpu HVM guests can definitely cause 5-second watchdog timeouts in Xen under some circumstances. This is why XenServer support statement is 32 vcpus.

Not sure I understand, but feel free to make a sensible proposal

Lars

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel