Hacker News new | ask | show | jobs
by Sohcahtoa82 1665 days ago
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...

1 comments

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.