Self host query

IM currently self hosting a server, are my connection speeds and ram allocation enough for 5 decently spread out players from europe? alongside geyser of course.
58 Replies
skorchekd
skorchekdOP2d ago
No description
skorchekd
skorchekdOP2d ago
java -Xms2G -Xmx2G -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 -Daikars.new.flags=true -XX:+UnlockDiagnosticVMOptions -XX:-UseAESCTRIntrinsics -jar paper.jar --nogui
java -Xms2G -Xmx2G -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 -Daikars.new.flags=true -XX:+UnlockDiagnosticVMOptions -XX:-UseAESCTRIntrinsics -jar paper.jar --nogui
also my start flags
Sytex
Sytex2d ago
2 GB is very very low, there's a chance that it'll barely run however I'd suggest you go for at least 4-6 GB, preferably more like 10 GB if you're able to
skorchekd
skorchekdOP2d ago
Doesn't seem to be an issue so far I'm using purpur Also, sometimes more ram can be counter productive due to javas garbage collector I also said 5 players, kind of unrealistic to use 10gbs of ram for a MC server 😂 especially with that many players And this is spigot based, not fabric based, so no mods and such.
Sytex
Sytex2d ago
You're very very far from that point infact in your case more ram would help your jgc not hurt it It is what is officialy recommended "no matter how few players" Using purpur while the jar you're running is called paper.jar interesting Purpur is a paper fork and never had anything to do directly with spigot, now even less that paper hardforked...
skorchekd
skorchekdOP2d ago
Well spigot paper etc are all very light weight Compared to let's say fabric or modded servers At the cost of vanilla features such as some redstone logic is not the same
Sytex
Sytex2d ago
Not exactly on a baseline fabric is much more lightweight than spigot, paper or alike, the difference comes from what mods can (and are used to) do compared to plugins that makes people think that The 10 GB recommendation comes from the ppl at paper soo :rgb_shrug:
skorchekd
skorchekdOP2d ago
For 5 players? ☠️ are you trolling?
Game_Time
Game_Time2d ago
what are you referencing by lightweight? paper by default is more performant than fabric without mods, unless you're talking about modifications to vanilla gameplay
Sytex
Sytex2d ago
what about you read the docs for yourself?
skorchekd
skorchekdOP2d ago
they recommend me to use 10gb of ram for 5 players LOL
Sytex
Sytex2d ago
the 2. yes not exactly true lol
skorchekd
skorchekdOP2d ago
most of my issues would probably be from networking not really hardware
Game_Time
Game_Time2d ago
for what
skorchekd
skorchekdOP2d ago
ive had some people on and tps did not dip LOL
Sytex
Sytex2d ago
to run a paper sever...
Game_Time
Game_Time2d ago
their default command in their docs is 4 gigs, so im not sure if thats right
skorchekd
skorchekdOP2d ago
No description
skorchekd
skorchekdOP2d ago
so you recommend me for 5 players the amount of ram needed for 150?
Game_Time
Game_Time2d ago
10 gigs is insane for a small smp, whatever the recommendation is i think we can agree thats unnecessary for their size lmao
Sytex
Sytex2d ago
We recommend using at least 6-10GB, no matter how few players! If you can’t afford 10GB of memory, give as much as you can, but ensure you leave the operating system some memory too. G1GC operates better with more memory.
thats exactly what i told him above
skorchekd
skorchekdOP2d ago
the max it would need would probably be 6.
Game_Time
Game_Time2d ago
thats fair.
Sytex
Sytex2d ago
i even went lower and said atleast 4-6
skorchekd
skorchekdOP2d ago
my query was mostly network requirements
Game_Time
Game_Time2d ago
though tbh depends on the jvm but thats just a bit pedantic for their use case thats more than enough
Sytex
Sytex2d ago
well tahts some gaint bs its impossible to know how much ram a server needs based on player numbers alone
Game_Time
Game_Time2d ago
actually upload is low
skorchekd
skorchekdOP2d ago
although the ping does spike my anxiety
Game_Time
Game_Time2d ago
why is your upload so bad compared to download lol
skorchekd
skorchekdOP2d ago
to be fair, hosting providers do have the data to see
Game_Time
Game_Time2d ago
thats a crazy ratio that upload will probably become a issue
skorchekd
skorchekdOP2d ago
yeah but it should be fine for a small player base?
Game_Time
Game_Time2d ago
for 5 ppl?
skorchekd
skorchekdOP2d ago
yeah
Game_Time
Game_Time2d ago
yeah i'd think so
skorchekd
skorchekdOP2d ago
with scalability to lets say 20? or is that pushing it
Game_Time
Game_Time2d ago
pushing it probably
skorchekd
skorchekdOP2d ago
interesting
Game_Time
Game_Time2d ago
i've never actually measured network perf per player, depends on a lot on the softw
Game_Time
Game_Time2d ago
lol minecraft wiki recommends specs, thats kinda neat. i'd say you'd just have to test it out but might be fine
No description
skorchekd
skorchekdOP2d ago
No description
Sytex
Sytex2d ago
Usually, they're just lying to get you to buy things you don't need, either way, those numbers are worthless without doing proper studies on it as literally every server is different I can have 1 player with 50 giant farms needing 30GB and god knows what a CPU or I can have 10 players playing on 4gb no farms, etc etc. further more generalizing that would be like saying a paper server with 5 players needs the same amount of resources as a curse forge server with 5 players and a mod pack of 600 mods which obv isn't true under any circumstances
skorchekd
skorchekdOP2d ago
No description
Sytex
Sytex2d ago
That's the bare minimum to run a server, i can run a server on my phone with 1GB of RAM that's not the problem here lol
Game_Time
Game_Time2d ago
actually the wiki seems to define minimum as something completely else not sure where the hell they got these numbers from though
Game_Time
Game_Time2d ago
No description
Game_Time
Game_Time2d ago
1 gig of ram for a minecraft server is... questionable
skorchekd
skorchekdOP2d ago
so according to those requirements i could host 25 players with my network lol doesnt seem realistic
Game_Time
Game_Time2d ago
i'd say ignore these requirements lmao i'd just test it out
skorchekd
skorchekdOP2d ago
i connected to a vpn in florida then connected to my home server in the uk the connection ping was playable
Sytex
Sytex2d ago
Yeah that again is based on player amount which as i said is very far from reliable
Game_Time
Game_Time2d ago
yep
skorchekd
skorchekdOP2d ago
depends on player network also
Sytex
Sytex2d ago
why in the world would you use a na vpn if your server is in the uk...
skorchekd
skorchekdOP2d ago
exponential test to see the speeds rofl
Sytex
Sytex2d ago
smh
skorchekd
skorchekdOP2d ago
eh i also tested a vpn in the uk and in germany and in france

Did you find this page helpful?