Lag Doctor is a free ping test, packet loss test and jitter test for games on Windows. It finds the server your game is actually connected to (CS2, VALORANT, Dota 2, Fortnite, Apex Legends, League of Legends and more), watches that connection live, and traces it hop by hop to tell you where the lag starts. No more guessing whether to restart the router, call your ISP or blame the servers: Lag Doctor shows the route as a line from your PC to the game server, colours every segment by health, and gives you a plain verdict with a fix.

Why Lag Doctor
Follows your real game server, automatically
Start your game and Lag Doctor picks it up from the process list, reads the game’s own connections and starts pinging the server it is really talking to. No IP to look up, no generic “speed test” to a server in another country. A fallback target (for example 1.1.1.1) is used when no game is running.
A blame meter that says who is at fault
Every hop on the path is probed in rotation. Loss and jitter only count against a router when they persist all the way to the server, so routers that just rate-limit ICMP do not get blamed (the classic MTR reading rule). The result is a verdict you can act on: your Wi-Fi, your router, your ISP or the game server, with a confidence and the delay each segment adds.

Lag spikes, explained
A spike is logged with its time, peak and cause. If your router spiked in the same second, it is local (Wi-Fi retries or bufferbloat); if not, it happened upstream. The session report turns a whole evening into three lines like “3 spikes at 21:36, cause: router bufferbloat” that you can copy into a support ticket.
Bufferbloat test with a grade
Lag Doctor measures your ping idle and while the line is loaded and grades the difference from A+ to F, the same way the well-known bufferbloat tests do. It also tells you whether you are on Wi-Fi or Ethernet and what a cable would change.

