frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Reverse Engineering Apple's GPU Energy Model on the M4 Max

https://www.youtube.com/watch?v=HKxIGgyeISM
9•ricebunny•1h ago

Comments

ricebunny•1h ago
Tools like powermetrics or mactop consistently underreport GPU power usage on Apple M-series silicon. Worse, many reputable websites and Youtube channels use these tools to report and compare Apple chip power usage with the competition.

For example, in a heavy GPU workload, powermetrics would report a 65W idle-load delta on the GPU, but at the same time system DC power would rise by 179W, leaving 114W or nearly 2/3 of total system DC power on a Mac Studio M4 Max unexplained.

Using undocumented low level Apple's APIs (SMC and IOReport), we were able to reverse engineer an energy model that explains almost all of of the energy flow in an Apple's SoC with less than 2% error on the workload I studied.

The result is a simple two-term energy roofline model:

P_GPU ≈ a * bytes + b * FLOPs

with:

~5 pJ/byte for SRAM movement

~2.7 pJ/FLOP for compute.

Not only that, but we were able to attribute energy flow to each of the principal functional blocks on the M4 Max SoC, like CPU, GPU compute, GPU SRAM, chip fabric components and DRAM.

For this one example:

179W System DC Power measured via SMC. Of which:

133W GPU (my inference) 18W DRAM 28W SoC Fabric (sum of 3 fabric related components) <1W CPU Think of these values as how much system DC power rise was due to GPU activity, DRAM activity, etc. They are not the exact electrical power, as the VRM losses are not included so the functional blocks slightly overestimate the actual electrical power flowing in.

Now, if you would want to compare against a discrete GPU whose DC power is measured at the board interface, one would definitely want to include DRAM and possible the Fabric power too (if the CPU power is minimal as in this example).

The video walks through the experiments and validation in detail. Happy to answer questions about the measurement setup or the kernels used.

Run Claude Desktop's Cowork mode natively on Linux – no macOS or VM required

https://github.com/johnzfitch/claude-cowork-linux
1•pkaeding•2m ago•0 comments

Businesses rush to rehire staff after regretted AI-driven cuts

https://werd.io/businesses-rush-to-rehire-staff-after-regretted-ai-driven-cuts/
1•benwerd•2m ago•0 comments

Why sharing domain data across microservices is a silent killer

1•davidvartanian•3m ago•0 comments

Spacetime Bounds on Consciousness

https://www.preprints.org/manuscript/202602.1708
1•flinner•4m ago•0 comments

Animated 'Firefly' Reboot in Development from Nathan Fillion, 20th TV

https://www.hollywoodreporter.com/tv/tv-news/animated-firefly-reboot-in-development-nathan-fillio...
1•Amorymeltzer•5m ago•0 comments

At-Home Hair Growth System Just Dropped in Price

https://www.wired.com/story/irestore-deals-amazon-spring-sale-2026/
1•joozio•5m ago•0 comments

The Biggest Oil Risk Is at the Bottom of the Barrel

https://www.bloomberg.com/opinion/articles/2026-03-15/iran-war-the-biggest-oil-risk-is-at-the-bot...
1•alecco•5m ago•1 comments

PyTorch Visually Explained

https://www.youtube.com/watch?v=G4UAQ6bxQzE
1•0bytematt•5m ago•0 comments

Genetic algorithms for prompt optimization, with an LLM as the mutation operator

https://github.com/stack-research/genetic-prompt-programming
1•dnmacon•6m ago•0 comments

Julian Assange speaks at The Council of Europe (2024) [video]

https://www.youtube.com/watch?v=oojj87u6nvo
1•rdevilla•6m ago•0 comments

Memorabilia, ephemera, and promotional items for the first Atlantic cable

https://atlantic-cable.com/Souvenirs/index.htm
1•joebig•6m ago•0 comments

These aren't AI firms, they're defense contractors

https://www.theguardian.com/us-news/ng-interactive/2026/mar/15/ai-defense-warfare-companies
4•billybuckwheat•7m ago•0 comments

Developer Relations: what it is, and how to measure it

https://seldo.com/posts/developer-relations-what-it-is-and-how-to-measure-it/
2•taubek•7m ago•0 comments

What Is Hope?

https://www.desiringgod.org/messages/what-is-hope
2•marysminefnuf•9m ago•0 comments

Show HN: Agentfile one contract.yaml for all your AI agent instruction files

https://github.com/dennishavermans/agentfile
1•bychanzey•9m ago•1 comments

Show HN: Union-find for chatbot memory instead of flat compaction

https://www.june.kim/union-find-compaction
1•kimjune01•12m ago•0 comments

Afrinic accuses litigant of trying to 'paralyse' it

https://www.theregister.com/2026/03/13/afrinic_strikes_back_at_litigant/
1•t-3•12m ago•0 comments

64% of unmarried young women in Japan don't want children, exceeding men

https://mainichi.jp/english/articles/20260312/p2a/00m/0li/006000c
2•rawgabbit•13m ago•0 comments

Mass-Produced Software Components

https://www.cs.dartmouth.edu/~doug/components.txt
2•birdculture•13m ago•1 comments

Chatbots encouraged 'teens' to plan shootings in study

https://www.theverge.com/ai-artificial-intelligence/892978/ai-chatbots-investigation-help-teens-p...
3•01-_-•14m ago•0 comments

How A Deep Learning Library Enables Learning

https://www.henrypan.com/blog/2026-03-14-how-deep-learning-library-enables-learning/
1•megadragon9•17m ago•0 comments

Europe takes first step to banning AI-generated child sexual abuse images

https://www.reuters.com/business/europe-takes-first-step-banning-ai-generated-child-sexual-abuse-...
3•01-_-•19m ago•0 comments

Tech companies defeat bill as AI drains local water supplies

https://www.theolympus.net/13531/
20•laurex•20m ago•5 comments

Groundsource

https://research.google/blog/introducing-groundsource-turning-news-reports-into-data-with-gemini/
1•bookofjoe•23m ago•0 comments

KatBook – Pythonic Social Network for Knostic Agentic Trading (Kat)

https://github.com/claytantor/katbook-api-py
2•claydronze•26m ago•1 comments

Grandparents are glued to their phones, families are worried [video]

https://www.bbc.com/reel/video/p0n61dg3/grandparents-are-glued-to-their-phones-families-are-worried
40•tartoran•26m ago•7 comments

Understanding SMF Properties

https://www.davepacheco.net/blog/2026/smf-properties/
2•naves•27m ago•0 comments

Notes for March 9–15

https://taoofmac.com/space/notes/2026/03/15/1900
2•rcarmo•27m ago•0 comments

Sculpting jaws, giving scores: Inside the world of looksmaxxing

https://www.bbc.com/news/articles/cx28z4zypkno
3•tartoran•27m ago•2 comments

Boom: Senate Votes to Block Private Equity from Buying Homes

https://www.thebignewsletter.com/p/boom-senate-votes-to-block-private
2•randycupertino•29m ago•1 comments