CoreCap · How it works
How CoreCap limits apps on Apple silicon
macOS can tell you how much CPU an app uses, but it has no setting to cap it. CoreCap enforces a budget, measured in cores, by pausing and resuming an app's busy processes many times a second. It can also move them onto the efficiency cores, or freeze an app completely while it's in the background. Nothing is installed into the apps, and CoreCap doesn't need administrator rights.
The problem: there's no "max CPU" switch
Linux has cgroups, and Windows has job objects, to put a ceiling on what a program may use. macOS has neither. The tools it does have work on priority: nice, taskpolicy and quality-of-service classes decide who goes first when cores are contended. On a Mac with idle cores, a low-priority app still gets all the CPU it asks for, so the fans still spin up.
You can't pin an app to particular cores either. On Apple silicon the scheduler decides which threads run on the performance cores and which on the efficiency cores. Apps can only hint.
So "Chrome may use 2 cores" has to be enforced from outside, by something that watches and acts.
Duty cycling: run, pause, run
Every app is really a group of processes. Chrome with a few tabs open is often 20 or more. Every 100 milliseconds, CoreCap measures how much CPU each of the app's processes used, using the same per-process accounting Activity Monitor reads. It then works out how much of the next window the busy ones may run, and stops them with SIGSTOP for the rest. SIGCONT lets them go again.
Over a second, that averages out to the budget you set. The hard part is accuracy. Two details made the difference:
- Do the bookkeeping while the app is paused. Measuring and deciding takes a little time. If CoreCap did it while the processes were running, they would get extra run time every cycle and drift over the cap. So it stops them first, then does its sums.
- Sleep precisely. CoreCap's own timing runs at the highest priority with exact timer waits, so a busy Mac doesn't stretch its windows either.
The result holds an app close to its budget. We check that with an independent measurement, the processes' own CPU-time totals, in an automated load test.
Not every process can be paused
Pausing the wrong process makes an app glitchy, so CoreCap is picky:
- Browsers are left in charge of themselves. In Chrome, Edge, Brave, Arc and other Chromium browsers, the main process and the GPU, audio and network helpers are never paused, only the renderers that do the actual page work. Safari's GPU and networking processes are spared the same way.
- What you're looking at keeps running. By default the app in front, and in a browser the tab you're viewing, is left alone. Limits apply to what's in the background.
- Only processes worth pausing. Processes that are barely busy are not touched.
One quirk took a while to find. Recent versions of Chrome run their main process from a temporary, code-signed copy of the app, not from /Applications. So "every process inside Google Chrome.app" misses the most important one. CoreCap matches processes to the running app through the system's own record of which app launched them.
Efficiency cores instead of pausing
Apple silicon Macs have two kinds of cores: fast performance cores and frugal efficiency cores. macOS steers background-priority work to the efficiency cores. CoreCap can mark an app's heaviest processes as background work, so they run more slowly, on the efficiency cores, but are never paused. It's the gentlest way to hold something back, and it uses less power too.
To show the split, CoreCap reads each process's time on each kind of core, which macOS keeps per process. That's how the menu bar can say "Performance 2.6 · Efficiency 1.0".
Pausing apps in the background
Some apps don't need to run at all while you're not using them. With "Pause while in background", CoreCap holds the whole app stopped from the moment you switch away. Switching back resumes it: CoreCap listens for the system's "app became active" event and resumes everything at once. In our tests the app was running again about a tenth of a second after the click.
Two safety valves come with it:
- Catch-up: every five minutes a paused app gets a few seconds to receive messages and finish small jobs, unless you turn that off.
- Audio and staying awake: an app that is playing sound, or keeping the Mac awake for a download or a call, isn't paused. macOS's power-management records show this. Even a silent audio stream counts, so nothing gets cut off mid-call.
Safe by design
- A paused app is always let go. Before CoreCap pauses or slows anything, it writes down which processes it's about to touch. Quitting CoreCap releases every one of them. If CoreCap is force-quit or crashes, it releases them the next time it starts. It checks each process's start time first, so it never touches an unrelated process that later reused the same number.
- No kernel extensions, no injection, no administrator rights. CoreCap only sends the standard pause and resume signals to your own apps, which any app you run is allowed to do.
- Light on its own feet. With its window closed, CoreCap itself uses about 1% of one core.
What it can't do
- CoreCap can't limit system processes that run as another user, such as Spotlight indexing or Time Machine. macOS doesn't let a normal app signal them.
- It isn't on the Mac App Store, because App Store apps aren't allowed to pause other apps. It's signed and notarized by Apple instead.
- "CPU saved" is an estimate: what a limited app was using before it was held back, minus what it uses now. It's labelled as an estimate everywhere it appears.
Download CoreCap Free to monitor · $10 one-time to limit · 14-day trial