Skip to content

KikiKian/dispatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dispatch

Dispatch is a process manager that lets you control which CPU cores your running processes are pinned to and it is built for laptops that don't have built-in eco or performance modes. Instead of letting the OS scatter work across all available cores, you can assign processes to specific cores, keeping background tasks out of the way, letting idle cores sleep, and giving your most important work dedicated resources.

Modes

Eco Mode

Restricts all processes to half of the available physical cores. Useful for reducing heat and power consumption while keeping the system responsive.

Performance Mode

Prioritizes high-value processes by directing them to dedicated cores first, then distributes remaining processes based on evaluation scores.

Platform Support

Platform Status
Windows Supported (via winapi)
Linux Supported (via nix)

Building

cargo build --release

Usage

cargo run

Installation

Requires Rust (stable toolchain).

Linux / macOS

git clone https://github.com/kikikian/dispatch.git
cd dispatch
cargo install --path .

This installs the dispatch binary to ~/.cargo/bin. If dispatch isn't found after install, add it to your PATH:

echo 'export PATH="$PATH:$HOME/.cargo/bin"' >> ~/.bashrc
source ~/.bashrc

(If you're using zsh instead of bash, use ~/.zshrc instead.)

Verify:

dispatch read

Windows (PowerShell)

git clone https://github.com/kikikian/dispatch.git
cd dispatch
cargo install --path .

This installs dispatch.exe to %USERPROFILE%\.cargo\bin. The Rust installer adds this to PATH automatically — if it's missing, add it manually:

  1. Search "Environment Variables" in the Start menu → Edit environment variables for your account
  2. Edit the Path variable, add: %USERPROFILE%\.cargo\bin
  3. Restart PowerShell

Verify:

dispatch read

Note: dispatch manages system processes (affinity, suspend, kill), so some commands may require elevated privileges:

  • Linux/macOS: run with sudo if you hit permission errors
  • Windows: run PowerShell as Administrator if you hit permission errors

"Built for efficiency, founded by simplicity."

Tickets

  • Finish each mode (performance, gaming, eco)
    • Maybe multi-threading processing
    • better algo
  • Daemon integration
  • Testing implementation for linux
    • likely on WSL

About

Reclaim control of your CPU

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages