The Linux Kernel Mailing List
 help / color / mirror / Atom feed
  • [parent not found: <20260504020003.71306-10-qyousef@layalina.io>]
  • * Re: [PATCH v2 00/13] sched/fair/schedutil: Better manage system response time
           [not found] <20260504020003.71306-1-qyousef@layalina.io>
           [not found] ` <20260504020003.71306-9-qyousef@layalina.io>
           [not found] ` <20260504020003.71306-10-qyousef@layalina.io>
    @ 2026-05-11 17:58 ` John Stultz
      2026-05-12  8:01   ` Qais Yousef
      2026-05-13 15:09 ` Tom Gebhardt
      3 siblings, 1 reply; 15+ messages in thread
    From: John Stultz @ 2026-05-11 17:58 UTC (permalink / raw)
      To: Qais Yousef
      Cc: Ingo Molnar, Peter Zijlstra, Vincent Guittot, Rafael J. Wysocki,
    	Viresh Kumar, Juri Lelli, Steven Rostedt, Dietmar Eggemann,
    	Tim Chen, Chen, Yu C, Thomas Gleixner, linux-kernel, linux-pm
    
    On Sun, May 3, 2026 at 7:00 PM Qais Yousef <qyousef@layalina.io> wrote:
    >
    > This is the long delayed follow up to the series sent back in August 2024 [1].
    > Life got in the way to some extent (I had a baby, and now my time that I used
    > to do upstream work late at night was stolen :). Apologies for those who
    > replied and I didn't get a chance to respond back.
    >
    ...
    > Open questions:
    >
    > * The details of the QoS interface is the biggest one.
    > * Would debugfs be better for setting the default rampup multiplier instead of sysctl?
    > * Patch 13 makes updating load_avg unconditional not on period boundaries.
    >
    > Patches 1-3 are prepatory patches renaming a function and introducing new ones.
    >
    > Patches 4-5 handle the magic margin problem but making them dynamic based on
    > actual hardware limitations.
    >
    > Patches 6-7 fix the black hole problem and teaches the scheduler how to handle
    > bursty and periodic tasks via extending util_est.
    >
    > Patches 8-9 is where I expect most of the discussion on as I introduce a new
    > sched_qos interface to support the new rampup_multiplier to help manage DVFS.
    >
    > Patches 10-11 introduces a couple of necessary optimizations to counter the
    > power impact of increased responsiveness by disabling some features that we now
    > know how to handle better.
    >
    > Patches 12-13 fix a couple of issues causing util_est and util_avg value to
    > swing for a periodic task. Patch 12 must go via stable.
    
    Just a minor nit, If 12/13 are fixes, should they not be at the front
    of the series (or possibly sent separately) so they can potentially
    move forward while the bigger changes in this series are discussed?
    
    thanks
    -john
    
    ^ permalink raw reply	[flat|nested] 15+ messages in thread
  • * Re: [PATCH v2 00/13] sched/fair/schedutil: Better manage system response time
           [not found] <20260504020003.71306-1-qyousef@layalina.io>
                       ` (2 preceding siblings ...)
      2026-05-11 17:58 ` [PATCH v2 00/13] sched/fair/schedutil: Better manage system response time John Stultz
    @ 2026-05-13 15:09 ` Tom Gebhardt
      3 siblings, 0 replies; 15+ messages in thread
    From: Tom Gebhardt @ 2026-05-13 15:09 UTC (permalink / raw)
      To: Qais Yousef; +Cc: linux-kernel, Peter Zijlstra, Ingo Molnar, Vincent Guittot
    
    Hi Qais,
    
    I tested your v2 12/13 (sched/fair: Call update_util_est() after
    dequeue_entities()) and RFC 13/13 (sched/pelt: Always allow load updates)
    on ARM (Raspberry Pi 5, Cortex-A76, 4-core), combined with Peter
    Zijlstra's ttwu series (rebased to 7.0.y by marioroy).
    
    Both patches applied cleanly on top of rpi-7.0.y + 10 ttwu patches
    without conflicts.
    
    Results using stress-ng 0.15.06 pipe stressor (4 workers, 20s):
    
      Kernel                              Clock      pipe bogo ops/s   D vs. 6.6
      ----------------------------------  ---------  ----------------  ----------
      6.6.78-v8-16k+                      2800 MHz        2 487 746    +/-0% (ref)
      7.0.0-v8-16k+ stock                 2400 MHz        1 694 011    -31.9%
      7.0.0-v8-16k+ stock                 2800 MHz        1 851 567    -25.6%
      7.0.0 + ttwu only (10 patches)      2400 MHz        1 836 006    -26.2%
      7.0.0 + ttwu only (10 patches)      2800 MHz        1 934 076    -22.3%
      7.0.0 + ttwu + your 2 Qais patches  2400 MHz        1 996 002    -19.8%
      7.0.0 + ttwu + your 2 Qais patches  2800 MHz        2 342 144     -5.9%
    
    The ttwu-only set recovers ~3-4% of the regression on ARM. Adding your
    two patches brings a much larger improvement -- especially under
    overclocking, where the combined set recovers roughly 94% of the 6.6
    baseline. The remaining ~6% gap may be related to ARM-specific
    DELAY_DEQUEUE interactions.
    
    Device: Raspberry Pi 5 (8 GB, C1-stepping), Bookworm arm64, rpi-7.0.y.
    Background: https://github.com/raspberrypi/linux/issues/7308
    
    Thanks for the series -- the ARM results look very promising.
    
    Tom
    
    ^ permalink raw reply	[flat|nested] 15+ messages in thread

  • end of thread, other threads:[~2026-05-13 15:09 UTC | newest]
    
    Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20260504020003.71306-1-qyousef@layalina.io>
         [not found] ` <20260504020003.71306-9-qyousef@layalina.io>
    2026-05-06 20:38   ` [PATCH v2 RFC 08/13] sched/qos: Add a new sched-qos interface Tim Chen
    2026-05-07  9:55     ` Qais Yousef
    2026-05-07 14:20       ` Chen, Yu C
    2026-05-09  9:39         ` Qais Yousef
    2026-05-11 10:57   ` Peter Zijlstra
    2026-05-12  7:58     ` Qais Yousef
    2026-05-12  8:30       ` Peter Zijlstra
    2026-05-12  8:47         ` Qais Yousef
         [not found] ` <20260504020003.71306-10-qyousef@layalina.io>
    2026-05-11 11:03   ` [PATCH v2 09/13] sched/qos: Add rampup multiplier QoS Peter Zijlstra
    2026-05-12  7:59     ` Qais Yousef
    2026-05-12  8:37       ` Christian Loehle
    2026-05-12  8:53         ` Qais Yousef
    2026-05-11 17:58 ` [PATCH v2 00/13] sched/fair/schedutil: Better manage system response time John Stultz
    2026-05-12  8:01   ` Qais Yousef
    2026-05-13 15:09 ` Tom Gebhardt
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox