Skip to content

[Alder Lake] Intel Thread Director and battery life / performance #1084

Closed

Description

@petm5

Just thought I should mention that mainline Linux currently does not have support for Intel's Thread Director. This is required for the proper assignment of processes to performance or efficiency cores on this generation's new big-little architecture. Performance does not seem to be impacted much for me with the stock linux-surface kernel in comparison with Windows 11, but the battery life seems to be shorter on Linux than on Windows.

My testing on a custom kernel with a similar config to the Fedora linux-surface kernel, with the initial patches that enable support for Intel's Thread Director applied, seems to indicate that battery life is almost doubled with this feature. The tablet also seems to stay much cooler while on battery; It would get uncomfortably warm under relatively little load without the patches applied. I haven't tested the performance thoroughly enough yet to determine if there's much improvement.

The patchset to enable Intel's Thread Director
The patchset that the former depends on

Activity

  1. qzed commented on Mar 5, 2023

    @qzed
    Member

    Thanks, that sounds like we should definitely consider carrying these patches. Are you aware of any current/expected issues with those or do they seem close to ready?

  2. petm5 commented on Mar 5, 2023

    @petm5
    Author

    So far I am not aware of any issues or regressions caused by this patchset. They do seem to be close to being merged into mainline, but that could still take a bit of time.

    These patches seem to be incompatible with the current implementations of alternative schedulers like BMQ and PDS, but this does not currently matter for the linux-surface kernel.

  3. qzed commented on Mar 6, 2023

    @qzed
    Member

    Great, I'll have a look at them and apply them after that if I can't spot any big complaints on the ML.

    One disclaimer though: I can't guarantee that I'll be able to fix things if they break, or if some merge conflicts come up. If that happens, I'll probably have to remove them again, at least until I can find the time to sort that out.

  4. qzed commented on Mar 6, 2023

    @qzed
    Member

    I've applied the patches and am currently testing them on my SB2. So far things look good. However, it looks like there's still a bit of discussion around https://lore.kernel.org/lkml/[email protected]/ and some other patches in that series, so that's something to keep in mind.

  5. qzed commented on Mar 6, 2023

    @qzed
    Member

    New kernels are building.

  6. qzed commented on Mar 7, 2023

    @qzed
    Member

    Kernels are out, let me know if there are any issues and I can re-open this one (or just open new ones).

  7. qzed commented on Apr 20, 2023

    @qzed
    Member

    I've removed the patches again due to the suspend/resume issues reported in #1120.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions