DEV Community

Izanagi
Izanagi

Posted on

FiveM performance guide: why your FPS tanks on populated servers

FiveM performance problems are almost never about your GPU. On populated servers (50+ players), what matters is CPU scheduling, network stack behavior, and how Windows handles foreground priority.

Why FiveM tanks specifically

FiveM runs the CitizenFX runtime alongside GTA V's engine. That's two rendering systems, two asset loaders, and a Lua/JS scripting environment all competing for CPU time.

When Windows doesn't give CitizenFX.exe the right priority, you get frame drops exactly when there's the most going on — player-dense areas, shootouts, script-heavy servers.

What actually helps

Per-process CPU and GPU priority via IFEO:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\FiveM.exe\PerfOptions
CpuPriorityClass = 3  (High)
IoPriority = 3        (High)
GpuPriority = 8       (Max)
Enter fullscreen mode Exit fullscreen mode

This tells Windows to always schedule FiveM threads ahead of background processes.

Nagle algorithm — disable it:

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
TCPNoDelay = 1
TcpAckFrequency = 1
Enter fullscreen mode Exit fullscreen mode

Nagle batches small TCP packets together to reduce overhead. For a game sending position updates 60x per second, this introduces artificial delay. Disabling it makes position data arrive faster and more consistently.

CPU core parking:
On many Windows setups, cores get "parked" (powered down) during low-load periods. When FiveM suddenly needs them, there's a ramp-up delay. Force all cores to stay active.

SysMain / Superfetch:
On SSDs this service is pure overhead — it preloads files it predicts you'll need, while consuming disk I/O and CPU in the background. Disable it.

Results

The guy in my Discord went from 60/70fps on populated FiveM servers to 120/160fps. Another went 70/90 to 140. These are real numbers, not synthetic benchmarks.

If you want all of this applied automatically with a full list of what gets changed: https://terweb.lt/

The tool is called IzanagiOP. It has a FiveM-specific config that sets up process priorities, network stack, and CPU scheduling in one go.

Top comments (0)