Skip to content

Comment on CPU Pinning and CPU Sets (2020)

Comments

Tangental, but does anyone know of a Windows utility for automatically pinning processes?

I like to keep up with several cryptocurrency prices on Coinbase, but the Coinbase Pro pages consume a pretty significant amount of CPU time. I'd love to be able to just shove all of those processes to a single CPU thread to reduce the impact on overall system performance.

I suppose it wouldn't be too hard to write a Python script that does this automatically...scan Window titles to look for "Coinbase Pro", find the owning PID, then call SetAffinity...

The windows task manager has the ability to set process affinity

Well, yeah, but I'm looking for a way to automate it. If I restart Firefox, all those affinities get reset.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.