High ping on my own self-hosted server

I have got my laptop running Linux to host a small Minecraft server. But I usually get ~40ms ping (same network) and my friends in the same country get ~50 The weird thing is I pinged my laptop and it shows 2ms results? Very confusing :D Thank you in advance
Solution:
Are you using paper then that ping might not reflect the real network ping. Noticed that a while ago. Because packets seem to get scheduled to the next tick end.
Jump to solution
19 Replies
Snow Kit
Snow Kit4w ago
are you using wifi?
bedwersXD
bedwersXDOP4w ago
yeah, but pinging normally in a terminal shows 2ms consistently very very weird
Snow Kit
Snow Kit4w ago
wifi just isn't consistent
bedwersXD
bedwersXDOP4w ago
consistent (enough) though
No description
Snow Kit
Snow Kit4w ago
I'd try using ethernet, see if that solves the issue, if it doesn't, come back here
bedwersXD
bedwersXDOP4w ago
doesnt explain the high baseline ping
No description
bedwersXD
bedwersXDOP4w ago
I WOULD but unfortunately just isn't possible for me right now (broken ethernet port :P, will fix later ™️ )
Solution
Philipp
Philipp4w ago
Are you using paper then that ping might not reflect the real network ping. Noticed that a while ago. Because packets seem to get scheduled to the next tick end.
bedwersXD
bedwersXDOP4w ago
Yeah, I am using paper
Snow Kit
Snow Kit4w ago
just due to the way tcp works, minor packet loss can substantially increase latency so I definitely believe the latency spikes your seeing could be cased by wifi
bedwersXD
bedwersXDOP4w ago
I forgot to terminate ping xD, so here is your answer
No description
Snow Kit
Snow Kit4w ago
packet loss may not be the right word, but wifi has collisions which cause increased latency
bedwersXD
bedwersXDOP4w ago
i don't know, but it seems pretty darn stable to me from the ping results
Snow Kit
Snow Kit4w ago
wifi collisions can only be avoided if all devices on the wifi channel use wifi 6. This is every device on the channel, including your neighbors on a different network again though, tcp must be recieved in order, so if a packet takes 6ms or 10ms to send, all the other packets have to wait for that delayed packet to be sent before they can get decoded
bedwersXD
bedwersXDOP4w ago
true alright, i will keep this in mind since the ping is pretty playable though 1 question unrelated to this though
Snow Kit
Snow Kit4w ago
hm?
bedwersXD
bedwersXDOP4w ago
i enabled tnt duping in paper-global.yml, but it doesn't work any ideas?
Snow Kit
Snow Kit4w ago
they do state that they aren't officially supported I haven't personally tried it though
bedwersXD
bedwersXDOP4w ago
oh well i will make the switch to fabrico nce i have to time to get all the mods and stuff marking as solved

Did you find this page helpful?