A
Admincraftโ€ข5mo ago
Bruhdows

Any idea for more optimizations?

spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
84 Replies
Bruhdows
BruhdowsOPโ€ข5mo ago
only 700 players on one instance
No description
TurboVadim
TurboVadimโ€ข5mo ago
upgrade the cpu to 9-th gen ryzen
TurboVadim
TurboVadimโ€ข5mo ago
No description
Bruhdows
BruhdowsOPโ€ข5mo ago
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
ProGamingDk
ProGamingDkโ€ข5mo ago
just like a hugee improvement to singlecore oh cracked ๐Ÿ˜ญ
iRazvan2745
iRazvan2745โ€ข5mo ago
"only"
Skullians
Skulliansโ€ข5mo ago
Move to UniverseSpigot :3
Skullians
Skulliansโ€ข5mo ago
you could really do with some better flags
No description
Skullians
Skulliansโ€ข5mo ago
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
iRazvan2745
iRazvan2745โ€ข5mo ago
its a r7 3800x cpu i dont think it can handle that many players
Skullians
Skulliansโ€ข5mo ago
Still doing surprisingly well Skript and Citizens arenโ€™t helping and can be replaced with better alternatives
iRazvan2745
iRazvan2745โ€ข5mo ago
personally im amazed that its capable of 700 players
Skullians
Skulliansโ€ข5mo ago
Perks of a PvP server No chunk generation, no natural entities, no mob spawning, no farms
Bruhdows
BruhdowsOPโ€ข5mo ago
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
Skullians
Skulliansโ€ข5mo ago
ouch
Bruhdows
BruhdowsOPโ€ข5mo ago
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
Bruhdows
BruhdowsOPโ€ข5mo ago
Overall reached 860 players on one instance at a rough 4 TPS & 200 MSPT
No description
TurboVadim
TurboVadimโ€ข5mo ago
My suggestions for now: 1) give the server more ram 2) try to experiment with flags and graalvm 3) fancynpcs/znpcsplus 4) server software?????
Bruhdows
BruhdowsOPโ€ข5mo ago
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)
TurboVadim
TurboVadimโ€ข5mo ago
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
ProGamingDk
ProGamingDkโ€ข5mo ago
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
TurboVadim
TurboVadimโ€ข5mo ago
True But just in case
Bruhdows
BruhdowsOPโ€ข5mo ago
I have 16 gigs allocated
TurboVadim
TurboVadimโ€ข5mo ago
I mean xmx = xms
Bruhdows
BruhdowsOPโ€ข5mo ago
Oh, that's what you meant
Skullians
Skulliansโ€ข5mo ago
do you actually know why then one of the biggest limiting factors here is your cpu
Bruhdows
BruhdowsOPโ€ข5mo ago
not really, I might dig up one of the old tickets, but I don't think there was any reason provided.
Skullians
Skulliansโ€ข5mo ago
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
Bruhdows
BruhdowsOPโ€ข5mo ago
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.
Skullians
Skulliansโ€ข5mo ago
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
Bruhdows
BruhdowsOPโ€ข5mo ago
i don't know, the sketchy shit might be the cracked network, but i've seen servers getting it anyway.
Skullians
Skulliansโ€ข5mo ago
yeah cracked network shouldnโ€™t matter
Bruhdows
BruhdowsOPโ€ข5mo ago
well they can, but they could at least provide the reason or something close to the reason
Skullians
Skulliansโ€ข5mo ago
Iโ€™ve asked waiting on a response which I will dm you assuming I get one
Bruhdows
BruhdowsOPโ€ข5mo ago
๐Ÿ‘
Liquid
Liquidโ€ข4mo ago
How can i get it?
LuckierSnail
LuckierSnailโ€ข4mo ago
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
ProGamingDk
ProGamingDkโ€ข4mo ago
they skid code from leaked sources of other jars, has had multiple stability issues with patches recently, would not recommend ^
Skullians
Skulliansโ€ข4mo ago
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
No description
Snowz
Snowzโ€ข4mo ago
nope
No description
iRazvan2745
iRazvan2745โ€ข4mo ago
might be velocity
Snowz
Snowzโ€ข4mo ago
it would say in brackets
iRazvan2745
iRazvan2745โ€ข4mo ago
ah
๐’Ÿ๐‘œ๐“‚๐’พ๐“ƒ๐’พ๐’ธ
So itโ€™s a cracked server then
TurboVadim
TurboVadimโ€ข4mo ago
we'll never know
No description
Cubicake
Cubicakeโ€ข4mo ago
Guys op literally said it was cracked reading comprehension ffs
Bruhdows
BruhdowsOPโ€ข4mo ago
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 ๐Ÿ’”
Taiyou
Taiyouโ€ข4mo ago
Leaked sources? What
C0r3
C0r3โ€ข4mo ago
.
Goldy
Goldyโ€ข3mo ago
what's the problem with skidding code from leaked sources? also universespigot took patches from leaf multiple times so everyone skid everyone anyways lmao
ProGamingDk
ProGamingDkโ€ข3mo ago
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
Goldy
Goldyโ€ข3mo ago
well yes, and don't tell me that MachineBreaker is just here to chat on Leaf's Discord ๐Ÿ˜‚
ProGamingDk
ProGamingDkโ€ข3mo ago
considering how many dumb changes leaf has done recently, why not?
Goldy
Goldyโ€ข3mo ago
yeah maybe but it doesn't cost 75โ‚ฌ per version to have good performances at least and their secure seed actually work
Goldy
Goldyโ€ข3mo ago
MachineBreaker
MachineBreakerโ€ข3mo ago
Secure seed got fixed Dont see your point I'm actually only chatting on Leaf dc
Goldy
Goldyโ€ข3mo ago
my point is you fucked my shit because of your poor implementation so I basically paid 70โ‚ฌ to get fucked
MachineBreaker
MachineBreakerโ€ข3mo ago
ยฏ\_(ใƒ„)_/ยฏ Got solved
๐๐ข๐ช๐ฎ๐š๐ญ๐ž๐ซ๐ง๐ข๐จ๐ง๐ฌ
The guy is literally there just to chat and sometimes acts as some sort of advisor
Wojtek le second
Wojtek le secondโ€ข3mo ago
what flags do you recommend then? are AIKAR flags any better?
Goldy
Goldyโ€ข3mo ago
my point is all performance fork developers are taking patches from each other so the skidding allegations are ridiculous
Swift
Swiftโ€ข3mo ago
you could move it all over the rust ๐Ÿ˜‰
Wojtek le second
Wojtek le secondโ€ข3mo ago
Do Rust or maybe Kotlin mod loaders exist for minecraft?
Swift
Swiftโ€ข3mo ago
well there are rust servers... would require a recode of literally fucking everything as nothing it coded for it
C0r3
C0r3โ€ข3mo ago
Hm
Laupolio
Laupolioโ€ข3mo ago
Days since last Rust Minecraft server
Days since the last release of a Minecraft server software written in Rust.
Laupolio
Laupolioโ€ข3mo ago
Don't recommend rust servers, none are mature enough for production Honestly, none are mature enough for testing lol
TurboVadim
TurboVadimโ€ข3mo ago
Pumkin is the only mc server software in rust, that at least somehow playable
Bruhdows
BruhdowsOPโ€ข3mo ago
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
Swift
Swiftโ€ข3mo ago
Yeahโ€ฆ. gl
Snow Kit
Snow Kitโ€ข3mo ago
leaf patches are actually mit unless stated otherwise https://github.com/Winds-Studio/Leaf/blob/ver/1.21.7/LICENSE.md
ProGamingDk
ProGamingDkโ€ข3mo ago
not that it matters, he takes other peoples code without permission, stuff like caffeine cache without following license requirements
Snow Kit
Snow Kitโ€ข3mo ago
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.
No description
ProGamingDk
ProGamingDkโ€ข3mo ago
there was no mention of apache 2 etc being used nor no mention of it when they used caffeine
No description
Snow Kit
Snow Kitโ€ข3mo ago
it's literally still in the jar. That's all you legally need to have
ProGamingDk
ProGamingDkโ€ข3mo ago
the code is public on github doesnt it need to be there aswell? leaf wise
Snow Kit
Snow Kitโ€ข3mo ago
no, if you use a dependency, you only need to keep the license in the distributed files on github, they have no caffine code
ProGamingDk
ProGamingDkโ€ข3mo ago
i see
Snow Kit
Snow Kitโ€ข3mo ago
they also state the license in the patch, which isn't necessary at all (as the patch doesn't include any code from caffeine)
No description
ProGamingDk
ProGamingDkโ€ข3mo ago
they didnt before, that was after he was asked about it atleast not from what i recall at all
Snow Kit
Snow Kitโ€ข3mo ago
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

Did you find this page helpful?