[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xen-4.12-testing test] 169199: regressions - FAIL


  • To: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>
  • From: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • Date: Fri, 8 Apr 2022 16:11:41 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5OMeak4hfaNzOmfDzZPjGqMl6ofgNZCXLnCiqHXqFrg=; b=SlUJCZ+yn6mxtDk6NmxBNWXpgwlJFMQX1bwgED5GXtEp62gbzzPCrqPbPDMRP7GtoTkZ0QKJKANamwiq013Vn7mfcHDxuV0jO0VdLuKF7PrFJrz8e01OzDAiI+v0nTnTg6tYcU4qM51r53ACxzcfIEBPtoVAcSE+C5EKM0az8ZRK2Qn0F7L07jKMxJpC7CmpOL5dDCNUhb9iuwvLIR9r6VNyEl9WG8ANC0Qx9xRQLXoPHmQwMPGP9DdvHWPEJEsarDeY3o5wIKQZmhbGdeOzM7gIcR6MHNG4pgs11BYz75+/iELqrQKny2/7wpbWQuNbZTB0KerU7XXBXh3yd7xUxQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UNYFKV9w6GL2ZrzHkrJwzbzUcQUZOpn+UBKECUgEN4W34qHBn8fkorfkRNMYM7cYjdeT7DATLZSObh1eh+2PXLi35n9jz+4opQ4k/EsDTAUiy1b/Nr5nOxeecj+52FCNoQCqyAkPx8sea8GVLFmqxu3m/FIUpm0JexuEJQ2FjKUo0BpZBIptoRF3gxWb/8N8DlBnow4l8no/mudZE1f9eCb3eSd83RgiYFjVgbKWKck8Y7uuhyCDhM9Occ69vhK76PWo1NM1RbTT2p3pMvSnBIQ1MfUC/i+yuJDEEl5DbAMN5451/By7YxNtJ6/4ijq56ZY1ZAYrRer0H1AUEFZHgQ==
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, osstest service owner <osstest-admin@xxxxxxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, "Dario Faggioli" <dfaggioli@xxxxxxxx>
  • Delivery-date: Fri, 08 Apr 2022 16:12:00 +0000
  • Ironport-data: A9a23:5diG5K6TwM5k5TMD1x9N8gxRtM3HchMFZxGqfqrLsTDasY5as4F+v jYfXGyCO6mCMTD8f9glb9jn8UxS7Z/cx4Q1HQI4/31jHi5G8cbLO4+Ufxz6V8+wwmwvb67FA +E2MISowBUcFyeEzvuVGuG96yE6j8lkf5KkYAL+EnkZqTRMFWFw0XqPp8Zj2tQy2YThU1vX0 T/Pi5a31GGNimYc3l08s8pvmDs31BglkGpF1rCWTakjUG72zxH5PrpGTU2CByKQrr1vNvy7X 47+IISRpQs1yfuP5uSNyd4XemVSKlLb0JPnZnB+A8BOiTAazsA+PzpS2FPxpi67hh3Q9+2dx umhurTrEFYQEKbml98hVj1fHRx7YpJi2efYdC3XXcy7lyUqclPpyvRqSko3IZcZ6qB8BmQmG f4wcW5XKErZ3qTvnez9GrIEascLdaEHOKs2vH16wC6fJvEhWZ3ZGI3B5MNC3Sd2jcdLdRrbT 5RJMmo0MEiYC/FJElAqNZ8shuuXv2vEUzpHk0OY+K4y+WeGmWSd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illtUVEDPxkQylDb4RGYFq/QpF5d1H2mxa1+ UkkC1QefibLEmhJ11dlCGdnzUIFgxes0MKh2Xo2kcL6vaJOg7SQ/Ax9L6xNCGptnbI9esMo5 6ilQiixupqJAKFkyLn69fSURZ20kKyvHo5iOYWy2dSSI0EddZq3MYiFW5uYd899RjBmcsa+S hVfbbhzecTdUnfY2HSv2FpztDpVnMvHg2eSkxHvsCOyTBZkH1w0kNdnaUk7zs93YN4T4MB6/ XPM6xumr0LRsgKbbhlDONERcesEGTCTR/FLWrXK1X6E6MMPW7LtvfMkfgIzfDvfIZNwIo5mZ zHXl8dvWkue1j2AcnLx5FP+gClehT1Yd0s8LAp23FUgMyIeFOwC1zwdLkHqbrVn8ki
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHYSlvwuwuenWmolE2vvQwyk4J/36zlmCOAgAATLgCAABUiAIAAGtAAgAAB2ACAAAJTgIAAAkOAgABDj4CAAAyygA==
  • Thread-topic: [xen-4.12-testing test] 169199: regressions - FAIL

On 08/04/2022 16:26, Roger Pau Monne wrote:
> On Fri, Apr 08, 2022 at 12:24:27PM +0100, Julien Grall wrote:
>> Hi Roger,
>>
>> On 08/04/2022 12:16, Roger Pau Monné wrote:
>>> On Fri, Apr 08, 2022 at 12:08:02PM +0100, Julien Grall wrote:
>>>> Hi,
>>>>
>>>> On 08/04/2022 12:01, Roger Pau Monné wrote:
>>>>>>> I could add a suitable dom0_max_vcpus parameter to osstest.  XenServer
>>>>>>> uses 16 for example.
>>>>>> I'm afraid a fixed number won't do, the more that iirc there are
>>>>>> systems with just a few cores in the pool (and you don't want to
>>>>>> over-commit by default).
>>>>> But this won't over commit, it would just assign dom0 16 vCPUs at
>>>>> most, if the system has less than 16 vCPUs that's what would be
>>>>> assigned to dom0.
>>>> AFAICT, this is not the case on Arm. If you ask 16 vCPUs, then you will get
>>>> that number even if there are 8 pCPUs.
>>>>
>>>> In fact, the documentation of dom0_max_vcpus suggests that the numbers of
>>>> vCPUs can be more than the number of pCPUs.
>>> It was my understanding that you could only achieve that by using the
>>> min-max nomenclature, so in order to force 16 vCPUs always you would
>>> have to use:
>>>
>>> dom0_max_vcpus=16-16
>>>
>>> Otherwise the usage of '_max_' in the option name is pointless, and it
>>> should instead be dom0_vcpus.
>>>
>>> Anyway, I could use:
>>>
>>> dom0_max_vcpus=1-16
>>>
>>> Which is unambiguous and should get us 1 vCPU at least, or 16vCPUs at
>>> most.
>> Unfortunately, Arm doesn't support the min-max nomenclature.
> Hm, can we update the command line document then?
>
> There's no mention that the min-max nomenclature is only available to
> x86. I assume it's not possible to share the logic here so that both
> Arm and x86 parse the option in the same way?

TBH, this especially wants moving to common code.  It's atrocious UX to
have per-arch variations on the syntax for "how many vcpus".

>>> But given Jans suggestion we might want to go for something more
>>> complex?
>> I think we already have some knowledge about each HW (i.e. grub vs uboot) in
>> Osstest. So I think it would be fine to extend the knowledge and add the
>> number of CPUs.
> We don't need to store this information anywhere I think. Since we
> first install plain Debian and then install Xen we can always fetch
> the number of physical CPUs when running plain Linux and use that to
> calculate the amount to give to dom0?
>
> Jan suggested using ceil(sqrt(nr_cpus)).

I'm going to play devils advocate here.

Our CI system had demonstrated that the default behaviour in Xen is
broken.  And we're saying "lets bodge around it in the CI system to not
use the default behaviour".


The only user-friendly way of resolving this is to fix the default and
leave the CI alone.

~Andrew

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.