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

Re: Xen C-state Issues

  • To: Elliott Mitchell <ehem+xen@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 26 Aug 2021 09:51:54 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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-SenderADCheck; bh=6UTDG6zQf8AZNL55ZbKJHuiubc3K5jkc1MnK6DjT0Cw=; b=RHMIvsCsTvNVgfdOUiMNWnbizUPgLTMeAPgfWzr/S5Wq/O5hXGetN5VrGz3Kpf4EmqIsBmEgrThFrHtnxfvG7lKbGrUrceazImJGEOdXaTHLeZT0xxbJ0YSt5KWHGz+ZRJs1Lleyvz7SBAD5l4ihx0k9EO2jBgP9E5cyaz+xf0vpblL+85f/E27bt8+4eAeK37XBoUt6UAc6jpv+k+OC+UjiZzslZMVEaR8mduBGgXj1UMopEFvfvGjQ73V8FDB7/fEYzo/m2gS5jAb74PtfK2O0TPnInN8ktwsRjC/p1AJmbQpbghAvCIBs+IQHpVOZrhXB3a4NgKec9KPk0KSJGQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y5kzklARXksMe3mxqVBCVTwZ3Fh6nGSIussF+vXitrEjBMejNHbLVRXXD7grE+oCtxZqv+QpPRrdxq5VRjBy8vf5NwOMs4pPvHPqZ87bgnSy9zPxxp9dlNISwQ8RB4Vz1W2OSQkCkkKGPnHNqWrbrC/3TruBsdXiluJDlW9a9quRsk5FfRW6tgBbweUhDQ8n9+yUFnVfZKBJMbe0vWjgnRd6o225BpR3NFy4rEgx3ag1QpC8fHNUHvf3cSL1YEgMUGoDJBPXFaZ1yHshG/1lJ9ORQ1M+fg4Qj4h3iXLt1CGVP8SmnvIzy7SxzgqfOCfJnguICb5Y7xMvmekFqsArYQ==
  • Authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 26 Aug 2021 07:52:06 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 26.08.2021 03:18, Elliott Mitchell wrote:
> On Tue, Aug 24, 2021 at 08:14:41AM +0200, Jan Beulich wrote:
>> On 24.08.2021 07:37, Elliott Mitchell wrote:
>>> On Mon, Aug 23, 2021 at 09:12:52AM +0200, Jan Beulich wrote:
>>>> On 21.08.2021 18:25, Elliott Mitchell wrote:
>>>>> ACPI C-state support might not see too much use, but it does see some.
>>>>> With Xen 4.11 and Linux kernel 4.19, I found higher C-states only got
>>>>> enabled for physical cores for which Domain 0 had a corresponding vCPU.
>>>>> On a machine where Domain 0 has 5 vCPUs, but 8 reported cores, the
>>>>> additional C-states would only be enabled on cores 0-4.
>>>>> This can be worked around by giving Domain 0 vCPUs equal to cores, but
>>>>> then offlining the extra vCPUs.  I'm guessing this is a bug with the
>>>>> Linux 4.19 xen_acpi_processor module.
>>>>> Appears Xen 4.14 doesn't work at all with Linux kernel 4.19's ACPI
>>>>> C-state support.  This combination is unable to enable higher C-states
>>>>> on any core.  Since Xen 4.14 and Linux 4.19 are *both* *presently*
>>>>> supported it seems patch(es) are needed somewhere for this combination.
>>>> Hmm, having had observed the same quite some time ago, I thought I had
>>>> dealt with these problems. Albeit surely not in Xen 4.11 or Linux 4.19.
>>>> Any chance you could check up-to-date versions of both Xen and Linux
>>>> (together)?
>>> I can believe you got this fixed, but the Linux fixes never got
>>> backported.
>>> Of the two, higher C-states working with Linux 4.19 and Xen 4.11, but
>>> not Linux 4.19 and Xen 4.14 is more concerning to me.
>> I'm afraid without you providing detail (full verbosity logs) and
>> ideally checking with 4.15 or yet better -unstable it's going to be
>> hard to judge whether that's a bug, and if so where it might sit.
> That would be a very different sort of bug report if that was found to
> be an issue.  This report is likely a problem of fixes not being
> backported to stable branches.

As you say - likely. I'd like to be sure.

> What you're writing about would be looking for bugs in development
> branches.

Very much so, in case there are issues left, or ones have got
reintroduced. That's what the primary purpose of this list is.

If you were suspecting missing fixes in the kernel, I guess xen-devel
isn't the preferred channel anyway. Otoh the stable maintainers there
would likely want concrete commits pointed out ...




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