From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
Wei Liu <wei.liu2@citrix.com>,
Konrad Wilk <konrad.wilk@oracle.com>,
Tamas K Lengyel <tamas.lengyel@zentific.com>,
DarioFaggioli <dario.faggioli@citrix.com>,
Tim Deegan <tim@xen.org>,
George Dunlap <george.dunlap@citrix.com>,
Julien Grall <julien.grall@arm.com>,
Paul Durrant <paul.durrant@citrix.com>,
xen-devel <xen-devel@lists.xenproject.org>,
Anthony Perard <anthony.perard@citrix.com>,
Ian Jackson <ian.jackson@citrix.com>,
Roger Pau Monne <roger.pau@citrix.com>
Subject: Re: [PATCH RFC v2] Add SUPPORT.md
Date: Thu, 26 Oct 2017 11:59:27 +0100 [thread overview]
Message-ID: <8980c4ea-922c-cece-9ee4-bb938d5a65a8@citrix.com> (raw)
In-Reply-To: <59F1C4BE020000780018A27E@prv-mh.provo.novell.com>
On 26/10/17 10:19, Jan Beulich wrote:
>>>> On 25.10.17 at 13:30, <andrew.cooper3@citrix.com> wrote:
>> On 25/10/17 11:59, George Dunlap wrote:
>>>>>>>>> + Limit, x86 HVM: 128
>>>>>>>>> + Limit, ARM32: 8
>>>>>>>>> + Limit, ARM64: 128
>>>>>>>>> +
>>>>>>>>> +[XXX Andrew Cooper: Do want to add "Limit-Security" here for some of these?]
>>>>>>>> 32 for each. 64 vcpu HVM guests can excerpt enough p2m lock pressure to
>>>>>>>> trigger a 5 second host watchdog timeout.
>>>>>>> Is that "32 for x86 PV and x86 HVM", or "32 for x86 HVM and ARM64"? Or
>>>>>>> something else?
>>>>>> The former. I'm not qualified to comment on any of the ARM limits.
>>>>>>
>>>>>> There are several non-trivial for_each_vcpu() loops in the domain_kill
>>>>>> path which aren't handled by continuations. ISTR 128 vcpus is enough to
>>>>>> trip a watchdog timeout when freeing pagetables.
>>>>> I don't think 32 is a really practical limit.
>>>> What do you mean by practical here, and what evidence are you basing
>>>> this on?
>>>>
>>>> Amongst other things, there is an ABI boundary in Xen at 32 vcpus, and
>>>> given how often it is broken in Linux, its clear that there isn't
>>>> regular testing happening beyond this limit.
>>> Is that true for dom0 as well?
>> Yes. The problem is:
>>
>> struct shared_info {
>> struct vcpu_info vcpu_info[XEN_LEGACY_MAX_VCPUS];
>> ...
>>
>> and while there are ways to make a larger number of vcpus work, it
>> requires additional hypercalls to make alternate arrangements for the
>> vcpus beyond the 32 boundary, and these arrangements appear to be broken
>> more often than not around suspend/resume.
> But I guess the implied part of George's question was: Wouldn't
> we expect Dom0 to be more frequently tested with > 32 vCPU-s,
> as quite likely not everyone has dom0_max_vcpus= in place?
I'm going to make a wild guess and say the intersection of people with
server class hardware and not using dom0_max_vcpus= is very small.
XenServer for example tops out at 16 dom0 vcpus, because performance
(aggregate disk/network throughput) plateaus at that point, and extra
cpu resource is far better spent running the VMs.
~Andrew
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-10-26 11:00 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-11 17:01 [PATCH RFC v2] Add SUPPORT.md George Dunlap
2017-09-11 17:53 ` Andrew Cooper
2017-09-12 9:48 ` Jan Beulich
2017-09-12 9:49 ` Wei Liu
2017-10-23 16:22 ` George Dunlap
2017-10-23 17:55 ` Andrew Cooper
2017-10-23 20:57 ` Stefano Stabellini
2017-10-24 10:27 ` George Dunlap
2017-10-24 11:42 ` Andrew Cooper
2017-10-25 10:59 ` George Dunlap
2017-10-25 11:30 ` Andrew Cooper
2017-10-26 9:19 ` Jan Beulich
2017-10-26 10:59 ` Andrew Cooper [this message]
2017-10-24 10:29 ` Julien Grall
2017-09-12 5:09 ` Juergen Gross
2017-09-12 10:39 ` Roger Pau Monné
2017-09-12 19:52 ` Stefano Stabellini
2017-09-12 20:09 ` Julien Grall
2017-11-01 17:01 ` George Dunlap
2017-11-01 16:57 ` George Dunlap
2017-09-12 13:14 ` George Dunlap
2017-09-12 15:35 ` Rich Persaud
2017-10-09 13:53 ` Lars Kurth
2017-10-24 14:00 ` George Dunlap
2017-09-15 14:51 ` Konrad Rzeszutek Wilk
2017-10-24 15:22 ` George Dunlap
2017-11-01 17:10 ` Konrad Rzeszutek Wilk
2017-11-02 10:46 ` George Dunlap
2017-11-02 15:23 ` Konrad Rzeszutek Wilk
2017-09-25 23:10 ` Stefano Stabellini
2017-09-26 7:12 ` Dario Faggioli
2017-09-27 12:57 ` Robert VanVossen
2017-09-27 13:48 ` Dario Faggioli
2017-10-09 14:14 ` Lars Kurth
2017-10-27 15:09 ` NathanStuder
2017-11-02 17:34 ` George Dunlap
2017-11-02 20:42 ` NathanStuder
2017-09-26 10:34 ` George Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8980c4ea-922c-cece-9ee4-bb938d5a65a8@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=JBeulich@suse.com \
--cc=anthony.perard@citrix.com \
--cc=dario.faggioli@citrix.com \
--cc=george.dunlap@citrix.com \
--cc=ian.jackson@citrix.com \
--cc=julien.grall@arm.com \
--cc=konrad.wilk@oracle.com \
--cc=paul.durrant@citrix.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=tamas.lengyel@zentific.com \
--cc=tim@xen.org \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).