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

Re: Slow (higher scheduling latency?) system after S3 - regression 4.17 -> 4.19 ?


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 2 Apr 2026 15:02:15 +0200
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=fm1 header.d=invisiblethingslab.com header.i="@invisiblethingslab.com" header.h="Cc:Content-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=fm2 header.d=messagingengine.com header.i="@messagingengine.com" header.h="Cc:Content-Type:Date:Feedback-ID:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To:X-ME-Proxy:X-ME-Sender"
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Jürgen Groß <jgross@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Thu, 02 Apr 2026 13:02:33 +0000
  • Feedback-id: i1568416f:Fastmail
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Fri, Mar 27, 2026 at 01:47:55PM +0100, Marek Marczykowski-Górecki wrote:
> Some further observation, this time regarding timers:

In the meantime Roger suggested it might be about C-states. So, I just
tried booting with max_cstate=0. I got this:

    [2026-04-02 11:41:57] (XEN) [    4.327519] mwait-idle: disabled

But then xenpm reports C1 is still used:

    # xenpm get-cpuidle-states 
    Max possible C-state: C0

    cpu id               : 0
    total C-states       : 2
    idle time(ms)        : 3727115
    C0                   : transition [                   0]
                           residency  [             3769835 ms]
    C1                   : transition [                   0]
                           residency  [                   0 ms]

    cpu id               : 1
    total C-states       : 2
    idle time(ms)        : 3763654
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769838 ms]

    cpu id               : 2
    total C-states       : 2
    idle time(ms)        : 3729168
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769838 ms]

    cpu id               : 3
    total C-states       : 2
    idle time(ms)        : 3750226
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769840 ms]

    cpu id               : 4
    total C-states       : 2
    idle time(ms)        : 3726369
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769840 ms]

    cpu id               : 5
    total C-states       : 2
    idle time(ms)        : 3755733
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769840 ms]

    cpu id               : 6
    total C-states       : 2
    idle time(ms)        : 3725747
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769841 ms]

    cpu id               : 7
    total C-states       : 2
    idle time(ms)        : 3730190
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769841 ms]

    cpu id               : 8
    total C-states       : 2
    idle time(ms)        : 3716485
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769841 ms]

    cpu id               : 9
    total C-states       : 2
    idle time(ms)        : 3710830
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769842 ms]

    cpu id               : 10
    total C-states       : 2
    idle time(ms)        : 3704881
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769842 ms]

    cpu id               : 11
    total C-states       : 2
    idle time(ms)        : 3719333
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769842 ms]

    cpu id               : 12
    total C-states       : 2
    idle time(ms)        : 3715059
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769842 ms]

    cpu id               : 13
    total C-states       : 2
    idle time(ms)        : 3711681
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769843 ms]

    cpu id               : 14
    total C-states       : 2
    idle time(ms)        : 3709380
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769843 ms]

    cpu id               : 15
    total C-states       : 2
    idle time(ms)        : 3720119
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769843 ms]

    cpu id               : 16
    total C-states       : 2
    idle time(ms)        : 3737637
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769844 ms]

    cpu id               : 17
    total C-states       : 2
    idle time(ms)        : 3737662
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769844 ms]

    cpu id               : 18
    total C-states       : 2
    idle time(ms)        : 3729870
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769844 ms]

    cpu id               : 19
    total C-states       : 2
    idle time(ms)        : 3745564
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769845 ms]

    cpu id               : 20
    total C-states       : 2
    idle time(ms)        : 3717089
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769845 ms]

    cpu id               : 21
    total C-states       : 2
    idle time(ms)        : 3590257
    C0                   : transition [                   1]
                           residency  [                   0 ms]
    C1                   : transition [                   1]
                           residency  [             3769845 ms]

And the issue still happens...

Honestly, I'm confused about the above output. The system is mostly
idle, but I wouldn't expect it to be _that_ idle - there is xenstored +
xenconsoled running, plus occasional xl create for testing with
short-lived domU. Does it really all happen only on CPU0 here?

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab

Attachment: signature.asc
Description: PGP signature


 


Rackspace

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