Any idea for more optimizations?
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
84 Replies
only 700 players on one instance

upgrade the cpu to 9-th gen ryzen

Actually a sigmer response. I am considering an upgrade to Ryzen 9 5950X, that should do it?
Also, could you mind elaborating what changed between these CPUs that it's recommened to upgrade
Does 9th gen ryzen has some better optimization for that exact task/or just better performance overall on like single core or something
just like a hugee improvement to singlecore
oh cracked ๐ญ
"only"
Move to UniverseSpigot :3
you could really do with some better flags

Honestly pretty much everything in here is just mc being slow
Your only option is to use a faster server software or get better hardware
Do you use any of the Citizens traits? e.g. NPC movement
and would you be able to move away from Skript?
If not, consider going with a more performant plugin like FancyNpcs
its a r7 3800x cpu
i dont think it can handle that many players
Still doing surprisingly well
Skript and Citizens arenโt helping and can be replaced with better alternatives
personally im amazed that its capable of 700 players
Perks of a PvP server
No chunk generation, no natural entities, no mob spawning, no farms
I'm banned from there for unknown reasons
Yeah it's a bit outdated setup, I should move to ZNPCsPlus prob and try to recode all skripts into Java plugins
ouch
yeah, tried to reach out to them again after few months and they 'don't have any intention on redeciding'
i could maybe.. switch to pufferfish instead of Purpur, but I don't think that will bring much performance improvement
Yeah.. i forgot about it to be honest, been moving from another Dedi and just forgot to set them back, anyway what flags do you recommend? I've been using aikars for the most part, as the just worked
On 8 TPS, yeah
lmao
From ByteCore I could make it not hide the players, probably it does stress the CPU even more based on the spark report
I might be able to get rid of player move event handling from WorldGuard, but requires changing some flags
I can change Citizens to ZNPCsPlus with ease
yeah. Poland moment
Overall reached 860 players on one instance at a rough 4 TPS & 200 MSPT

My suggestions for now:
1) give the server more ram
2) try to experiment with flags and graalvm
3) fancynpcs/znpcsplus
4) server software?????
1. How much more? Increase it by like what, 4, 8 or more? (Currently running 16GB as you probably know from the spark report)
2. Any recommendations for flags at the current state? Just aikar's or something else?
3. yeah
4. no idea what could I switch to other than universe (as i'm banned there)
1. Just allocate it all (16 gigs)
2. Try https://github.com/MeowIce/meowice-flags
GitHub
GitHub - MeowIce/meowice-flags: A set of Java flags to start modern...
A set of Java flags to start modern Minecraft servers on GraalVM. - MeowIce/meowice-flags
Meowice is such a L
Dude has 0 clue what he's doing or what his flags does.
He has 0 experience and just threw random shit together and mislabeled stuff
He is a known "joke" in multiple communities
True
But just in case
I have 16 gigs allocated
I mean xmx = xms
Oh, that's what you meant
do you actually know why then
one of the biggest limiting factors here is your cpu
not really, I might dig up one of the old tickets, but I don't think there was any reason provided.
but yeah, if youโre not using purpur features then itโs just extra bloat so you could go to pufferfish
ah rip
I can go ask โem about it if you want
that would be epic
cus i have no idea why I am banned/blacklisted from buying USpigot based on my old dms with a dev, as I don't see any transcripts of the USpigot ticket
one thing I remember that is they don't allow you to purchase if you have/had BlackSpigot account. I've created one account few years ago and did not delete it
that might be the reason
and it's litterary impossible to delete a BlackSpigot account
to clarify, they did not tell me that. I heard this from a friend.
mmmmmmmm
not too sure about black spigot specifically but Iโm relatively sure they can deny purchasing if youโre associated with any sketchy shit
well technically they can deny a purchase request for any reason they see fit
i don't know, the sketchy shit might be the cracked network, but i've seen servers getting it anyway.
yeah cracked network shouldnโt matter
well they can, but they could at least provide the reason or something close to the reason
Iโve asked
waiting on a response which I will dm you assuming I get one
๐
How can i get it?
I use this and it works pretty well for me https://github.com/Winds-Studio/Leaf
GitHub
GitHub - Winds-Studio/Leaf: A Paper fork aim to find balance betwee...
A Paper fork aim to find balance between performance, vanilla and stability - Winds-Studio/Leaf
they skid code from leaked sources of other jars, has had multiple stability issues with patches recently, would not recommend ^
has also been called out directly by one of the main devs of paper for making perf patches that actually make performance worse
how come nobody picked this up

bungee?
nope

might be velocity
it would say in brackets
ah
So itโs a cracked server then
we'll never know

Guys op literally said it was cracked
reading comprehension ffs
velocity !!
but yes, it is a cracked server
as my fellow poles are pirates ๐ญ
i could update this thread with a new spark if ya'll want some fun :tf:
but right now viaversion is kinda killing my netty (no idea why), kenny pushed out some patch, but I haven't tried it yet so i'll see
It handled 1k players at 36 mspt, but when I tried to generate a spark report, netty failed ๐
Leaked sources? What
.
what's the problem with skidding code from leaked sources?
also universespigot took patches from leaf multiple times so everyone skid everyone anyways lmao
what, is there literally any evidence of this
theres a issue in skidding and taking from other peoples code without permission, sure gpl3 but noone really listens to that sad as it is
well yes, and don't tell me that MachineBreaker is just here to chat on Leaf's Discord ๐
considering how many dumb changes leaf has done recently, why not?
yeah maybe but it doesn't cost 75โฌ per version to have good performances at least
and their secure seed actually work
Secure seed got fixed
Dont see your point
I'm actually only chatting on Leaf dc
my point is you fucked my shit because of your poor implementation
so I basically paid 70โฌ to get fucked
ยฏ\_(ใ)_/ยฏ
Got solved
The guy is literally there just to chat and sometimes acts as some sort of advisor
what flags do you recommend then?
are AIKAR flags any better?
my point is all performance fork developers are taking patches from each other so the skidding allegations are ridiculous
you could move it all over the rust ๐
Do Rust or maybe Kotlin mod loaders exist for minecraft?
well there are rust servers... would require a recode of literally fucking everything
as nothing it coded for it
Hm
Days since last Rust Minecraft server
Days since the last release of a Minecraft server software written in Rust.
Don't recommend rust servers, none are mature enough for production
Honestly, none are mature enough for testing lol
Pumkin is
the only mc server software in rust, that at least somehow playable
I was kinda considering that, could be fun, but there is too much factors to handle
Multi-version, AntiCheats and basically rewriting everything from scratch
Yeahโฆ. gl
leaf patches are actually mit unless stated otherwise
https://github.com/Winds-Studio/Leaf/blob/ver/1.21.7/LICENSE.md
not that it matters, he takes other peoples code without permission, stuff like caffeine cache without following license requirements
caffeine cache is apache 2 licensed, so idk how he isn't complying, as the license is still in the paperclip jar. Code using an apache 2 licensed dependency doesn't have any requirements for the code linking to it.

there was no mention of apache 2 etc being used nor no mention of it when they used caffeine

it's literally still in the jar. That's all you legally need to have
the code is public on github
doesnt it need to be there aswell?
leaf wise
no, if you use a dependency, you only need to keep the license in the distributed files
on github, they have no caffine code
i see
they also state the license in the patch, which isn't necessary at all (as the patch doesn't include any code from caffeine)

they didnt before, that was after he was asked about it
atleast not from what i recall at all
yeah, the initial implementation doesn't have that, but again, not required. We don't see anyone doing special things whenever they use Guava, which is also apache 2.0