U
/u/Intrepid_Hamster_804
Guest
Hello everyone. I'm honestly desperate at this point, as I have very little experience with networking. I'll try to describe the issue as comprehensively as possible.
My problem is as follows: For the most part, players from the western part of Russia and Belarus have a stable ping of 30-40 ms throughout the day. (I'm not counting players from eastern Russia, other countries, Ukraine, or those using VPNs, because I understand the routing takes longer for them. Their ping is usually 80+ ms).
So what is the issue? Throughout the day, there are sudden ping spikes up to 5000 ms or even higher. I haven't been able to establish any pattern. It can happen with 10 players online, or just 5, and the ping still spikes. This usually occurs in the evening.
Now for the specs. There are no issues with the TPS at all — it's a solid 19.5-20 on the game server.
I rent a VDS. My VDS specs:
The VDS runs Ubuntu 24.04.4 LTS. I deployed the Pterodactyl panel on it, which hosts 3 servers: a proxy (using NullCordX), a hub, and a game server.
Resource Allocation (CPU):
Resource Allocation (RAM):
Startup Flags:
Network Setup: The proxy port is exposed to the outside. The game server and hub are closed off from the outside world; the proxy connects to them via the internal Docker container IPs.
If you need any more info, I can provide it in the comments. I've read similar threads online (most people had this happen with BungeeCord), but I still haven't found a working solution for my case. Thanks in advance for any help!
submitted by /u/Intrepid_Hamster_804
[link] [comments]
Continue reading...
My problem is as follows: For the most part, players from the western part of Russia and Belarus have a stable ping of 30-40 ms throughout the day. (I'm not counting players from eastern Russia, other countries, Ukraine, or those using VPNs, because I understand the routing takes longer for them. Their ping is usually 80+ ms).
So what is the issue? Throughout the day, there are sudden ping spikes up to 5000 ms or even higher. I haven't been able to establish any pattern. It can happen with 10 players online, or just 5, and the ping still spikes. This usually occurs in the evening.
Now for the specs. There are no issues with the TPS at all — it's a solid 19.5-20 on the game server.
I rent a VDS. My VDS specs:
- Plan: VDS-R9-9950X-5
- CPU: 5 x R9-9950X (5.7 GHz)
- RAM: 24 GB DDR5
- Storage: 250 GB NVMe
- Bandwidth: 100 Mbps
- Location: Moscow
The VDS runs Ubuntu 24.04.4 LTS. I deployed the Pterodactyl panel on it, which hosts 3 servers: a proxy (using NullCordX), a hub, and a game server.
Resource Allocation (CPU):
- Proxy: 1 core (peaks at 0.2)
- Hub: 0.8 cores (peaks at 0.8, but only if the game server goes down and everyone gets dumped into the hub at once)
- Game Server: 3 cores (peaks at 1.5)
Resource Allocation (RAM):
- Proxy: 2 GB
- Hub: 3 GB
- Game Server: 16 GB
Startup Flags:
- Proxy:
java -Duser.timezone=Europe/Moscow -Xms128M -XX:MaxRAMPercentage=95.0 -jar {{SERVER_JARFILE}} - Hub:
java -Duser.timezone=Europe/Moscow -Xms1800M -Xmx1800M -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}} - Game Server:
java -Duser.timezone=Europe/Moscow -Xms13312M -Xmx13312M -XX:MaxMetaspaceSize=1G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=[https://mcflags.emc.gs](https://mcflags.emc.gs) -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}
Network Setup: The proxy port is exposed to the outside. The game server and hub are closed off from the outside world; the proxy connects to them via the internal Docker container IPs.
- The host OS has
net.ipv4.tcp_congestion_control = bbrenabled. I'm using BBR v1 (didn't want to risk changing the kernel just to test v2 or v3). - On the hub and game servers:
network-compression-threshold = -1 - On the proxy:
network_compression_threshold: 256
If you need any more info, I can provide it in the comments. I've read similar threads online (most people had this happen with BungeeCord), but I still haven't found a working solution for my case. Thanks in advance for any help!
submitted by /u/Intrepid_Hamster_804
[link] [comments]
Continue reading...