dulaiduwang003/Pavise-Game
Open-source Windows game resource manager. Suppresses background processes, gives games exclusive CPU cores, steers device interrupts off game cores, applies per-game GPU driver
About dulaiduwang003/Pavise-Game
dulaiduwang003/Pavise-Game is an open-source project on GitHub, mainly written in C#. Open-source Windows game resource manager. Suppresses background processes, gives games exclusive CPU cores, steers device interrupts off game cores It currently holds 2,563 stars and 111 forks with 5 open issues, and was last pushed on 2026-11-22 (repository created 2026-08-02).
Project Overview
Git Homed tracks it on the Today's Trending board.
GitHub Repository Details
README
PAVISE
English · 简体中文 · Guia em português
Keep resources for your game.
A free, open-source runtime resource orchestrator for Windows games.
Intelligent background suppression during play helps your existing hardware devote more of its performance to the current game.
Source version 3.3.1.5 · Intelligent background suppression · Per-game configuration · Action and diagnostic logs
Website · Download and updates · User guide · Report an issue
This repository provides Pavise source code, build instructions, and runnable regression tests. The current source version is 3.3.1.5. Available downloads and published release notes are listed on the releases page.
Why runtime resource orchestration?
Pavise is a free, open-source runtime resource orchestrator for Windows games. Built around intelligent background suppression during play, it coordinates CPU placement, critical threads, performance priorities, and power policies for the current game.
Pavise focuses on how resources are allocated and used while a game is running. Game-thread placement, CPU selection, power states, and competing workloads all shape the gaming experience. Per-game configuration, execution checks, and restoration after play give players control over runtime scheduling and help them get more from the hardware they already own.
Our goal is to make professional Windows gaming resource management freely available to every player, for a smoother and more consistent gaming experience. Players should not need expensive optimization software to make good use of their own hardware. That is why Pavise remains free and open source: its implementation can be read, its behavior can be checked, and its tools are available to everyone.
At its core: intelligent background suppression
Pavise reduces competition from background activity during play, leaving more of your hardware's existing performance available to the game. Browsers, launchers, updaters, and other background applications share CPU, disk, and GPU resources with your game. Pavise manages eligible background workloads according to the selected mode and current load.
Once the guard is enabled and a game is detected, Pavise can, according to your settings:
- Make background work yield: lower eligible background CPU, disk I/O, and memory-page priorities and request efficiency mode. CPU placement can also move manageable background work away from game cores.
- Adjust to the situation: Smart mode adapts to foreground status and sustained load; Competitive mode keeps background governance active throughout the game session, including when you switch away.
- Protect applications you need: the game, essential dependencies, and allowlisted applications remain protected. Add voice chat, streaming tools, and other applications that need their resources to the whitelist.
- Restore changes and show what happened: recorded temporary session changes are restored after play. Overview counters, action logs, and diagnostic logs show suppression and restoration results.
Before you start
Most features apply only during a game session and restore their changes afterward. Features that do not restore on game exit are marked separately. Persistent settings have their own disable or restore actions, and some require a restart. Deleted files and cleared caches are not reversible setting changes.
Avoid running Pavise alongside other tools that manage process priorities or CPU affinity, as they may repeatedly overwrite each other's settings.
Security software and allowlisting: depending on the features you select, Pavise changes process scheduling, services, power settings, and registry values; some actions use PowerShell. Security software may detect, block, or flag these operations. Download from an official source and verify its origin before adding Pavise to your security software's allowlist. If you have concerns about these operations, review the public source code or build it yourself before deciding whether to run it with administrator privileges.
Results depend on the game, hardware, drivers, and background load. Compare smoothness, stutter, and responsiveness in a repeatable scene.
Download and get started
Requirements: Windows 10 version 2004 (build 19041) or later, .NET Framework 4.7.2 or later, and administrator privileges. Features are available according to the capabilities of your PC.
| Download option | Link | | --- | --- | | Website | Download and updates | | GitHub | Releases and downloads | | Quark cloud drive | Alternative download; check the version |
1. Download to a permanent folder. If using the complete ZIP, extract all accompanying files together. 2. Run as administrator, add the actual game EXE, and review the whitelist and per-game settings. 3. Select the features you want, choose Smart or Competitive mode and the background governance level, then enable the guard and start your game. 4. After leaving the game, check the restoration status. Export the session logs if troubleshooting is needed.
Before upgrading, exit the game and close the old version normally. In-app updates are under About → Check for updates and preserve your personal data.
Build from source
Use the .NET Framework C# compiler and Windows PowerShell included with Windows, plus link.exe, lib.exe and rc.exe from Visual Studio Build Tools (MSVC x64 tools and a Windows SDK). The build script finds these tools with vswhere, or you can point PAVISE_MSVC_ENV at your own environment script. The ETW, CPUID and HID probe object files are precompiled with Zig and stored in src/Interop/NativeEtwImage.cs, src/Interop/NativeCpuImage.cs and src/Interop/NativeHidImage.cs. The standard build links them into Pavise.exe without requiring Zig. The source guide maps the current directories and build entry points.
build.cmd -b prod
The output is build\Pavise.exe. It imports only KERNEL32 and mscoree and needs no VC runtime; the build checks the implementation and version identity. build.cmd -b dev --il-only builds a pure IL twin from the same sources for tests and release checks that load the program as an assembly; it is not for release.
Tests and benchmarks
This repository includes runnable regression tests for the current source, covering intelligent background governance, configuration reads, session and configuration identity, bounded retries, restoration ownership, timers, and security software detection. Run the published suites with:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File tools/Run-PublicTests.ps1
Tests use in-memory settings, controlled interfaces, or their own processes. Test windows stay hidden, and the Pavise application entry point is not started. The independent CPU and memory benchmark also provides capability probes, measurement checks, and controlled background CPU-placement experiments. See the test documentation for requirements, isolation boundaries, and measurement limits.
Development experiments on Microsoft background governance, Job limits, recovery, CPU topology, runtime overhead, and independent benchmarks are collected in Experiments and validation. Each topic includes methods, data, and test conditions. The linked records cover measurements from November 7–10, 2026 on the 3.3.0.8 development snapshot.
Complete feature list
The following lists the features and sub-capabilities in the current 3.3.1.5 source. Availability depends on Windows, hardware, drivers, and the game. See the user guide for instructions.
View the complete feature list
| Group | Features | | --- | --- | | Guard and overview | Guard switch, Smart and Competitive modes, game and guard status, hardware and utilization monitoring, live CPU, GPU, and memory readings, and session counters for suppressed processes and paused services. | | Intelligent background suppression (core) | Background governance; Off, Normal, Aggressive, and Insane levels; dynamic scope expansion under load; whole-core background limits; background CPU, disk I/O, and memory-page priority reduction; efficiency mode (EcoQoS); limits on dynamic background thread boosts; Delivery Optimization download yielding; automatic maintenance limits during play; game and essential dependency protection; releasing or retaining governance when switching away; restoration after play. | | Game library and detection | Game executable detection; adding an EXE or a running game; selecting minimized or tray games; Steam and WeGame scanning; automatic library additions; ignore list and undo; search; renaming games; replacing or restoring covers; removing games. | | Per-game tuning | Per-game configuration; forced optimization trigger; Suppress family processes; disabling fullscreen optimizations; disabling CFG per game; NVIDIA ReBAR; advanced tuning grouped into CPU and Other with saved values shown inline; game core range and isolation; a separate render-thread affinity switch with Automatic, Single render core, and Manual modes and optional whole-core avoidance; per-game opt-out of Performance priority and Game thread boost. | | CPU placement and isolation | All-core, P-core, E-core, CCD, and cache-domain selection; manual logical processor selection; keeping one thread per core or including SMT siblings; whole-core background avoidance; draft CPU selections with Save and Reload saved; CPU-range restoration. | | Performance priority, thread boost, and render thread affinity | Two per-game switches in advanced tuning, on by default: Performance priority (game process at High, raised disk and GPU priority, locked high-performance QoS) and Game thread boost (frame-submitting thread at the highest level with its partner slightly higher, or the busiest thread when it cannot be identified). Per-game render thread affinity only places cores: Automatic gives one to three frame-critical threads their own physical cores by measurement, Single render core pins the render thread to the best core, and Manual pins it to chosen CPUs. Changes apply next session and owned changes are restored when it is turned off, the game ends, or the app exits. Game memory priority adjustment and its legacy recovery path have been removed. | | In-game power | No-switch, managed, or existing power plans; managed power and dynamic parameters; separate AC and DC settings; CPU-topology matching; core parking, EPP, and boost coordination; plan and parameter verification; an in-game power-plan guard; original-plan restoration; laptop vendor performance modes; Lenovo SmartFan and ASUS G-Helper integration; original vendor-mode restoration; handheld compatibility; keeping the system awake during play. | | Timers | Global timer resolution; high-resolution timer requests during play; timer readback and post-restart verification; timer-state restoration. | | Memory and caches | Turn Standby memory cleanup on or off in Environment. Open Parameters to choose Default, Conservative, Aggressive, or Custom and adjust the standby-list size threshold, available-memory threshold, and polling interval. Other features include manual deep cleanup, reclaiming Pavise's own memory during play, and a display of changes in available physical memory. | | Graphics and presentation | NVIDIA maximum-performance preference and shader-cache size; disabling background game recording. | | System performance | System enhancement groups VBS and memory integrity, configurable CPU software mitigations, and AC audio power management under one switch. Turning it on uses the extended CPU policy on supported systems and the basic policy where applicable. Upgrading preserves the previous scope. Enabling it reduces protection and can affect Hyper-V and WSL2. Restart Windows after applying or restoring these settings. Windows Update can be paused separately. | | Audio | Keeping audio awake on AC power; original audio setting restoration. | | Performance laboratory | EPP power yielding, maximum GPU clock requests (raise the clock floor on supported AMD GPUs or request a clock lock on NVIDIA), maximum power limits on supported AMD and NVIDIA discrete GPUs, CPU idle policy (original policy or higher idle threshold), and laboratory-state checks and restoration. | | Anti-cheat suppression and protection | Per-game Anti-cheat suppression switch in the Library, off by default and turned on per game: installed ACE, EasyAntiCheat and BattlEye services are suppressed only during that game's matches and restored when the match ends; components bundled in game folders and Vanguard are only protected, other anti-cheat software is protected or recorded only; anti-cheat is never governed as ordinary background; game and launch-chain dependency protection. | | Whitelist and dependency protection | Adding running processes, services, EXEs, or files by drag and drop; path and family protection; name search; scope inspection; removal; restoring platform and preset lists; protection for Windows system processes, gaming network accelerators, GPU drivers, hardware power and cooling tools, anti-cheat and game-protection components (marked protection only or record only), input/audio/peripheral driver chains, and streaming tools; viewing and clearing the process access restriction history. View detected keyboards, mice, and headsets with their connection state. Verified peripheral background programs are exempt during games. | | League of Legends and WeGame | Dedicated LoL enhancements; auxiliary-process cleanup and restoration; immediate cleanup or restore; headless LoL client; lobby restoration; LoL add-on inspection and removal; overlay-cleanup notices; login and update dependency protection. | | System checkup | Sampling; cancellation and rerun; findings, evidence levels, and action links; restoration records; one-click repair. | | Checkup: platform and CPU | Platform capabilities; GPU inventory; NVIDIA interfaces; CPU Sets partitioning; EcoQoS; Windows version; 3D V-Cache driver; Windows Game Mode; CPU and background load; CPU topology; throttling events from the last seven days; top three background consumers; resident RGB software detection. | | Checkup: memory | Capacity, usage, and remaining memory; page file; memory speed; module count and channel layout; memory compression; page combining. | | Checkup: display and graphics | Primary and multiple-display refresh rates; NVIDIA throttle flags; ReBAR; HAGS; MPO; Game DVR. | | Checkup: power and system | Current power plan; energy-saving mode; AC or battery status; core parking; input-idle demotion; Windows-version guidance for Ryzen branch-prediction improvements; foreground time-slice inspection and restoring records left by Pavise. | | Checkup: input chain | Keyboard and mouse connection types, including Bluetooth; Filter Keys; accessibility hotkey interception; third-party ThreadDpcEnable changes. | | Checkup: storage and network | DirectStorage and BypassIO; reasons passthrough is blocked; network links; default route; network throttling settings. | | Checkup: GPU interrupts and drivers | GPU interrupt inspection; ISR/DPC placement and P99 sampling; interrupt placement; post-restart verification; rollback on regression; original GPU interrupt configuration restoration; separate GPU MSI repair and restoration; driver latency diagnosis; maximum duration, P99, and device clues. | | Checkup: repair and restoration | Memory compression; network throttling; wired-network preference; Fault Tolerant Heap (FTH); separate repair and restore actions. | | General and maintenance | Startup at sign-in; automatic hiding when a game begins; exit grace period (0, 2, 5, 8, 15, or 30 seconds); shader-cache cleanup; settings reset; restoration-record protection; automatic restoration on the next start after an abnormal exit. | | Window and appearance | Adjust UI scale at the top of Appearance. Choose the language, light or dark theme, separate Smart and Competitive colors, and background intensity. Drag or minimize the window, or open, hide, or exit from the tray. | | 5 interface animations | Choose a static thumbnail for each mode in Appearance to apply it immediately, or restore the default. Choices include Original Smart, Original Esports, Original Extreme, Astral Whale, and Event Horizon. | | Logs and AI tuning | Log-writing switch; runtime logs; action and diagnostic views; refresh and clear; copying selections; separate action and diagnostic exports; output folder and filename selection; scheduling role identification, actual CPU placement, priority verification, and restoration results; AI tuning prompt summarizing this PC's hardware, every feature and the current settings, with a goal field, preview and copy. | | Updates, about, and support | Version information and release notes; website and source links; voluntary donations; in-app update checks; signature verification; download, verification, and installation progress; cancelling checks or downloads; rollback on failure; manual updates; GitHub and Quark alternatives; preserving personal data during upgrades; restore and uninstall. |
Performance priority and Game thread boost are two per-game switches in Library → Advanced tuning, on by default for every game; there is no global switch. Turn either off for a game that does not need it; the change applies next session.
- Performance priority: during matches the game process runs at High (an existing Realtime category is kept), disk I/O and GPU scheduling priority are raised, and high-performance QoS is locked so the game is not moved to efficiency cores when unfocused or covered. Original values are recorded and restored when it is turned off or the game ends; later changes by other programs are preserved.
- Game thread boost: once the render process is confirmed it samples for about 3.2 seconds to identify the frame-submitting thread and sets it to TIME_CRITICAL; a stable partner thread gets +1. It does not pin cores or wait for the foreground. After at most 5 unsuccessful captures per phase, a fallback raises the busiest thread two levels (not in Handheld). Boosted threads are checked every 5 seconds and returned if the game changes them back or they exit. Other apps such as voice, streaming, or recording may slow down when the CPU is saturated.
| Mode | What it does | | --- | --- | | Automatic (recommended) | Measures the game twice to find the serial threads that gate frame time (the render thread and the main or RHI threads it waits on) and points each at a preferred physical core (ideal processor only, not locked); other threads are not restricted and background apps stay off those cores. A second thread is reserved only when the two together need more than one core; a third only when the three need more than two cores on a CPU with at least ten physical cores. Each reservation must leave the remaining cores 10% headroom for the measured load of all other threads. If conditions are not met it reserves fewer or none. | | Single render core | Pins the identified render thread to the most suitable physical core, with optional whole-core avoidance. It does not depend on load, so it also pins in GPU-bound games. | | Manual | Choose one to four logical CPUs in the core grid; the render thread runs only on them, with optional whole-core avoidance. Choose again after changing the processor or the game's CPU range. |
Core choice prefers performance cores (hybrid CPUs) and the 3D V-Cache CCD (X3D), and avoids CPU 0, where system interrupts and DPCs tend to land. Whole-core avoidance only constrains covered game threads and leaves at least two physical cores for them; system tasks can still use those cores, so it is not system-wide exclusivity. New game threads are checked every 10 seconds, with a rescan 2 seconds later (at most twice in a row) when coverage is incomplete.
Strategies that only adjusted priority (Game priority, Render priority, Dependency coordination) are now handled by the two per-game switches and their saved rules run as off; old Dedicated rendering runs as Single render core, Multicore coordination as Automatic, and Enhanced dedicated rendering as Single render core with whole-core avoidance. Changes apply next session; turning it off revokes write eligibility at once and restores owned changes. Real frame-time gains must be judged by comparing 1% lows in a fixed scene, not inferred from setting readback.
Discovery budgets are per managed game session and rule phase: Single render core and Manual use at most 2 captures, Automatic at most 3, about 3.2 seconds each, and failed or exhausted captures are not refilled; consecutive matches in the same game process do not add captures. When a critical role exits, the original plan is restored first (including avoidance limits on other threads); once recovery settles and the phase still has capture budget, one replacement role may be reviewed.
Background suppression: mode and intensity
Usage mode and suppression intensity are separate settings. Smart and Competitive determine when and how broadly background work is managed. The Background governance setting controls suppression intensity. Games, manually allowlisted applications, and essential dependencies stay protected.
| Mode | Behavior | | --- | --- | | Smart | Adjusts governance scope according to load while the game is in the foreground, expands it under sustained high load, and contracts it as load falls. Switching away releases background governance while retaining the session's power plan and affinity. | | Competitive | Keeps governance and affinity active throughout the game session, including when you switch away. Bringing an ordinary application to the foreground does not automatically exempt it. |
| Background governance level | Behavior | | --- | --- | | Off | Disables background