Skip to content

feat(osx): Apple silicon P-core/E-core support and monitoring#1505

Open
achille wants to merge 1 commit intoaristocratos:mainfrom
achille:feature/apple-silicon-pe-cores
Open

feat(osx): Apple silicon P-core/E-core support and monitoring#1505
achille wants to merge 1 commit intoaristocratos:mainfrom
achille:feature/apple-silicon-pe-cores

Conversation

@achille
Copy link
Copy Markdown
Contributor

@achille achille commented Jan 23, 2026

  • Display P-cores and E-cores separately on Apple Silicon Macs
  • Add sudoless CPU frequency monitoring via reverse engineered IOReport framework
  • Add comprehensive tests for CPU box rendering

This took a few weeks and I'd tried many different approaches, e.g: starting powermetrics as a subprocess w/ sudo.
Tested on M1 Max Macbook and (8P+2E cores) and M1 Macbook Air (4P+4E).

LoC

  • +430 IOReport (new data source)
  • +230 btop ux & drawing
  • +630 unit tests (most painful part of getting this to render correctly in all edge cases)

Demo

Demo showing macpm (fka asitop), btop under load w/ stress-ng & when system is triggered to be energy efficient

btop Apple Silicon P/E core monitoring

ai: most of the code was extensively written and tested by ai agents: claude, gemini, codex and glm; largely coordinated by claude under my direction. I've reviewed the code manually, tested in github/circleci/locally and can vouch for it.

@achille achille force-pushed the feature/apple-silicon-pe-cores branch from 2dd222e to f4a6c60 Compare January 24, 2026 00:25
@achille achille force-pushed the feature/apple-silicon-pe-cores branch 3 times, most recently from 21ec903 to cbe99e9 Compare January 24, 2026 06:28
@deckstose deckstose added the AI generated Majority of included code is AI generated label Jan 24, 2026
@achille achille force-pushed the feature/apple-silicon-pe-cores branch 2 times, most recently from aa8d35c to 87c12c3 Compare January 24, 2026 16:30
- Add sudoless CPU frequency monitoring via IOReport framework
- Add comprehensive tests for CPU box rendering

[AI assisted]
@achille achille force-pushed the feature/apple-silicon-pe-cores branch from 87c12c3 to 2554b39 Compare January 24, 2026 16:36
@gdibble

This comment was marked as spam.

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

Labels

AI generated Majority of included code is AI generated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants