GPU servers

GPU servers

this mod lets you use a GPU for minecraft servers to make them faster.

by
509 Downloads
fabricgame-mechanicsoptimization
Rent Server with this Mod

About this Mod

GPUmod - GPU Server Acceleration for Minecraft

This is a server-side Fabric mod for Minecraft that offloads heavy server computations to your GPU using OpenCL. No client mod needed.

What it does:

The mod takes different server tasks that normally run on your CPU one at a time and runs them in parallel on your GPU instead.

TERRAIN GENERATION - When new chunks are created, the GPU generates the terrain heightmap using multi-layer Perlin noise. It creates continents, hills, mountains, and valleys all computed in parallel on the GPU. The CPU then fills in the actual blocks based on the heightmap.

LIGHTING - When chunks need lighting calculated, the GPU runs iterative light propagation for both block light (torches, glowstone) and sky light. It uses double-buffered propagation that converges in up to 15 iterations, processing all 4096 blocks in a section simultaneously.

ORE PLACEMENT - During chunk generation, the GPU calculates where ores should spawn (coal, iron, gold, diamond, lapis, redstone, emerald, copper). It determines positions for all ore types at once, then the CPU places the actual ore veins at those positions.

PATHFINDING - When mobs need to navigate, their pathfinding requests are batched together. Instead of solving paths one mob at a time, the GPU solves all pending paths in one batch using parallel A-star. Results are cached and returned as real paths the next tick.

EXPLOSIONS - TNT and creeper explosions use GPU raycasting with 1352 rays cast in a sphere pattern. The GPU traces each ray through the blast resistance grid simultaneously, determining which blocks get destroyed. This fully replaces vanilla explosion logic.

ENTITY PHYSICS - When there are 16 or more entities in the world, their position and velocity updates are batched and sent to the GPU. Gravity, drag, and velocity clamping are all computed in parallel using a Structure-of-Arrays memory layout for optimal GPU performance.

RANDOM TICKS - Crop growth, fire spread, ice melting, sapling growth, and other random tick events are batched across all loaded chunk sections. The GPU processes them all at once using parallel random number generation, then the CPU applies the results.

COLLISION DETECTION - When there are 16 or more entities, the GPU runs spatial hash broad-phase collision detection to find overlapping entity pairs. Results are stored and queryable by other systems.

REDSTONE (experimental, off by default) - Redstone wire updates within a tick are collected and the entire network is solved at once on the GPU using parallel signal propagation instead of vanilla's sequential updates.

How it works:

The mod uses JOCL (Java OpenCL bindings) to talk to your GPU. On startup it detects your GPU, compiles 13 OpenCL kernel programs, and creates multiple command queues for concurrent execution. It uses a memory pool with pre-allocated buffers to avoid allocation overhead.

Each task has batch size thresholds. If there aren't enough items to process (for example, fewer than 16 entities for physics), it skips the GPU and lets vanilla handle it, since GPU dispatch overhead isn't worth it for small workloads.

All GPU tasks have CPU fallback. If the GPU fails for any reason, the server continues running normally using vanilla logic.

Configuration:

Edit config/gpumod.properties to enable/disable individual tasks, set batch thresholds, tune iteration limits, and enable debug/performance logging.

As far as im concerned it does not require a beefy GPU a 4060 will do just fine but please correct me if im wrong

Disclaimer!!!
this is in very early development please report bugs in the discord if found!!!

Available Versions

GPU servers 0.1.0alpha
MC 1.21.11fabric
April 1, 2026
GPU servers 0.1.0alpha
MC 1.21.10fabric
April 1, 2026
GPU servers 0.1.0alpha
MC 1.21.9fabric
April 1, 2026
GPU servers 0.1.0alpha
MC 1.21.8fabric
April 1, 2026

How to Install GPU servers on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

Install Mod

Open the mod browser in the dashboard and search for "GPU servers". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.11, 1.21.10, 1.21.9 (+1 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

GPU servers server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.

Is GPU servers compatible with fabric?

GPU servers officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with GPU servers – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if GPU servers consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install GPU servers with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Required

Supported Versions

1.21.111.21.101.21.91.21.8