Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Process Affinity

Process Affinity

CPU affinity without the Task Manager dialog.

About

Process Affinity is a desktop utility. Pin a process to selected CPU cores and save the profile for next launch.

Some older tools run better on a few cores. The GUI is easy to miss next boot.

Files stay on the machine that runs the tool. Originals are left alone unless you choose otherwise.

Editions

This GitHub repository is the Python CLI source (MIT). Clone it, install requirements, run main.py.

A desktop build for Windows and macOS (installer, no Python required) is on the setup page. Same workflow, packaged for everyday use.

What it does

  • List processes and current affinity
  • Set a core mask
  • Save a named profile
  • Apply on a PID or image name

Requirements

  • Windows 10 or 11 for the desktop build
  • Python 3.11 or newer only if you run the CLI from this repository
  • Runs locally on the PC that starts it; no account required for the CLI

CLI

Python 3.11 or newer. From the repository root:

python -m pip install -r requirements.txt
python main.py --help

--preview prints the plan and does not write. --out sets an output folder when the command supports it.

Install

Download

Windows and macOS installer

Source: https://github.com/julikelly593/process-affinity

MIT license. See LICENSE.