In-game overlay
A small always-on-top, click-through HUD shows ping, jitter and loss over your game (borderless windowed mode). Pick a corner, toggle it with a hotkey.
How it compares
| Lag Doctor | Windows ping / tracert | WinMTR | In-game net graph | |
|---|---|---|---|---|
| Finds the game’s real server automatically | ✓ | – | – | ✓ |
| Live ping, jitter and packet loss | ✓ | ping only | ✓ | ✓ |
| Hop-by-hop loss and jitter | ✓ | – | ✓ | – |
| Verdict: Wi-Fi, router, ISP or server | ✓ | – | – | – |
| Spike log with cause and session report | ✓ | – | – | – |
| Bufferbloat grade | ✓ | – | – | – |
| Works for every supported game in one tool | ✓ | ✓ | ✓ | – |
| Overlay HUD | ✓ | – | – | ✓ |
Screenshots
![]() | ![]() |
| Monitor: route, latency graph, stats, diagnosis, events | Route: every hop with loss, average, best, worst and jitter |
![]() | ![]() |
| Sessions: timeline and event log per game session | Bufferbloat test: grade, phases, connection, fixes |
![]() | |
| Overlay & games: HUD preview, settings, detected games |
Quick start
- Download
LagDoctor-v1.0.0-win-x64.zipfrom the latest release. - Unzip it anywhere and run
LagDoctor.exe. It is portable: no installer, no administrator rights, no background service. - Start your game. Lag Doctor detects it, finds the server and starts monitoring. That’s it.
Settings are stored in %APPDATA%\LagDoctor\settings.json. Delete that folder to reset.
Supported games
Counter-Strike 2 (Valve SDR), Dota 2, Deadlock, VALORANT (Riot Direct), League of Legends, Fortnite, Apex Legends, Overwatch 2, Rust, Call of Duty, Rainbow Six Siege, PUBG: Battlegrounds and Marvel Rivals. Any other game or server works through the fallback target. Adding a game is one line in src/games.rs.
FAQ
How do I fix packet loss in CS2? Open Lag Doctor while CS2 runs and look at the Route page. If loss starts at hop 1 (your router) it is your Wi-Fi or LAN: use a cable or move to 5 GHz. If it starts inside your ISP and stays to the end, send your ISP the session report. If only the last hop shows it, try another region.
Why is my ping high in VALORANT when my speed test is fine? Speed tests measure bandwidth, not latency under load. Run the bufferbloat test: a grade C or worse means your router lets queues fill up, so any upload or download in the house adds tens of milliseconds to your game. Enabling SQM / Smart Queue usually fixes it.
Is it my Wi-Fi or my ISP? That is exactly what the blame meter answers. Lag Doctor pings your router and the game server every second; if jitter and spikes already show up at the router, it is your Wi-Fi.
What is jitter and why does it matter for games? Jitter is how much your ping changes from one packet to the next (Lag Doctor uses the RFC 3550 estimator). High jitter feels like rubber-banding even when the average ping looks fine.
Does Lag Doctor need administrator rights or install a driver?
No. It uses the standard Windows ICMP API (IcmpSendEcho) and reads the TCP connection table, both available to normal users. Nothing is installed and nothing is changed on your system.
Is it safe to use with anti-cheat (VAC, Vanguard, EAC)? Lag Doctor never touches the game process: it only reads the process list and the system connection table, and the overlay is a separate window. It does not inject, hook or read game memory.
Does it send any data anywhere? No telemetry. The only network traffic is ICMP echo requests to the game server, the hops on the way and your router.
Build from source
Requires Rust (stable, MSVC toolchain) on Windows 10/11.
git clone https://github.com/<you>/lag-doctor
cd lag-doctor
cargo build --release
.\target\release\LagDoctor.exe
Project structure
src/
main.rs entry point, window setup
app.rs pages, sidebar, toolbar, status bar, overlay HUD
monitor.rs background worker: detect game, ping target / gateway / hops
icmp.rs IcmpCreateFile / IcmpSendEcho wrapper (with TTL)
trace.rs TTL-limited route trace, gateway and Wi-Fi / Ethernet detection
games.rs supported games, ToolHelp process scan, GetExtendedTcpTable
stats.rs rolling avg / min / max / p95, RFC 3550 jitter, loss, bufferbloat grade
diagnosis.rs blame meter, spike attribution, bufferbloat test
widgets.rs route line, ping graph, event table, stat grid, nav icons
theme.rs palette and type scale (matches docs/design/mockup.html)
fonts.rs runtime font discovery (SF Pro if installed, Segoe UI otherwise)
settings.rs JSON settings in %APPDATA%\LagDoctor
docs/design/ clickable HTML design mockup and README banner
assets/ screenshots and GIFs
Extension points: implement games::ServerFinder to find servers of UDP-only games (ETW network events or a game’s console output), and diagnosis::LoadGenerator to make the bufferbloat test generate its own download / upload load.
Roadmap
- Auto-detect game and server from the TCP table
- Live ping, jitter, packet loss, p95
- Hop-by-hop trace with blame verdict
- Spike log with cause, session report
- Bufferbloat grade, Wi-Fi vs Ethernet advice
- Always-on-top overlay HUD
- UDP server discovery via ETW (CS2 SDR relays, VALORANT, Fortnite)
- Built-in load generator for one-click bufferbloat tests
- ASN and ISP names for every hop
- Saved session history and export to HTML / JSON
- Wi-Fi channel scan and band advice
Contributing
Issues and pull requests are welcome. Please run cargo build with zero warnings before submitting, keep the UI in line with docs/design/mockup.html, and describe how you tested network changes (a game, a fallback target, Wi-Fi or Ethernet).
License
MIT © Lag Doctor contributors.
Lag Doctor is not affiliated with, endorsed by or sponsored by Valve, Riot Games, Epic Games, Electronic Arts, Blizzard, Activision, Ubisoft, Krafton, NetEase, Microsoft, Intel, AVM or Deutsche Telekom. All product names, logos and trademarks belong to their respective owners. Network names and addresses in screenshots are examples.
Keywords: packet loss test, ping test for games, jitter test, lag fix, high ping fix, cs2 packet loss, valorant network problem, network monitor, bufferbloat test, game server ping, traceroute for games, MTR for Windows, WinMTR alternative, Wi-Fi vs Ethernet gaming, rubber banding fix, lag spike fix, Windows network monitor, ping overlay





