High-performance, AI-driven Windows system optimizer written in 100% Native Rust.
Runs silently as a background service — zero UI, zero bloat, maximum impact.
ssm is a background Windows optimization daemon that applies deep kernel-level tuning that Windows never does out of the box. A Pure-Rust AI engine classifies what you are doing in real time — Gaming, Coding, Video Editing, or Idle — then dynamically adjusts CPU priority, GPU scheduling, RAM pressure, and network quality. Automatically. No configuration needed.
Unlike bloatware "optimizer" apps, ssm has no GUI, no ads, no telemetry, and no dependencies. Open-source, written entirely in Rust, consuming less than 0.01% CPU and ~6 MB RAM.
Open PowerShell as Administrator and run:
irm https://raw.githubusercontent.com/thisath111/ssm/main/install.ps1 | iexThis will:
- Download the latest optimized binary to
C:\ssm\ssm.exe - Add
C:\ssmto your systemPATH - Register
ssmas a Windows Native Service (auto-starts on every boot) - Start the background optimization daemon immediately
To uninstall completely:
ssm uninstall- Download
ssm.exefrom Releases - Place it in
C:\ssm\and add that folder to yourPATH - Register as a Windows Service:
ssm service install
- Adaptive Timer Resolution — Locks system timer via
NtSetTimerResolutionat 1.0ms / 0.75ms / 0.5ms based on detected hardware tier (Low / Mid / High-end) - Hardware Tier Detection — Auto-detects CPU cores and total RAM at startup and tunes every threshold, trim level, and I/O policy to match your specific PC
- P-Core / E-Core Affinity — Detects CPU topology and pins background processes to Efficiency Cores, reserving Performance Cores for the foreground
- App Launch Accelerator — Boosts newly spawned processes to
HIGH_PRIORITY_CLASSfor 3 seconds for instant responsiveness
- Behavioral Process Intent Classifier — Identifies Gaming, Creative Workstation, Developer, or Typing Tool workloads purely from behavioral signals (RAM usage, CPU %, thread count, window ownership) — no process name lists
- Dynamic Window Ownership Detection — Uses Win32
EnumWindowsto discover every interactive process, tray app, input hook, and IME (e.g. Helakuru, Keyman, Wijesekara) at runtime — nothing hardcoded - Predictive Memory Forecaster — Tracks RAM velocity to forecast pressure spikes 5 seconds ahead and flushes standby cache before stuttering occurs
- Workload State Machine — Transitions between
UltraGaming,CreatorBoost,StandardInteractive, andPowerSaverIdlewith hardware-adaptive emergency thresholds
- DWM DirectFlip Zero-Lag — Strips Desktop Window Manager animation delays and routes frames directly to GPU overlay scan-out
- Kernel Large Pages (2MB HugePages) — Minimizes CPU TLB cache misses for compilers and game engines
- GPU & Network MSI-X Interrupts — Switches adapters to Message Signaled Interrupts via PCI Registry, eliminating DPC latency spikes
- NVMe Queue Depth Tuning — Maximizes NVMe parallel I/O queues and NTFS MFT cache allocation
- TCP NoDelay & QoS DSCP — Disables Nagle algorithm and enforces QoS packet prioritization for lower network latency
- Typing Tool Immunity — Any input method or typing software is automatically detected via window/hook ownership and fully protected from throttling or suspension
- Explorer Auto-Rescue — Monitors
explorer.exeviaIsHungAppWindowand auto-rescues it within seconds if an I/O deadlock freezes your taskbar - Behavioral Background Throttling — Identifies background disk hogs by behavior (low CPU + sleeping state) rather than by name, and deprioritizes them dynamically
- Fast Shutdown — Reduces service shutdown timeouts and enables
AutoEndTasksfor instant shutdowns - Handle Leak Auditor — Monitors processes holding excessive OS handles and deprioritizes them automatically
ssm stats # Live hardware telemetry, AI app intent & kernel stats
ssm boost # One-click performance boost (Timer, Large Pages, DWM, GPU, NVMe)
ssm clean # Purge Windows Standby RAM + clean temporary files
ssm tune # Apply low-latency registry tweaks (MSI-X, TCP NoDelay, Fast Shutdown)
ssm daemon # Run the optimization daemon in foreground (console mode)
ssm service install # Register as a Windows Service with boot autostart
ssm service uninstall # Unregister the Windows Service
ssm uninstall # Completely remove ssm (reverts tweaks, removes service & PATH)| OS | Windows 10 / 11 (64-bit) |
| Architecture | x86-64 (AMD64) |
| Privileges | Administrator (required for kernel-level tuning) |
| Runtime | None — fully self-contained binary |
Requirements: Rust 1.75+ · Windows 10/11 64-bit · MSVC Build Tools
git clone https://github.com/thisath111/ssm.git
cd ssm
cargo build --release # → target/release/ssm.exe
cargo test # Run all unit testsDistributed under the MIT License. See LICENSE for details.