Really low tps
Spark profile: https://spark.lucko.me/cziWrFoNo6
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
37 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by raptorcroissant#0
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
βINFO
You are using
Paper-450 (1.20.4)
. Latest currently is 1.20.6
.β Aikar's Flags
β ticks-per.monster-spawns
Increase this in bukkit.yml.
Recommended: 4.
β spawn-limits.monsters
Decrease this in bukkit.yml.
Recommended: 15.
β spawn-limits.water-ambient
Decrease this in bukkit.yml.
Recommended: 5.
β spawn-limits.ambient
Decrease this in bukkit.yml.
Recommended: 1.
β spawn-limits.animals
Decrease this in bukkit.yml.
Recommended: 5.
β entity-activation-range.animals
Decrease this in spigot.yml.
Recommended: 16.
β entity-activation-range.monsters
Decrease this in spigot.yml.
Recommended: 16.
β entity-activation-range.misc
Decrease this in spigot.yml.
Recommended: 12.
β entity-activation-range.water
Decrease this in spigot.yml.
Recommended: 12.
β entity-activation-range.villagers
Decrease this in spigot.yml.
Recommended: 16.
Plus 35 more recommendations
Click the buttons below to see more
Requested by raptorcroissant#0 β’ Page 1 of 4
- don't use citizens, use ZNPCSPlus
- use aikar flags
- you have 638 item frames you might want to solve
- your view & sim distance is too high, 8 view 6 sim max
passive mobs are taking up a decent chunk of the server thread
how can I do so?
oh alr alr
you know how to read a spark profiler to see entity counts & locations?
I kinda got it already set up. I'll do this the lastest thing of all
not really, got it like a week ago
:ThumbsUp: (iirc znpcsplus has a migrator for citizens)
- open the spark profiler
- at the top click the "i" information button
- in the box that comes up, click the World Tab
on the left is the world list with entity counts, and the top entity counts across all worlds
oh??
Looks like too many entities and worlds for your CPU to handle
Ya znpcsplus way better
on the right you can go through the regions and see where entities are
I'm here
in this instance there is 528 item frames in the first region
the "Chunks" is the CHUNK COORDINATES of the entities (highest to lowest entity count order)
damn I see I see
multiply these coords by 16 to get real world coords
Is there an easy way of limiting the entities per chunks?
then you can go how you want to go about telling players to yeet those item frames
will notify them, but how to limit them
!optimise
You can follow these guides to optimize your server
Admincraft Canned Responses
um probably this is the reason on why such a low tps
xD
adding rose stacker will fix that?
btw this is my current startup
java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}
Could be!
how would this look but with the aikar flags?
I don't understand what to change
I mean, I don't have any XmX in mine so idk what the value should be
https://www.spigotmc.org/resources/znpcs.80940/ this one?
No
Plus
oh
it doesn't support 1.20.6 yet so :Sad_cat:
https://www.spigotmc.org/resources/znpcsplus.109380/
java -Xms128M -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 -jar server.jar nogui
Would it look like thiss?
thankss :Heart5:
you kinda dont have memory flags here
you arent setting xmx
I didn't have it on my current one so idk what to set it to :Sad_cat:
Anyone? :P
it looks fine
other than^^
don't use alwayspretouch
what does that do?
it preallocates all the memory
oh
Thankss :Heart5:
I can't find it inside the plugin, is there a wiki to follow to migrate it?